/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | divider_composed_element.cpp | 28 { "strokeWidth", [](const DividerComposedElement& inspector) { return inspector.GetStrokeWidth(); } }, 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 | 29 { "pathStrokeWidth", [](const PatternLockComposedElement& inspector) { return inspector.GetStrokeWidth(); } }, 50 std::string("pathStrokeWidth: ").append(GetStrokeWidth())); in Dump() 142 std::string PatternLockComposedElement::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::PatternLockComposedElement 150 return renderPatternLock->GetStrokeWidth().ToString(); in GetStrokeWidth()
|
H A D | gauge_composed_element.cpp | 29 { "strokeWidth", [](const GaugeComposedElement& inspector) { return inspector.GetStrokeWidth(); } }, 42 DumpLog::GetInstance().AddDesc(std::string("strokeWidth: ").append(GetStrokeWidth())); in Dump() 102 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 | pattern_lock_composed_element.h | 39 std::string GetStrokeWidth() const;
|
H A D | divider_composed_element.h | 37 std::string GetStrokeWidth() const;
|
H A D | shape_composed_element.h | 47 std::string GetStrokeWidth() const;
|
H A D | shape_container_composed_element.h | 48 std::string GetStrokeWidth() const;
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/ |
H A D | progress_test_ng.cpp | 160 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 234 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 242 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 250 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 294 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), LARG_STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 303 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), LARG_STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 358 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 427 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), TEST_PROGRESS_STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 469 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDTH.ConvertToPx()); in HWTEST_F() 810 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), STROKE_WIDT in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/ |
H A D | menu_item_group_paint_method.cpp | 66 if (props->GetStrokeWidth()->Unit() != DimensionUnit::INVALID) { in PreparePaintData() 67 info.strokeWidth = props->GetStrokeWidth().value_or(strokeWidth).ConvertToPxWithSize(groupSize.Height()); in PreparePaintData()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_layout_algorithm.cpp | 59 strokeWidth_ = progressLayoutProperty->GetStrokeWidth(). in MeasureContent() 106 strokeWidth_ = progressLayoutProperty->GetStrokeWidth(). in MeasureContentForApiNine() 152 float ProgressLayoutAlgorithm::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::NG::ProgressLayoutAlgorithm
|
H A D | progress_layout_algorithm.h | 43 float GetStrokeWidth() const;
|
/foundation/arkui/ace_engine/frameworks/core/components/divider/ |
H A D | render_divider.h | 42 Dimension GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::RenderDivider
|
H A D | divider_component.h | 56 const Dimension& GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::DividerComponent
|
H A D | render_divider.cpp | 31 strokeWidth_ = divider->GetStrokeWidth(); in Update()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | pattern_lock_component.cpp | 84 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;
|
H A D | render_pattern_lock.h | 50 const Dimension& GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::RenderPatternLock
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_canvas.cpp | 369 if (paint.GetStrokeWidth() > MAX_CURVE_WIDTH) { in DrawCurve() 1056 BaseGfxEngine::GetInstance()->DrawLine(gfxDstBuffer, start, end, invalidatedArea, paint.GetStrokeWidth(), in DoDrawLine() 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() in DoDrawLineJoin() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/ |
H A D | data_panel_paint_method.cpp | 40 auto strokeWidth = paintProperty->GetStrokeWidth().value_or(theme->GetThickness()).ConvertToPx(); in UpdateContentModifier()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_paint_method.cpp | 55 info.strokeWidth = props->GetStrokeWidth().value_or(strokeWidth).ConvertToPxWithSize(itemSize.Height()); in GetOverlayDrawFunction()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/ |
H A D | divider_layout_algorithm.cpp | 37 Dimension strokeWidth = dividerLayoutProperty->GetStrokeWidth().value_or(defaultStrokeWidth); in MeasureContent()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/ |
H A D | polyline_pattern_test_ng.cpp | 69 if (!shapePaintProperty->HasStrokeWidth() || !NearZero(shapePaintProperty->GetStrokeWidth()->Value())) {
|
H A D | polygon_pattern_test_ng.cpp | 69 if (!shapePaintProperty->HasStrokeWidth() || !NearZero(shapePaintProperty->GetStrokeWidth()->Value())) {
|
H A D | ellipse_pattern_test_ng.cpp | 69 if (!shapePaintProperty->HasStrokeWidth() || !NearZero(shapePaintProperty->GetStrokeWidth()->Value())) {
|