/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_animation_rate_decider.cpp | 31 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 D | progress_paint_method.h | 68 scaleWidth_ = paintProperty->GetScaleWidth().value_or(Dimension(scaleWidth_)).ConvertToPx(); in UpdateContentModifier() 89 progressModifier_->SetScaleWidth(scaleWidth_); in UpdateContentModifier() 114 float scaleWidth_ = 0.0f; variable
|
H A D | progress_paint_method.cpp | 45 scaleWidth_ = progressTheme->GetScaleWidth().ConvertToPx(); in GetThemeData()
|
H A D | progress_modifier.h | 137 RefPtr<PropertyFloat> scaleWidth_; variable
|
H A D | progress_modifier.cpp | 70 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 D | drag_bar_paint_method.h | 40 scaleWidth_ = scaleWidth; in SetScaleWidth() 50 float scaleWidth_ = 1.0f; variable
|
H A D | drag_bar_pattern.h | 63 paintMethod->SetScaleWidth(scaleWidth_); in CreateNodePaintMethod() 127 float scaleWidth_ = 1.0f; variable
|
H A D | drag_bar_paint_method.cpp | 78 pen.SetWidth(BAR_WIDTH.ConvertToPx() * scaleWidth_); in Paint() 81 auto scaleRatio = scaleWidth_ - 1.0f; in Paint()
|
H A D | drag_bar_pattern.cpp | 107 dragBar->scaleWidth_ = value; in InitProps()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_progress.cpp | 178 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 D | dom_progress.h | 64 std::pair<Dimension, bool> scaleWidth_ = { 2.0_vp, false }; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/ |
H A D | track_component.h | 76 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 D | progress_theme.h | 71 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 D | rosen_render_drag_bar.cpp | 71 skPaint.setStrokeWidth(barWidth_ * scaleY_ * scaleWidth_); in Paint() 102 pen.SetWidth(barWidth_ * scaleY_ * scaleWidth_); in Paint()
|
H A D | render_drag_bar.h | 97 double scaleWidth_ = 1.0; variable
|
H A D | render_drag_bar.cpp | 72 … 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 D | rs_animation_rate_decider.h | 50 float scaleWidth_ = 0.0f; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/ |
H A D | progress_modifier_test_ng.cpp | 62 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 D | progress_builder_test_ng.cpp | 113 progressTheme->scaleWidth_ = TEST_PROGRESS_SCALE_WIDTH; in SetUpTestSuite()
|
H A D | progress_test_ng.cpp | 41 progressTheme->scaleWidth_ = TEST_PROGRESS_SCALE_WIDTH; in SetUpTestSuite()
|
H A D | progress_content_modifier_test_ng.cpp | 114 progressTheme->scaleWidth_ = TEST_PROGRESS_SCALE_WIDTH; in SetUpTestSuite()
|