/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | focus_state_modifier.h | 71 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 D | round_rect_test.cpp | 113 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 D | rs_border.cpp | 620 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 D | round_rect.h | 46 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 D | rs_profiler_dump.cpp | 298 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 D | skia_path.cpp | 217 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 D | testing_round_rect.h | 67 virtual TestingPoint GetCornerRadius(CornerPos pos) const in GetCornerRadius() function
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_round_rect.cpp | 93 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 D | rs_modifier_extractor.h | 52 Vector4f GetCornerRadius() const;
|
H A D | rs_showing_properties_freezer.h | 49 std::optional<Vector4f> GetCornerRadius() const;
|
H A D | rs_showing_properties_freezer.cpp | 141 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 D | roundrect_fuzzer.cpp | 57 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 D | rs_render_service.cpp | 477 …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 D | rs_divided_render_util.cpp | 95 params.cornerRadius = property.GetCornerRadius(); in CalculateSurfaceNodeClipRects()
|
H A D | rs_uni_ui_capture.cpp | 421 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 D | rs_property_drawable_bounds_geometry_test.cpp | 450 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 D | slider_pattern_test_ng.cpp | 369 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 D | rsmodifierextractor_fuzzer.cpp | 83 modifierExtractor.GetCornerRadius(); in DoGet001()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/checkboxgroup/ |
H A D | checkboxgroup_test_ng.cpp | 1806 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 D | js_roundrect.cpp | 141 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 D | rs_animation_trace_utils.cpp | 195 [[maybe_unused]] auto cornerRadius = node.GetRenderProperties().GetCornerRadius().x_; in addRenderNodeTrace()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 529 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 D | rs_modifier_test.cpp | 680 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 D | rs_property_drawable_bounds_geometry.cpp | 58 } 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 D | rs_property_drawable_background.cpp | 242 … bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate() 288 … bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate()
|