Home
last modified time | relevance | path

Searched refs:GetStrokeWidth (Results 1 - 25 of 47) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Ddivider_composed_element.cpp28 { "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 Dpattern_lock_composed_element.cpp29 { "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 Dgauge_composed_element.cpp29 { "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 Dgauge_composed_element.h39 std::string GetStrokeWidth() const;
H A Dpattern_lock_composed_element.h39 std::string GetStrokeWidth() const;
H A Ddivider_composed_element.h37 std::string GetStrokeWidth() const;
H A Dshape_composed_element.h47 std::string GetStrokeWidth() const;
H A Dshape_container_composed_element.h48 std::string GetStrokeWidth() const;
/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_test_ng.cpp160 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 Dmenu_item_group_paint_method.cpp66 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 Dprogress_layout_algorithm.cpp59 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 Dprogress_layout_algorithm.h43 float GetStrokeWidth() const;
/foundation/arkui/ace_engine/frameworks/core/components/divider/
H A Drender_divider.h42 Dimension GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::RenderDivider
H A Ddivider_component.h56 const Dimension& GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::DividerComponent
H A Drender_divider.cpp31 strokeWidth_ = divider->GetStrokeWidth(); in Update()
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
H A Dpattern_lock_component.cpp84 const Dimension& PatternLockComponent::GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::PatternLockComponent
H A Dpattern_lock_component.h62 const Dimension& GetStrokeWidth() const;
H A Drender_pattern_lock.h50 const Dimension& GetStrokeWidth() const in GetStrokeWidth() function in OHOS::Ace::V2::RenderPatternLock
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_canvas.cpp369 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 Ddata_panel_paint_method.cpp40 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 Dmenu_item_paint_method.cpp55 info.strokeWidth = props->GetStrokeWidth().value_or(strokeWidth).ConvertToPxWithSize(itemSize.Height()); in GetOverlayDrawFunction()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
H A Ddivider_layout_algorithm.cpp37 Dimension strokeWidth = dividerLayoutProperty->GetStrokeWidth().value_or(defaultStrokeWidth); in MeasureContent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Dpolyline_pattern_test_ng.cpp69 if (!shapePaintProperty->HasStrokeWidth() || !NearZero(shapePaintProperty->GetStrokeWidth()->Value())) {
H A Dpolygon_pattern_test_ng.cpp69 if (!shapePaintProperty->HasStrokeWidth() || !NearZero(shapePaintProperty->GetStrokeWidth()->Value())) {
H A Dellipse_pattern_test_ng.cpp69 if (!shapePaintProperty->HasStrokeWidth() || !NearZero(shapePaintProperty->GetStrokeWidth()->Value())) {

Completed in 15 milliseconds

12