Home
last modified time | relevance | path

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

/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; member in OHOS::Ace::NG::DragBarPaintMethod
H A Ddrag_bar_pattern.h63 paintMethod->SetScaleWidth(scaleWidth_);
127 float scaleWidth_ = 1.0f; member in OHOS::Ace::NG::DragBarPattern
H A Ddrag_bar_paint_method.cpp72 pen.SetWidth(BAR_WIDTH.ConvertToPx() * scaleWidth_); in Paint()
75 auto scaleRatio = scaleWidth_ - 1.0f; in Paint()
H A Ddrag_bar_pattern.cpp100 dragBar->scaleWidth_ = value; in InitProps()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_paint_method.h68 scaleWidth_ = paintProperty->GetScaleWidth().value_or(Dimension(scaleWidth_)).ConvertToPx();
89 progressModifier_->SetScaleWidth(scaleWidth_);
114 float scaleWidth_ = 0.0f; member in OHOS::Ace::NG::ProgressPaintMethod
H A Dprogress_paint_method.cpp34 scaleWidth_ = progressTheme->GetScaleWidth().ConvertToPx(); in GetThemeData()
H A Dprogress_modifier.h137 RefPtr<PropertyFloat> scaleWidth_; member in OHOS::Ace::NG::ProgressModifier
H A Dprogress_modifier.cpp63 scaleWidth_(AceType::MakeRefPtr<PropertyFloat>(DEFAULT_SCALE_WIDTH)), in ProgressModifier()
83 AttachProperty(scaleWidth_); in ProgressModifier()
629 CHECK_NULL_VOID(scaleWidth_); in SetScaleWidth()
630 scaleWidth_->Set(value); in SetScaleWidth()
1351 if (scaleWidth_->Get() > pathDistance) { in PaintScaleRing()
1355 double widthOfLine = scaleWidth_->Get(); in PaintScaleRing()
1721 auto scaleWidth = scaleWidth_->Get(); in PaintScaleRingForApiNine()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_rate_decider.cpp32 scaleWidth_ = width; in SetScaleReferenceSize()
137 float velocityX = data[0] * scaleWidth_; in ProcessVector2f()
153 float height = ROSEN_GE(scaleHeight_, scaleWidth_) ? scaleHeight_ : scaleWidth_; in ProcessFloat()
/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_; member in OHOS::Ace::RingTrackInfo
/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 }; member in OHOS::Ace::Framework::final
/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; member in OHOS::Ace::RenderDragBar
H A Drender_drag_bar.cpp72 dragBar->scaleWidth_ = 1.0 + (value - 1.0) / (SCALE_ICON - 1.0) * (SCALE_WIDTH - 1.0); in Update()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_animation_rate_decider.h50 float scaleWidth_ = 0.0f; member in OHOS::Rosen::RSAnimationRateDecider
/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_; member in OHOS::Ace::ProgressTheme
/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_modifier_test_ng.cpp62 EXPECT_EQ(progressModifier.scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE); in HWTEST_F()
146 EXPECT_EQ(progressModifier.scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE); in HWTEST_F()
177 EXPECT_EQ(progressModifier.scaleWidth_->Get(), 0); in HWTEST_F()
217 EXPECT_EQ(progressModifier.scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE); in HWTEST_F()
293 EXPECT_EQ(progressModifier.scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE); in HWTEST_F()
742 EXPECT_EQ(progressModifier->scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE); in HWTEST_F()
806 EXPECT_EQ(progressModifier->scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE); in HWTEST_F()
994 EXPECT_EQ(progressModifier->scaleWidth_->Get(), PROGRESS_MODIFIER_VALUE); in HWTEST_F()
1108 EXPECT_EQ(modifier->scaleWidth_->Get(), 3.f); in HWTEST_F()
1579 EXPECT_EQ(progressModifier->scaleWidth_ in HWTEST_F()
[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()

Completed in 19 milliseconds