/ohos5.0/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() 206 if (crossProduct != 0 && (crossProduct > 0) == (strokeWidth_ > 0)) { in CalcJoin() 394 strokeWidth_ = width * ALPHA_HALF; in SetWidth() 395 if (strokeWidth_ < 0) { in SetWidth() 396 strokeWidthUsingAbs_ = -strokeWidth_; in SetWidth() 399 strokeWidthUsingAbs_ = strokeWidth_; in SetWidth() 402 strokeWidthPercentDivision_ = strokeWidth_ / BUF_SIZE; in SetWidth() 418 return strokeWidth_ * TWO_TIMES; in GetWidth() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_layout_algorithm.cpp | 62 strokeWidth_ = progressLayoutProperty->GetStrokeWidth(). in MeasureContent() 63 … value_or(progressTheme ? progressTheme->GetTrackThickness() : Dimension(strokeWidth_)). in MeasureContent() 70 float height_ = selfIdealHeight.value_or(strokeWidth_); in MeasureContent() 92 height_ = std::min(height_, strokeWidth_); in MeasureContent() 94 width_ = std::min(width_, strokeWidth_); in MeasureContent() 109 strokeWidth_ = progressLayoutProperty->GetStrokeWidth(). in MeasureContentForApiNine() 111 … progressTheme->GetTrackThickness()): Dimension(strokeWidth_)).ConvertToPx(); in MeasureContentForApiNine() 120 float height_ = strokeWidth_ * 2.0f; in MeasureContentForApiNine() 144 strokeWidth_ = std::min(strokeWidth_, height_ / 2.0f); in MeasureContentForApiNine() 145 strokeWidth_ = std::min(strokeWidth_, width_ / 2.0f); in MeasureContentForApiNine() [all …]
|
H A D | progress_paint_method.cpp | 59 strokeWidth_ = std::min(strokeWidth_, length); in CalculateStrokeWidth() 63 if (strokeWidth_ >= length * HALF) { in CalculateStrokeWidth() 64 strokeWidth_ = length * HALF * HALF; in CalculateStrokeWidth()
|
H A D | progress_paint_method.h | 43 … : strokeWidth_(strokeWidth), progressType_(progressType), progressModifier_(progressModifier) in DECLARE_ACE_TYPE() 82 progressModifier_->SetStrokeWidth(strokeWidth_); in UpdateContentModifier() 99 …paintProperty->GetStrokeRadiusValue(Dimension(strokeWidth_ / 2.0f, DimensionUnit::VP)).ConvertToPx… in UpdateContentModifier() 100 strokeRadius = std::min(strokeWidth_ / 2, strokeRadius); in UpdateContentModifier() 113 float strokeWidth_ = 0.0f; variable
|
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_pattern.h | 62 return MakeRefPtr<ProgressPaintMethod>(progressType_, strokeWidth_, progressModifier_); in CreateNodePaintMethod() 162 float strokeWidth_ = Dimension(4.0_vp).ConvertToPx(); variable
|
H A D | progress_layout_algorithm.h | 50 float strokeWidth_= 2.0f; variable
|
H A D | progress_modifier.cpp | 84 AttachProperty(strokeWidth_); in ProgressModifier() 127 CHECK_NULL_VOID(strokeWidth_); in SetStrokeWidth() 128 strokeWidth_->Set(width); in SetStrokeWidth() 515 auto strokeWidth = strokeWidth_->Get(); in CalcRingProgressAdditionalAngle() 530 float radius = strokeWidth_->Get() / 2; in StartLinearSweepingAnimation() 744 float rightBottomY = strokeWidth_->Get() + offset.GetY(); in PaintLinear() 808 rightBottomY = offset.GetY() + strokeWidth_->Get(); in PaintLinearSweeping() 812 rightBottomX = offset.GetX() + strokeWidth_->Get(); in PaintLinearSweeping() 876 auto thickness = strokeWidth_->Get(); in PaintRing() 1356 double lengthOfScale = strokeWidth_->Get(); in PaintScaleRing() [all …]
|
/ohos5.0/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); variable
|
H A D | render_divider.cpp | 31 strokeWidth_ = divider->GetStrokeWidth(); in Update() 45 …constrainStrokeWidth_ = GreatNotEqual(NormalizeToPx(strokeWidth_), 0.0) ? NormalizeToPx(strokeWidt… in PerformLayout()
|
H A D | render_divider.h | 44 return strokeWidth_; in GetStrokeWidth() 56 Dimension strokeWidth_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/ |
H A D | divider_modifier.cpp | 28 strokeWidth_ = AceType::MakeRefPtr<AnimatablePropertyFloat>(0.0); in DividerModifier() 36 AttachProperty(strokeWidth_); in DividerModifier() 51 … 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_;
|
/ohos5.0/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 }; variable
|
/ohos5.0/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_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | pattern_lock_component.cpp | 83 strokeWidth_ = lineWidth; in SetStrokeWidth() 87 return strokeWidth_; in GetStrokeWidth()
|
H A D | render_pattern_lock.h | 52 return strokeWidth_; in GetStrokeWidth() 131 Dimension strokeWidth_; variable
|
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 };
|
/ohos5.0/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_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | shape.h | 126 strokeWidth_ = strokeWidth; in SetStrokeWidth() 131 return strokeWidth_; in GetStrokeWidth() 160 float strokeWidth_ = 0.0f; variable
|
/ohos5.0/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_; variable
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/common/ |
H A D | paint.cpp | 65 strokeWidth_ = paint.strokeWidth_; in Init()
|