Home
last modified time | relevance | path

Searched refs:GetCornerRadius (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dfocus_state_modifier.h71 rect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).x, in SetRoundRect()
72 rect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).y); in SetRoundRect()
74 rect.GetCornerRadius(RoundRect::CornerPos::TOP_RIGHT_POS).x, in SetRoundRect()
75 rect.GetCornerRadius(RoundRect::CornerPos::TOP_RIGHT_POS).y); in SetRoundRect()
86 rect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).x, in SetRoundRect()
87 rect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).y); in SetRoundRect()
89 rect.GetCornerRadius(RoundRect::CornerPos::TOP_RIGHT_POS).x, in SetRoundRect()
90 rect.GetCornerRadius(RoundRect::CornerPos::TOP_RIGHT_POS).y); in SetRoundRect()
102 rect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).x, in SetRoundRect()
103 rect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).y); in SetRoundRect()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Dround_rect_test.cpp113 ASSERT_EQ(roundRect->GetCornerRadius(Drawing::RoundRect::TOP_RIGHT_POS).GetX(), 111.3f);
114 ASSERT_EQ(roundRect->GetCornerRadius(Drawing::RoundRect::TOP_RIGHT_POS).GetY(), 84.5f);
129 ASSERT_EQ(roundRect->GetCornerRadius(Drawing::RoundRect::BOTTOM_RIGHT_POS).GetX(), 120.0f);
130 ASSERT_EQ(roundRect->GetCornerRadius(Drawing::RoundRect::BOTTOM_RIGHT_POS).GetY(), 90.5f);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_border.cpp620 Drawing::Point tlRad = borderGeo.rrect.GetCornerRadius(Drawing::RoundRect::TOP_LEFT_POS); in DrawTopBorder()
621 Drawing::Point trRad = borderGeo.rrect.GetCornerRadius(Drawing::RoundRect::TOP_RIGHT_POS); in DrawTopBorder()
649 Drawing::Point trRad = borderGeo.rrect.GetCornerRadius(Drawing::RoundRect::TOP_RIGHT_POS); in DrawRightBorder()
704 Drawing::Point tlRad = borderGeo.rrect.GetCornerRadius(Drawing::RoundRect::TOP_LEFT_POS); in DrawLeftBorder()
741 Drawing::Point tlRad = rrect.GetCornerRadius(Drawing::RoundRect::TOP_LEFT_POS); in GetTLIP()
742 Drawing::Point trRad = rrect.GetCornerRadius(Drawing::RoundRect::TOP_RIGHT_POS); in GetTLIP()
743 Drawing::Point blRad = rrect.GetCornerRadius(Drawing::RoundRect::BOTTOM_LEFT_POS); in GetTLIP()
788 Drawing::Point trRad = rrect.GetCornerRadius(Drawing::RoundRect::TOP_RIGHT_POS); in GetTRIP()
789 Drawing::Point tlRad = rrect.GetCornerRadius(Drawing::RoundRect::TOP_LEFT_POS); in GetTRIP()
836 Drawing::Point tlRad = rrect.GetCornerRadius(Drawing::RoundRect::TOP_LEFT_POS); in GetBLIP()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dround_rect.h46 inline const Point& GetCornerRadius(CornerPos pos) const;
115 inline const Point& RoundRect::GetCornerRadius(CornerPos pos) const in GetCornerRadius() function
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_dump.cpp298 if (!properties.GetCornerRadius().IsZero()) { in DumpNodePropertiesDecoration()
299 out["CornerRadius"] = { properties.GetCornerRadius().x_, properties.GetCornerRadius().y_, in DumpNodePropertiesDecoration()
300 properties.GetCornerRadius().z_, properties.GetCornerRadius().w_ }; in DumpNodePropertiesDecoration()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.cpp217 p = rrect.GetCornerRadius(RoundRect::TOP_LEFT_POS); in AddRoundRect()
219 p = rrect.GetCornerRadius(RoundRect::TOP_RIGHT_POS); in AddRoundRect()
221 p = rrect.GetCornerRadius(RoundRect::BOTTOM_RIGHT_POS); in AddRoundRect()
223 p = rrect.GetCornerRadius(RoundRect::BOTTOM_LEFT_POS); in AddRoundRect()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_round_rect.h67 virtual TestingPoint GetCornerRadius(CornerPos pos) const in GetCornerRadius() function
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_round_rect.cpp93 Point radiusXY = rounRect->GetCornerRadius(CCornerPosCastToCornerPos(pos)); in OH_Drawing_RoundRectGetCorner()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_extractor.h52 Vector4f GetCornerRadius() const;
H A Drs_showing_properties_freezer.h49 std::optional<Vector4f> GetCornerRadius() const;
H A Drs_showing_properties_freezer.cpp141 std::optional<Vector4f> RSShowingPropertiesFreezer::GetCornerRadius() const in GetCornerRadius() function in OHOS::Rosen::RSShowingPropertiesFreezer
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/roundrect_fuzzer/
H A Droundrect_fuzzer.cpp57 roundRect.GetCornerRadius(static_cast<RoundRect::CornerPos>(cornerPosA % PATH_FIVE)); in RoundRectFuzzTest000()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_render_service.cpp477 …dumpString += "CornerRadius: [" + std::to_string(node->GetRenderProperties().GetCornerRadius().x_)… in DumpSurfaceNode()
478 std::to_string(node->GetRenderProperties().GetCornerRadius().y_) + "," + in DumpSurfaceNode()
479 std::to_string(node->GetRenderProperties().GetCornerRadius().z_) + "," + in DumpSurfaceNode()
480 std::to_string(node->GetRenderProperties().GetCornerRadius().w_) + "]\n"; in DumpSurfaceNode()
H A Drs_divided_render_util.cpp95 params.cornerRadius = property.GetCornerRadius(); in CalculateSurfaceNodeClipRects()
H A Drs_uni_ui_capture.cpp421 RRect absClipRRect = RRect(absBounds, property.GetCornerRadius()); in ProcessSurfaceViewWithUni()
426 if (isSelfDrawingSurface && !property.GetCornerRadius().IsZero()) { in ProcessSurfaceViewWithUni()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_property_drawable_bounds_geometry_test.cpp450 EXPECT_NE(properties.GetCornerRadius().IsZero(), true);
529 EXPECT_EQ(properties.GetCornerRadius().IsZero(), true);
534 EXPECT_EQ(properties.GetCornerRadius().IsZero(), false);
1166 EXPECT_EQ(properties.GetCornerRadius().IsZero(), true);
1170 EXPECT_NE(properties.GetCornerRadius().IsZero(), false);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_pattern_test_ng.cpp369 EXPECT_EQ(focusRect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).x,
371 EXPECT_EQ(focusRect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).y,
378 EXPECT_EQ(focusRect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).x,
380 EXPECT_EQ(focusRect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).y,
605 auto radius = roundRect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS);
618 radius = roundRect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsmodifierextractor_fuzzer/
H A Drsmodifierextractor_fuzzer.cpp83 modifierExtractor.GetCornerRadius(); in DoGet001()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/checkboxgroup/
H A Dcheckboxgroup_test_ng.cpp1806 EXPECT_FLOAT_EQ(paintRect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).x, BORDER_RADIUS);
1807 EXPECT_FLOAT_EQ(paintRect.GetCornerRadius(RoundRect::CornerPos::TOP_LEFT_POS).y, BORDER_RADIUS);
1808 … EXPECT_FLOAT_EQ(paintRect.GetCornerRadius(RoundRect::CornerPos::TOP_RIGHT_POS).x, BORDER_RADIUS);
1809 … EXPECT_FLOAT_EQ(paintRect.GetCornerRadius(RoundRect::CornerPos::TOP_RIGHT_POS).y, BORDER_RADIUS);
1810 …EXPECT_FLOAT_EQ(paintRect.GetCornerRadius(RoundRect::CornerPos::BOTTOM_LEFT_POS).x, BORDER_RADIUS);
1811 …EXPECT_FLOAT_EQ(paintRect.GetCornerRadius(RoundRect::CornerPos::BOTTOM_LEFT_POS).y, BORDER_RADIUS);
1812 …EXPECT_FLOAT_EQ(paintRect.GetCornerRadius(RoundRect::CornerPos::BOTTOM_RIGHT_POS).x, BORDER_RADIUS…
1813 …EXPECT_FLOAT_EQ(paintRect.GetCornerRadius(RoundRect::CornerPos::BOTTOM_RIGHT_POS).y, BORDER_RADIUS…
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/roundRect_napi/
H A Djs_roundrect.cpp141 auto point = m_roundRect.GetCornerRadius(static_cast<RoundRect::CornerPos>(pos)); in OnGetCorner()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_trace_utils.cpp195 [[maybe_unused]] auto cornerRadius = node.GetRenderProperties().GetCornerRadius().x_; in addRenderNodeTrace()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Drect_t.h529 inline EdgeF GetCornerRadius(CornerPos pos) const;
577 inline EdgeF RoundRect::GetCornerRadius(CornerPos pos) const in GetCornerRadius() function
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
H A Drs_modifier_test.cpp680 ASSERT_EQ(node->GetStagingProperties().GetCornerRadius(), value);
684 …ASSERT_EQ(node->GetStagingProperties().GetCornerRadius(), node1->GetStagingProperties().GetCornerR…
701 ASSERT_EQ(node->GetStagingProperties().GetCornerRadius(), value);
705 ASSERT_EQ(node->GetStagingProperties().GetCornerRadius(), value);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_bounds_geometry.cpp58 } else if (!properties.GetCornerRadius().IsZero()) { in Draw()
109 } else if (properties.GetCornerRadius().IsZero() && border->ApplyFourLine(pen)) { in Generate()
921 … bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in Draw()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_background.cpp242 … bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate()
288 … bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate()

123