Home
last modified time | relevance | path

Searched refs:rrect_ (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shadow/
H A Drosen_render_shadow.cpp65 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()
92rrect_.Width() + offset_.GetX(), rrect_.Height() + offset_.GetY() + NormalizeToPx(SHADOW_OFFSET)); in Paint()
H A Drender_shadow.cpp30 rrect_ = rrect; in SetShadowProperties()
43 rrect_ = rrect; in SetShadowProperties()
H A Drender_shadow.h44 RRect rrect_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Drosen_render_focus_animation.cpp63 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 Drender_focus_animation.h69 RRect rrect_; variable
H A Drender_focus_animation.cpp86 rrect_ = rrect; in SetFocusAnimationProperties()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drosen_render_bubble.h43 SkRRect rrect_; variable
48 RSRoundRect rrect_; variable
H A Drosen_render_bubble.cpp717 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 Dtexgine_rect.cpp70 return rrect_; in GetRRect()
84 rrect_ = std::make_shared<RSRoundRect>(std::move(rrect)); in SetRRect()
H A Dtexgine_rect.h94 std::shared_ptr<RSRoundRect> rrect_ = nullptr; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/
H A Drs_surface_render_params.cpp442 targetSurfaceParams->rrect_ = rrect_; in OnSync()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/
H A Drs_surface_render_params.h139 return rrect_; in GetRRect()
549 RRect rrect_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_surface_render_node_drawable_test.cpp929 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 Drs_property_drawable_bounds_geometry.cpp216 rrect_ = RSPropertiesPainter::RRect2DrawingRRect(properties.GetRRect()); in OnBoundsChange()
220rrect_ = RSPropertiesPainter::RRect2DrawingRRect(RRect(rect, properties.GetOutline()->GetRadiusFou… in OnBoundsChange()
227 auto rect = rrect_.GetRect(); in Draw()
229 borderGeo.rrect = rrect_; in Draw()
H A Drs_properties.cpp2232 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 Ddraw_cmd.cpp469 : 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 Ddraw_cmd.h333 : 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 Drs_property_drawable_bounds_geometry.h124 Drawing::RoundRect rrect_; variable
H A Drs_properties.h728 RRect rrect_ = RRect{};
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_property_drawable_utils_test.cpp77 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 Drs_surface_render_node.cpp2828 surfaceParams->rrect_ = properties.GetRRect(); in UpdateRenderParams()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_render_node_test.cpp2019 nodeTest->renderContent_->renderProperties_.rrect_ = rrect;