/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_layout_algorithm.cpp | 59 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 D | progress_paint_method.cpp | 48 strokeWidth_ = std::min(strokeWidth_, length); in CalculateStrokeWidth() 52 if (strokeWidth_ >= length * HALF) { in CalculateStrokeWidth() 53 strokeWidth_ = length * HALF * HALF; in CalculateStrokeWidth()
|
H A D | progress_paint_method.h | 43 : 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 D | progress_pattern.cpp | 40 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 D | progress_layout_algorithm.h | 50 float strokeWidth_= 2.0f; member in OHOS::Ace::NG::ProgressLayoutAlgorithm
|
H A D | progress_pattern.h | 62 return MakeRefPtr<ProgressPaintMethod>(progressType_, strokeWidth_, progressModifier_); 164 float strokeWidth_ = Dimension(4.0_vp).ConvertToPx(); member in OHOS::Ace::NG::ProgressPattern
|
H A D | progress_modifier.cpp | 49 : 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 D | geometry_math_stroke.h | 59 : 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 D | divider_component.h | 58 return strokeWidth_; in GetStrokeWidth() 63 strokeWidth_ = strokeWidth; in SetStrokeWidth() 80 Dimension strokeWidth_ = Dimension(1.0); member in OHOS::Ace::DividerComponent
|
H A D | render_divider.cpp | 31 strokeWidth_ = divider->GetStrokeWidth(); in Update() 45 constrainStrokeWidth_ = GreatNotEqual(NormalizeToPx(strokeWidth_), 0.0) ? NormalizeToPx(strokeWidth_) : 0.0; in PerformLayout()
|
H A D | render_divider.h | 44 return strokeWidth_; in GetStrokeWidth() 56 Dimension strokeWidth_; member in OHOS::Ace::RenderDivider
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/ |
H A D | divider_modifier.cpp | 24 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 D | divider_modifier.h | 42 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 D | pattern_lock_component.cpp | 82 strokeWidth_ = lineWidth; in SetStrokeWidth() 86 return strokeWidth_; in GetStrokeWidth()
|
H A D | render_pattern_lock.h | 52 return strokeWidth_; in GetStrokeWidth() 131 Dimension strokeWidth_; member in OHOS::Ace::V2::RenderPatternLock
|
H A D | rosen_render_pattern_lock.cpp | 142 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 D | pattern_lock_component.h | 87 Dimension strokeWidth_ { DEFAULT_STROKE_WIDTH, DimensionUnit::VP };
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/ |
H A D | paint.h | 46 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 D | linear_indicator_pattern.h | 40 strokeWidth_ = theme_->GetDefaultStrokeWidth(); in LinearIndicatorPattern() 82 Dimension strokeWidth_; member in OHOS::Ace::NG::LinearIndicatorPattern
|
H A D | linear_indicator_pattern.cpp | 85 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 D | dom_progress.cpp | 190 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 D | dom_chart.cpp | 173 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 D | dom_progress.h | 63 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 D | data_panel_modifier.h | 134 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 D | gauge_modifier.h | 65 AttachProperty(strokeWidth_); in GaugeModifier() 137 RefPtr<AnimatablePropertyFloat> strokeWidth_; member in OHOS::Ace::NG::GaugeModifier
|