Home
last modified time | relevance | path

Searched refs:capsuleBorderWidth_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_paint_method.h69 capsuleBorderWidth_ = paintProperty->GetBorderWidth().value_or(capsuleBorderWidth_); in UpdateContentModifier()
83 progressModifier_->SetBorderWidth(capsuleBorderWidth_.ConvertToPx()); in UpdateContentModifier()
118 Dimension capsuleBorderWidth_ = Dimension(DEFAULT_BORDER_WIDTH, DimensionUnit::VP);
H A Dprogress_paint_method.cpp48 capsuleBorderWidth_ = progressTheme->GetBorderWidth(); in GetThemeData()
H A Dprogress_modifier.cpp73 capsuleBorderWidth_(AceType::MakeRefPtr<PropertyFloat>(DEFAULT_CAPSULE_BORDER_WIDTH)), in ProgressModifier()
93 AttachProperty(capsuleBorderWidth_); in ProgressModifier()
660 capsuleBorderWidth_->Set(width); in SetBorderWidth()
1446 auto borderWidth = capsuleBorderWidth_->Get(); in PaintCapsule()
1537 auto borderWidth = capsuleBorderWidth_->Get(); in PaintVerticalCapsule()
1644 offset.GetY() + endPos - SWEEP_WIDTH.ConvertToPx() + capsuleBorderWidth_->Get())), in PaintCapsuleLightSweep()
1646 …ntF(offset.GetX() + contentSize.Width() / 2, offset.GetY() + endPos - capsuleBorderWidth_->Get())), in PaintCapsuleLightSweep()
1651 … ? offset.GetX() + endPos - SWEEP_WIDTH.ConvertToPx() + capsuleBorderWidth_->Get() in PaintCapsuleLightSweep()
1652 … : offset.GetX() + contentSize.Width() - endPos + capsuleBorderWidth_->Get(), in PaintCapsuleLightSweep()
1654 … ToRSPoint(PointF(!isRightToLeft_->Get() ? offset.GetX() + endPos - capsuleBorderWidth_->Get() in PaintCapsuleLightSweep()
[all …]
H A Dprogress_modifier.h140 RefPtr<PropertyFloat> capsuleBorderWidth_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_modifier_test_ng.cpp515 EXPECT_EQ(progressModifier.capsuleBorderWidth_->Get(), 2.0);
522 EXPECT_EQ(progressModifier.capsuleBorderWidth_->Get(), 100.0);