/ohos5.0/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_.Height() + offset_.GetY() + NormalizeToPx(SHADOW_OFFSET)); in Paint()
|
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_; variable
|
/ohos5.0/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() 221 width_ = rrect_.Width() + offsetValue; in PaintTVFocus() 222 height_ = rrect_.Height() + offsetValue; in PaintTVFocus() 309 width_ = rrect_.Width() + offsetValue; in PaintPhoneFocus() 310 height_ = rrect_.Height() + offsetValue; in PaintPhoneFocus() 323 width_ = rrect_.Width() - offsetValue; in PaintPhoneFocus() 324 height_ = rrect_.Height() - offsetValue; in PaintPhoneFocus() 350 width_ = rrect_.Width() + offsetValue; in PaintPhoneFocus() 351 height_ = rrect_.Height() + offsetValue; in PaintPhoneFocus() 364 width_ = rrect_.Width() - offsetValue; in PaintPhoneFocus() [all …]
|
H A D | render_focus_animation.h | 69 RRect rrect_; variable
|
H A D | render_focus_animation.cpp | 86 rrect_ = rrect; in SetFocusAnimationProperties()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/ |
H A D | rosen_render_bubble.h | 43 SkRRect rrect_; variable 48 RSRoundRect rrect_; variable
|
H A D | rosen_render_bubble.cpp | 717 rrect_ = MakeRRect(); in PaintDefaultBubble() 718 …RosenDecorationPainter::PaintShadow(SkPath().addRRect(rrect_), ShadowConfig::DefaultShadowM, skCan… 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()
|
/ohos5.0/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; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/ |
H A D | rs_surface_render_params.cpp | 442 targetSurfaceParams->rrect_ = rrect_; in OnSync()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/ |
H A D | rs_surface_render_params.h | 139 return rrect_; in GetRRect() 549 RRect rrect_; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_surface_render_node_drawable_test.cpp | 929 surfaceParams->rrect_.radius_[0].x_ = 0.f; 930 surfaceParams->rrect_.radius_[0].y_ = 4.f; 950 surfaceParams->rrect_.radius_[0].y_ = 4.f; 954 surfaceParams->rrect_.radius_[0].x_ = 0.f;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_property_drawable_bounds_geometry.cpp | 216 rrect_ = RSPropertiesPainter::RRect2DrawingRRect(properties.GetRRect()); in OnBoundsChange() 220 …rrect_ = RSPropertiesPainter::RRect2DrawingRRect(RRect(rect, properties.GetOutline()->GetRadiusFou… in OnBoundsChange() 227 auto rect = rrect_.GetRect(); in Draw() 229 borderGeo.rrect = rrect_; in Draw()
|
H A D | rs_properties.cpp | 2232 return rrect_; in GetRRect() 2238 rrect_ = RRect(rect, GetCornerRadius()); in GenerateRRect()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd.cpp | 469 : DrawWithPaintOpItem(cmdList, handle->paintHandle, ROUND_RECT_OPITEM), rrect_(handle->rrect) {} in DrawRoundRectOpItem() 480 cmdList.AddOp<ConstructorHandle>(rrect_, paintHandle); in Marshalling() 486 canvas->DrawRoundRect(rrect_); in Playback() 1685 : DrawOpItem(CLIP_ROUND_RECT_OPITEM), rrect_(handle->rrect), clipOp_(handle->clipOp), in ClipRoundRectOpItem() 1695 cmdList.AddOp<ConstructorHandle>(rrect_, clipOp_, doAntiAlias_); in Marshalling() 1700 canvas->ClipRoundRect(rrect_, clipOp_, doAntiAlias_); in Playback()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | draw_cmd.h | 333 : DrawWithPaintOpItem(paint, DrawOpItem::ROUND_RECT_OPITEM), rrect_(rrect) {} in DrawRoundRectOpItem() 340 RoundRect rrect_; 983 …: DrawOpItem(DrawOpItem::CLIP_ROUND_RECT_OPITEM), rrect_(roundRect), clipOp_(op), doAntiAlias_(doA… in ClipRoundRectOpItem() 990 RoundRect rrect_;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_property_drawable_bounds_geometry.h | 124 Drawing::RoundRect rrect_; variable
|
H A D | rs_properties.h | 728 RRect rrect_ = RRect{};
|
/ohos5.0/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);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_surface_render_node.cpp | 2828 surfaceParams->rrect_ = properties.GetRRect(); in UpdateRenderParams()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_render_node_test.cpp | 2019 nodeTest->renderContent_->renderProperties_.rrect_ = rrect;
|