/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | divider_composed_element.cpp | 28 …{ "strokeWidth", [](const DividerComposedElement& inspector) { return inspector.GetStrokeWidth(); … in __anonb2e5b0a30402() 42 std::string("strokeWidth: ").append(GetStrokeWidth().c_str())); in Dump() 70 std::string DividerComposedElement::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::DividerComposedElement 73 auto strokeWidth = renderDivider ? renderDivider->GetStrokeWidth() : Dimension(1.0); in GetStrokeWidth()
|
H A D | pattern_lock_composed_element.cpp | 33 …keWidth", [](const PatternLockComposedElement& inspector) { return inspector.GetStrokeWidth(); } }, in __anon7884fda20802() 54 std::string("pathStrokeWidth: ").append(GetStrokeWidth())); in Dump() 146 std::string PatternLockComposedElement::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::PatternLockComposedElement 154 return renderPatternLock->GetStrokeWidth().ToString(); in GetStrokeWidth()
|
H A D | gauge_composed_element.cpp | 32 …{ "strokeWidth", [](const GaugeComposedElement& inspector) { return inspector.GetStrokeWidth(); } … in __anon021f30250702() 45 DumpLog::GetInstance().AddDesc(std::string("strokeWidth: ").append(GetStrokeWidth())); in Dump() 105 std::string GaugeComposedElement::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::GaugeComposedElement
|
H A D | gauge_composed_element.h | 39 std::string GetStrokeWidth() const;
|
H A D | divider_composed_element.h | 37 std::string GetStrokeWidth() const;
|
H A D | pattern_lock_composed_element.h | 39 std::string GetStrokeWidth() const;
|
H A D | shape_container_composed_element.h | 48 std::string GetStrokeWidth() const;
|
H A D | shape_composed_element.h | 47 std::string GetStrokeWidth() const;
|
H A D | shape_container_composed_element.cpp | 37 …idth", [](const ShapeContainerComposedElement& inspector) { return inspector.GetStrokeWidth(); } }, in __anona2101dcf0a02() 199 std::string ShapeContainerComposedElement::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::ShapeContainerComposedElement
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/ |
H A D | progress_test_ng.cpp | 234 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); 242 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); 250 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); 294 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), LARG_STROKE_WIDTH.ConvertToPx()); 303 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), LARG_STROKE_WIDTH.ConvertToPx()); 358 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); 469 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); 810 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); 951 EXPECT_EQ(layoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx()); 1002 EXPECT_EQ(layoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx()); [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() 109 strokeWidth_ = progressLayoutProperty->GetStrokeWidth(). in MeasureContentForApiNine() 155 float ProgressLayoutAlgorithm::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::NG::ProgressLayoutAlgorithm
|
H A D | progress_layout_algorithm.h | 43 float GetStrokeWidth() const;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/ |
H A D | menu_item_group_paint_method.cpp | 73 if (props->GetStrokeWidth()->Unit() != DimensionUnit::INVALID) { in PreparePaintData() 74 …info.strokeWidth = props->GetStrokeWidth().value_or(strokeWidth).ConvertToPxWithSize(groupSize.Hei… in PreparePaintData()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_canvas.cpp | 369 if (paint.GetStrokeWidth() > MAX_CURVE_WIDTH) { in DrawCurve() 1086 paint.GetStrokeWidth(), in DoDrawCurve() 1107 int16_t lineWidth = static_cast<int16_t>(paint.GetStrokeWidth()); in DoDrawRect() 1156 int16_t lineWidth = enableStroke ? paint.GetStrokeWidth() : 0; in DoFillRect() 1196 uint16_t halfLineWidth = enableStroke ? (paint.GetStrokeWidth() >> 1) : 0; in DoDrawCircle() 1208 drawStyle.lineWidth_ = static_cast<int16_t>(paint.GetStrokeWidth()); in DoDrawCircle() 1232 drawStyle.lineWidth_ = static_cast<int16_t>(paint.GetStrokeWidth()); in DoDrawArc() 1235 arcInfo.radius = arcParam->radius + ((paint.GetStrokeWidth() + 1) >> 1); in DoDrawArc() 1296 arcinfo.radius = (paint.GetStrokeWidth() + 1) >> 1; in DoDrawLineJoin() 1302 style.lineWidth_ = static_cast<int16_t>(paint.GetStrokeWidth()); in DoDrawLineJoin() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/divider/ |
H A D | render_divider.h | 42 Dimension GetStrokeWidth() const in GetStrokeWidth() function
|
H A D | divider_component.h | 56 const Dimension& GetStrokeWidth() const in GetStrokeWidth() function
|
H A D | render_divider.cpp | 31 strokeWidth_ = divider->GetStrokeWidth(); in Update()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A D | gauge_modifier.cpp | 105 if (paintProperty->GetStrokeWidth().has_value()) { in InitProperty() 106 strokeWidth = paintProperty->GetStrokeWidth()->ConvertToPx(); in InitProperty() 151 if (paintProperty->GetStrokeWidth().has_value()) { in UpdateProperty() 152 float strokeWidth = paintProperty->GetStrokeWidth()->ConvertToPx(); in UpdateProperty() 226 if (paintProperty->GetStrokeWidth().has_value() in PaintCircularAndIndicator() 227 && paintProperty->GetStrokeWidth()->Value() > 0) { in PaintCircularAndIndicator() 229 std::min(static_cast<float>(paintProperty->GetStrokeWidth()->ConvertToPx()), in PaintCircularAndIndicator() 721 if (paintProperty->HasStrokeWidth() && (paintProperty->GetStrokeWidth()->Value() > 0)) { in CalculateStartAndSweepDegree() 722 … data.thickness = std::min(static_cast<float>(paintProperty->GetStrokeWidth()->ConvertToPx()), in CalculateStartAndSweepDegree()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | pattern_lock_component.cpp | 85 const Dimension& PatternLockComponent::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::PatternLockComponent
|
H A D | pattern_lock_component.h | 62 const Dimension& GetStrokeWidth() const;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | sk_painter.cpp | 74 if (NearZero(shapePaintProperty.GetStrokeWidth()->Value())) { in SetPen() 148 if (NearZero(shapePaintProperty.GetStrokeWidth()->Value())) { in SetPen()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_paint_method.cpp | 59 …info.strokeWidth = props->GetStrokeWidth().value_or(strokeWidth).ConvertToPxWithSize(itemSize.Heig… in GetOverlayDrawFunction()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/ |
H A D | divider_layout_algorithm.cpp | 39 Dimension strokeWidth = dividerLayoutProperty->GetStrokeWidth().value_or(defaultStrokeWidth); in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/ |
H A D | data_panel_paint_method.cpp | 41 … auto strokeWidth = paintProperty->GetStrokeWidth().value_or(theme->GetThickness()).ConvertToPx(); in UpdateContentModifier()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/ |
H A D | ellipse_pattern_test_ng.cpp | 69 …if (!shapePaintProperty->HasStrokeWidth() || !NearZero(shapePaintProperty->GetStrokeWidth()->Value… in Draw()
|