/foundation/arkui/ace_engine/frameworks/core/components/shadow/ |
H A D | rosen_render_shadow.cpp | 65 double radiusX = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetX()); in Paint() 66 double radiusY = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetY()); in Paint() 73 SkRect rect = SkRect::MakeXYWH(offset_.GetX(), offset_.GetY(), rrect_.Width(), rrect_.Height()); in Paint() 76 offset_.GetX(), offset_.GetY() + NormalizeToPx(SHADOW_OFFSET), rrect_.Width(), rrect_.Height()); in Paint() 89 offset_.GetX(), offset_.GetY(), offset_.GetX() + rrect_.Width(), offset_.GetY() + rrect_.Height()); in Paint() 92 rrect_.Width() + offset_.GetX(), rrect_ in Paint() [all...] |
H A D | render_shadow.cpp | 30 rrect_ = rrect; in SetShadowProperties() 43 rrect_ = rrect; in SetShadowProperties()
|
H A D | render_shadow.h | 44 RRect rrect_; member in OHOS::Ace::RenderShadow
|
/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/ |
H A D | rosen_render_focus_animation.cpp | 63 if (!isDisplay_ || NearZero(rrect_.Width()) || NearZero(rrect_.Height())) { in Paint() 217 double radiusX = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetX()); in PaintTVFocus() 218 double radiusY = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetY()); in PaintTVFocus() 221 width_ = rrect_.Width() + offsetValue; in PaintTVFocus() 222 height_ = rrect_.Height() + offsetValue; in PaintTVFocus() 305 radiusX = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetX()); in PaintPhoneFocus() 306 radiusY = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetY()); in PaintPhoneFocus() 309 width_ = rrect_.Width() + offsetValue; in PaintPhoneFocus() 310 height_ = rrect_ in PaintPhoneFocus() [all...] |
H A D | render_focus_animation.h | 69 RRect rrect_; member in OHOS::Ace::RenderFocusAnimation
|
H A D | render_focus_animation.cpp | 86 rrect_ = rrect; in SetFocusAnimationProperties()
|
/foundation/arkui/ace_engine/frameworks/core/components/bubble/ |
H A D | rosen_render_bubble.h | 43 SkRRect rrect_; member in OHOS::Ace::RosenRenderBubble 48 RSRoundRect rrect_; member in OHOS::Ace::RosenRenderBubble
|
H A D | rosen_render_bubble.cpp | 717 rrect_ = MakeRRect(); in PaintDefaultBubble() 718 RosenDecorationPainter::PaintShadow(SkPath().addRRect(rrect_), ShadowConfig::DefaultShadowM, skCanvas); in PaintDefaultBubble() 719 skCanvas->drawRRect(rrect_, paint); in PaintDefaultBubble() 720 skCanvas->clipRRect(rrect_, SkClipOp::kIntersect, true); in PaintDefaultBubble() 728 rrect_ = MakeRRect(); in PaintDefaultBubble() 731 tmpPath.AddRoundRect(rrect_); in PaintDefaultBubble() 734 canvas->DrawRoundRect(rrect_); in PaintDefaultBubble() 735 canvas->ClipRoundRect(rrect_, RSClipOp::INTERSECT); in PaintDefaultBubble() 783 skCanvas->drawRRect(rrect_, paint); in PaintBorder() 830 canvas->DrawRoundRect(rrect_); in PaintBorder() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_rect.cpp | 70 return rrect_; in GetRRect() 84 rrect_ = std::make_shared<RSRoundRect>(std::move(rrect)); in SetRRect()
|
H A D | texgine_rect.h | 94 std::shared_ptr<RSRoundRect> rrect_ = nullptr; member in OHOS::Rosen::TextEngine::TexgineRect
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/ |
H A D | rs_surface_render_params.h | 126 return rrect_; in GetRRect() 533 RRect rrect_; member in OHOS::Rosen::RSSurfaceRenderParams
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/ |
H A D | rs_surface_render_params.cpp | 462 targetSurfaceParams->rrect_ = rrect_; in OnSync()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_surface_render_node_drawable_test.cpp | 845 surfaceParams->rrect_.radius_[0].y_ = 4.f; in HWTEST_F() 849 surfaceParams->rrect_.radius_[0].x_ = 0.f; in HWTEST_F() 1136 surfaceParams->rrect_.radius_[0].x_ = 1.f; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd.cpp | 515 : DrawWithPaintOpItem(cmdList, handle->paintHandle, ROUND_RECT_OPITEM), rrect_(handle->rrect) {} in DrawRoundRectOpItem() 526 cmdList.AddOp<ConstructorHandle>(rrect_, paintHandle); in Marshalling() 532 canvas->DrawRoundRect(rrect_); in Playback() 538 rrect_.Dump(out); in DumpItems() 2030 : DrawOpItem(CLIP_ROUND_RECT_OPITEM), rrect_(handle->rrect), clipOp_(handle->clipOp), in ClipRoundRectOpItem() 2040 cmdList.AddOp<ConstructorHandle>(rrect_, clipOp_, doAntiAlias_); in Marshalling() 2045 canvas->ClipRoundRect(rrect_, clipOp_, doAntiAlias_); in Playback() 2051 rrect_.Dump(out); in Dump()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_property_drawable_bounds_geometry.cpp | 215 rrect_ = RSPropertiesPainter::RRect2DrawingRRect(properties.GetRRect()); in OnBoundsChange() 219 rrect_ = RSPropertiesPainter::RRect2DrawingRRect(RRect(rect, properties.GetOutline()->GetRadiusFour())); in OnBoundsChange() 226 auto rect = rrect_.GetRect(); in Draw() 228 borderGeo.rrect = rrect_; in Draw()
|
H A D | rs_properties.cpp | 2227 return rrect_; in GetRRect() 2233 rrect_ = RRect(rect, GetCornerRadius()); in GenerateRRect()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_property_drawable_bounds_geometry.h | 124 Drawing::RoundRect rrect_; member in OHOS::Rosen::RSBorderFourLineRoundCornerDrawable
|
H A D | rs_properties.h | 706 RRect rrect_ = RRect{}; member in OHOS::Rosen::final
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | draw_cmd.h | 339 : DrawWithPaintOpItem(paint, DrawOpItem::ROUND_RECT_OPITEM), rrect_(rrect) {} in DrawRoundRectOpItem() 347 RoundRect rrect_; member in OHOS::Rosen::Drawing::DrawRoundRectOpItem 1010 : DrawOpItem(DrawOpItem::CLIP_ROUND_RECT_OPITEM), rrect_(roundRect), clipOp_(op), doAntiAlias_(doAntiAlias) {} in ClipRoundRectOpItem() 1018 RoundRect rrect_; member in OHOS::Rosen::Drawing::ClipRoundRectOpItem
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_property_drawable_utils_test.cpp | 77 properties.rrect_ = RRect(RectT<float>(0.0f, 0.0f, 1.0f, 1.0f), 0.0f, 1.0f); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/ |
H A D | rs_property_drawable_utils_test.cpp | 77 properties.rrect_ = RRect(RectT<float>(0.0f, 0.0f, 1.0f, 1.0f), 0.0f, 1.0f); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_surface_render_node.cpp | 2776 surfaceParams->rrect_ = properties.GetRRect(); in UpdateRenderParams()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_render_node_test.cpp | 2009 nodeTest->renderContent_->renderProperties_.rrect_ = rrect; in HWTEST_F()
|