Home
last modified time | relevance | path

Searched refs:scaleWidth_ (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_rate_decider.cpp31 scaleWidth_ = width; in SetScaleReferenceSize()
134 float velocityX = data[0] * scaleWidth_; in ProcessVector2f()
150 float height = ROSEN_GE(scaleHeight_, scaleWidth_) ? scaleHeight_ : scaleWidth_; in ProcessFloat()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_paint_method.h68 scaleWidth_ = paintProperty->GetScaleWidth().value_or(Dimension(scaleWidth_)).ConvertToPx(); in UpdateContentModifier()
89 progressModifier_->SetScaleWidth(scaleWidth_); in UpdateContentModifier()
114 float scaleWidth_ = 0.0f; variable
H A Dprogress_paint_method.cpp45 scaleWidth_ = progressTheme->GetScaleWidth().ConvertToPx(); in GetThemeData()
H A Dprogress_modifier.h137 RefPtr<PropertyFloat> scaleWidth_; variable
H A Dprogress_modifier.cpp70 scaleWidth_(AceType::MakeRefPtr<PropertyFloat>(DEFAULT_SCALE_WIDTH)), in ProgressModifier()
90 AttachProperty(scaleWidth_); in ProgressModifier()
636 CHECK_NULL_VOID(scaleWidth_); in SetScaleWidth()
637 scaleWidth_->Set(value); in SetScaleWidth()
1358 if (scaleWidth_->Get() > pathDistance) { in PaintScaleRing()
1362 double widthOfLine = scaleWidth_->Get(); in PaintScaleRing()
1728 auto scaleWidth = scaleWidth_->Get(); in PaintScaleRingForApiNine()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
H A Ddrag_bar_paint_method.h40 scaleWidth_ = scaleWidth; in SetScaleWidth()
50 float scaleWidth_ = 1.0f; variable
H A Ddrag_bar_pattern.h63 paintMethod->SetScaleWidth(scaleWidth_); in CreateNodePaintMethod()
127 float scaleWidth_ = 1.0f; variable
H A Ddrag_bar_paint_method.cpp78 pen.SetWidth(BAR_WIDTH.ConvertToPx() * scaleWidth_); in Paint()
81 auto scaleRatio = scaleWidth_ - 1.0f; in Paint()
H A Ddrag_bar_pattern.cpp107 dragBar->scaleWidth_ = value; in InitProps()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_progress.cpp178 progress.scaleWidth_.first = progress.ParseDimension(val); in SetSpecializedStyle()
179 progress.scaleWidth_.second = true; in SetSpecializedStyle()
237 info->SetScaleWidth(scaleWidth_.first); in PrepareSpecializedComponent()
337 if (!scaleWidth_.second) { in InitProgressIfNeed()
338 scaleWidth_.first = theme->GetScaleWidth(); in InitProgressIfNeed()
H A Ddom_progress.h64 std::pair<Dimension, bool> scaleWidth_ = { 2.0_vp, false }; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Dtrack_component.h76 scaleWidth_ = width; in SetScaleWidth()
136 return scaleWidth_; in GetScaleWidth()
154 Dimension scaleWidth_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Dprogress_theme.h71 theme->scaleWidth_ = pattern->GetAttr<Dimension>("progress_scale_width", 0.0_vp); in ParsePattern()
181 return scaleWidth_; in GetScaleWidth()
352 Dimension scaleWidth_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/drag_bar/
H A Drosen_render_drag_bar.cpp71 skPaint.setStrokeWidth(barWidth_ * scaleY_ * scaleWidth_); in Paint()
102 pen.SetWidth(barWidth_ * scaleY_ * scaleWidth_); in Paint()
H A Drender_drag_bar.h97 double scaleWidth_ = 1.0; variable
H A Drender_drag_bar.cpp72 … dragBar->scaleWidth_ = 1.0 + (value - 1.0) / (SCALE_ICON - 1.0) * (SCALE_WIDTH - 1.0); in Update()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_animation_rate_decider.h50 float scaleWidth_ = 0.0f; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_modifier_test_ng.cpp62 EXPECT_EQ(progressModifier.scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE);
146 EXPECT_EQ(progressModifier.scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE);
177 EXPECT_EQ(progressModifier.scaleWidth_->Get(), 0);
217 EXPECT_EQ(progressModifier.scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE);
293 EXPECT_EQ(progressModifier.scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE);
742 EXPECT_EQ(progressModifier->scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE);
806 EXPECT_EQ(progressModifier->scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE);
994 EXPECT_EQ(progressModifier->scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE);
1108 EXPECT_EQ(modifier->scaleWidth_->Get(), 3.f);
1579 EXPECT_EQ(progressModifier->scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE);
[all …]
H A Dprogress_builder_test_ng.cpp113 progressTheme->scaleWidth_ = TEST_PROGRESS_SCALE_WIDTH; in SetUpTestSuite()
H A Dprogress_test_ng.cpp41 progressTheme->scaleWidth_ = TEST_PROGRESS_SCALE_WIDTH; in SetUpTestSuite()
H A Dprogress_content_modifier_test_ng.cpp114 progressTheme->scaleWidth_ = TEST_PROGRESS_SCALE_WIDTH; in SetUpTestSuite()