Home
last modified time | relevance | path

Searched refs:strokeWidth_ (Results 1 - 25 of 37) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_layout_algorithm.cpp59 strokeWidth_ = progressLayoutProperty->GetStrokeWidth(). in MeasureContent()
60 value_or(progressTheme ? progressTheme->GetTrackThickness() : Dimension(strokeWidth_)). in MeasureContent()
67 float height_ = selfIdealHeight.value_or(strokeWidth_); in MeasureContent()
89 height_ = std::min(height_, strokeWidth_); in MeasureContent()
91 width_ = std::min(width_, strokeWidth_); in MeasureContent()
106 strokeWidth_ = progressLayoutProperty->GetStrokeWidth(). in MeasureContentForApiNine()
108 progressTheme->GetTrackThickness()): Dimension(strokeWidth_)).ConvertToPx(); in MeasureContentForApiNine()
117 float height_ = strokeWidth_ * 2.0f; in MeasureContentForApiNine()
141 strokeWidth_ = std::min(strokeWidth_, height in MeasureContentForApiNine()
[all...]
H A Dprogress_paint_method.cpp48 strokeWidth_ = std::min(strokeWidth_, length); in CalculateStrokeWidth()
52 if (strokeWidth_ >= length * HALF) { in CalculateStrokeWidth()
53 strokeWidth_ = length * HALF * HALF; in CalculateStrokeWidth()
H A Dprogress_paint_method.h43 : strokeWidth_(strokeWidth), progressType_(progressType), progressModifier_(progressModifier) in ProgressPaintMethod()
82 progressModifier_->SetStrokeWidth(strokeWidth_);
99 paintProperty->GetStrokeRadiusValue(Dimension(strokeWidth_ / 2.0f, DimensionUnit::VP)).ConvertToPx());
100 strokeRadius = std::min(strokeWidth_ / 2, strokeRadius);
113 float strokeWidth_ = 0.0f; member in OHOS::Ace::NG::ProgressPaintMethod
H A Dprogress_pattern.cpp40 strokeWidth_ = progressLayoutAlgorithm->GetStrokeWidth(); in OnDirtyLayoutWrapperSwap()
79 paintProperty->GetStrokeRadiusValue(Dimension(strokeWidth_ / 2, DimensionUnit::VP)).ConvertToPx()); in InitAnimatableProperty()
80 strokeRadius = std::min(strokeWidth_ / 2, strokeRadius); in InitAnimatableProperty()
89 progressAnimatableProperty.strokeWidth = strokeWidth_; in InitAnimatableProperty()
105 strokeWidth_ = std::min(strokeWidth_, length); in CalculateStrokeWidth()
109 if (strokeWidth_ >= radius) { in CalculateStrokeWidth()
110 strokeWidth_ = radius / 2; in CalculateStrokeWidth()
H A Dprogress_layout_algorithm.h50 float strokeWidth_= 2.0f; member in OHOS::Ace::NG::ProgressLayoutAlgorithm
H A Dprogress_pattern.h62 return MakeRefPtr<ProgressPaintMethod>(progressType_, strokeWidth_, progressModifier_);
164 float strokeWidth_ = Dimension(4.0_vp).ConvertToPx(); member in OHOS::Ace::NG::ProgressPattern
H A Dprogress_modifier.cpp49 : strokeWidth_(AceType::MakeRefPtr<AnimatablePropertyFloat>(progressAnimatableProperty_.strokeWidth)), in ProgressModifier()
77 AttachProperty(strokeWidth_); in ProgressModifier()
120 CHECK_NULL_VOID(strokeWidth_); in SetStrokeWidth()
121 strokeWidth_->Set(width); in SetStrokeWidth()
508 auto strokeWidth = strokeWidth_->Get(); in CalcRingProgressAdditionalAngle()
523 float radius = strokeWidth_->Get() / 2; in StartLinearSweepingAnimation()
542 float date = dateLength + strokeWidth_->Get() + LINEAR_SWEEPING_LEN.ConvertToPx(); in StartLinearSweepingAnimation()
719 strokeWidth_->Get() + offset.GetY() }, in PaintLinear()
737 float rightBottomY = strokeWidth_->Get() + offset.GetY(); in PaintLinear()
749 { { offset.GetX(), offset.GetY(), strokeWidth_ in PaintLinear()
[all...]
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_math_stroke.h59 : strokeWidth_(ALPHA_HALF), in GeometryMathStroke()
106 dx1 *= strokeWidth_; in CalcCap()
107 dy1 *= strokeWidth_; in CalcCap()
129 AddVertex(vertexConsumer, vd0.vertexXCoord + Cos(angleStart * RADIAN_TO_ANGLE) * strokeWidth_, in CalcCap()
130 vd0.vertexYCoord + Sin(angleStart * RADIAN_TO_ANGLE) * strokeWidth_); in CalcCap()
137 AddVertex(vertexConsumer, vd0.vertexXCoord + Cos(angleStart * RADIAN_TO_ANGLE) * strokeWidth_, in CalcCap()
138 vd0.vertexYCoord + Sin(angleStart * RADIAN_TO_ANGLE) * strokeWidth_); in CalcCap()
188 dx1 = strokeWidth_ * (vertexDistMiddle.vertexYCoord - vertexDistBegin.vertexYCoord) / deltaLengthPrev; in CalcJoin()
189 dy1 = strokeWidth_ * (vertexDistMiddle.vertexXCoord - vertexDistBegin.vertexXCoord) / deltaLengthPrev; in CalcJoin()
194 dx2 = strokeWidth_ * (vertexDistLas in CalcJoin()
435 float strokeWidth_; global() member in OHOS::GeometryMathStroke
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/divider/
H A Ddivider_component.h58 return strokeWidth_; in GetStrokeWidth()
63 strokeWidth_ = strokeWidth; in SetStrokeWidth()
80 Dimension strokeWidth_ = Dimension(1.0); member in OHOS::Ace::DividerComponent
H A Drender_divider.cpp31 strokeWidth_ = divider->GetStrokeWidth(); in Update()
45 constrainStrokeWidth_ = GreatNotEqual(NormalizeToPx(strokeWidth_), 0.0) ? NormalizeToPx(strokeWidth_) : 0.0; in PerformLayout()
H A Drender_divider.h44 return strokeWidth_; in GetStrokeWidth()
56 Dimension strokeWidth_; member in OHOS::Ace::RenderDivider
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
H A Ddivider_modifier.cpp24 strokeWidth_ = AceType::MakeRefPtr<AnimatablePropertyFloat>(0.0); in DividerModifier()
32 AttachProperty(strokeWidth_); in DividerModifier()
47 strokeWidth_->Get(), dividerLength_->Get(), vertical_->Get(), color_->Get().ToColor(), lineCap); in onDraw()
H A Ddivider_modifier.h42 strokeWidth_->Set(strokeWidth); in SetStrokeWidth()
71 RefPtr<AnimatablePropertyFloat> strokeWidth_; member in OHOS::Ace::NG::DividerModifier
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
H A Dpattern_lock_component.cpp82 strokeWidth_ = lineWidth; in SetStrokeWidth()
86 return strokeWidth_; in GetStrokeWidth()
H A Drender_pattern_lock.h52 return strokeWidth_; in GetStrokeWidth()
131 Dimension strokeWidth_; member in OHOS::Ace::V2::RenderPatternLock
H A Drosen_render_pattern_lock.cpp142 if (LessOrEqual(strokeWidth_.Value(), 0.0)) { in PaintLockLine()
156 skPaintStroke.setStrokeWidth(NormalizeToPx(strokeWidth_)); in PaintLockLine()
192 if (LessOrEqual(strokeWidth_.Value(), 0.0)) { in PaintLockLine()
208 penStroke.SetWidth(NormalizeToPx(strokeWidth_)); in PaintLockLine()
H A Dpattern_lock_component.h87 Dimension strokeWidth_ { DEFAULT_STROKE_WIDTH, DimensionUnit::VP };
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dpaint.h46 strokeWidth_(DEFAULT_STROKE_WIDTH), in Paint()
247 strokeWidth_ = width; in SetStrokeWidth()
260 return strokeWidth_; in GetStrokeWidth()
737 uint16_t strokeWidth_; member in OHOS::Paint
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/
H A Dlinear_indicator_pattern.h40 strokeWidth_ = theme_->GetDefaultStrokeWidth(); in LinearIndicatorPattern()
82 Dimension strokeWidth_; member in OHOS::Ace::NG::LinearIndicatorPattern
H A Dlinear_indicator_pattern.cpp85 if (strokeWidth != strokeWidth_) { in IsChangeLayoutPropertyAndUpdate()
86 strokeWidth_ = strokeWidth; in IsChangeLayoutPropertyAndUpdate()
118 progressLayoutProperty->UpdateStrokeWidth(strokeWidth_); in UpdateProgressNodeAtIndex()
137 progressLayoutProperty->UpdateStrokeWidth(strokeWidth_); in AddProgressNode()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_progress.cpp190 progress.strokeWidth_.first = progress.ParseDimension(val); in SetSpecializedStyle()
191 progress.strokeWidth_.second = true; in SetSpecializedStyle()
224 progressChild_->GetTrack()->SetTrackThickness(strokeWidth_.first); in PrepareSpecializedComponent()
328 if (!strokeWidth_.second) { in InitProgressIfNeed()
330 strokeWidth_.first = theme->GetScaleLength(); in InitProgressIfNeed()
332 strokeWidth_.first = theme->GetRingThickness(); in InitProgressIfNeed()
334 strokeWidth_.first = theme->GetTrackThickness(); in InitProgressIfNeed()
H A Ddom_chart.cpp173 chart.strokeWidth_.first = chart.ParseDimension(val); in SetSpecializedStyle()
174 chart.strokeWidth_.second = true; in SetSpecializedStyle()
330 progressChild_->GetTrack()->SetTrackThickness(strokeWidth_.first); in PrepareSpecializedComponent()
370 if (strokeWidth_.second) { in PrepareSpecializedComponent()
371 dataPanelChild_->SetThickness(strokeWidth_.first); in PrepareSpecializedComponent()
393 if (strokeWidth_.second) { in PrepareSpecializedComponent()
394 dataPanelChild_->SetThickness(strokeWidth_.first); in PrepareSpecializedComponent()
H A Ddom_progress.h63 std::pair<Dimension, bool> strokeWidth_ = { 32.0_px, false }; member in OHOS::Ace::Framework::final
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_modifier.h134 strokeWidth_->Set(strokeWidth); in SetStrokeWidth()
212 RefPtr<AnimatablePropertyFloat> strokeWidth_; member in OHOS::Ace::NG::DataPanelModifier
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_modifier.h65 AttachProperty(strokeWidth_); in GaugeModifier()
137 RefPtr<AnimatablePropertyFloat> strokeWidth_; member in OHOS::Ace::NG::GaugeModifier

Completed in 16 milliseconds

12