/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | rrect.h | 79 const Corner& GetCorner() const in GetCorner() function in OHOS::Ace::final 139 return rrect.GetCorner().bottomLeftRadius == corner_.bottomLeftRadius && in operator ==() 140 rrect.GetCorner().bottomRightRadius == corner_.bottomRightRadius && in operator ==() 141 rrect.GetCorner().topLeftRadius == corner_.topLeftRadius && in operator ==() 142 rrect.GetCorner().topRightRadius == corner_.topRightRadius && rrect.GetRect() == rect_; in operator ==()
|
/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/ |
H A D | rosen_render_focus_animation.cpp | 217 double radiusX = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetX()); in PaintTVFocus() 218 double radiusY = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetY()); in PaintTVFocus() 305 radiusX = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetX()); in PaintPhoneFocus() 306 radiusY = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetY()); in PaintPhoneFocus() 315 radiusX = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetX()); in PaintPhoneFocus() 316 radiusY = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetY()); in PaintPhoneFocus() 346 radiusX = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetX()); in PaintPhoneFocus() 347 radiusY = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetY()); in PaintPhoneFocus() 356 radiusX = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetX()); in PaintPhoneFocus() 357 radiusY = NormalizeToPx(rrect_.GetCorner() in PaintPhoneFocus() [all...] |
/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()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_universal_painter.cpp | 59 auto corner = paintRRect.GetCorner(); in DrawRRectBackground() 86 auto corner = paintRRect.GetCorner(); in DrawRRectBackground()
|
/foundation/arkui/ace_engine/frameworks/core/components/select/ |
H A D | select_element.h | 53 Corner GetCorner() const;
|
H A D | select_element.cpp | 340 Corner SelectElement::GetCorner() const in GetCorner() function in OHOS::Ace::SelectElement 375 auto corner = GetCorner(); in OnFocus()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/roundRect_napi/ |
H A D | js_roundrect.h | 38 static napi_value GetCorner(napi_env env, napi_callback_info info);
|
H A D | js_roundrect.cpp | 29 DECLARE_NAPI_FUNCTION("getCorner", JsRoundRect::GetCorner), in Init() 129 napi_value JsRoundRect ::GetCorner(napi_env env, napi_callback_info info) in GetCorner() function in OHOS::Rosen::Drawing::JsRoundRect
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | render_list_item.cpp | 486 border.SetTopRightRadius(focusAnimationRRect_.GetCorner().topRightRadius); in ResetFocusEffect() 487 border.SetTopLeftRadius(focusAnimationRRect_.GetCorner().topLeftRadius); in ResetFocusEffect() 488 border.SetBottomLeftRadius(focusAnimationRRect_.GetCorner().bottomLeftRadius); in ResetFocusEffect() 489 border.SetBottomRightRadius(focusAnimationRRect_.GetCorner().bottomRightRadius); in ResetFocusEffect()
|
H A D | rosen_render_list_item.cpp | 125 paintRRect.SetCorner(focusAnimationRRect_.GetCorner()); in PaintUniversalBackground() 184 Corner corner = GetRRect().GetCorner(); in PaintWithFocusEffect()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 492 EdgeF GetCorner(int32_t pos) const in GetCorner() function 579 return radius_.GetCorner(pos); in GetCornerRadius()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | page_transition_option.cpp | 552 auto cornerRadius = rrect.GetCorner().topLeftRadius.GetX().Value() * deviceWidth_ / rrect.Width(); in CreateCornerAnimationInOption()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/ |
H A D | slider_pattern_test_ng.cpp | 443 EXPECT_EQ(focusRect.radius_.GetCorner(0).x, 1.0f); in HWTEST_F() 444 EXPECT_EQ(focusRect.radius_.GetCorner(0).y, 1.0f); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_node.cpp | 1503 const Corner& corner = parentBlurRRect.GetCorner(); in GetGlobalWindowBlurRRect() 1522 return RRect::MakeRRect(innerRect, windowBlurRRect.GetCorner().topLeftRadius); in GetGlobalWindowBlurRRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.cpp | 4719 radius.SetValues(radiusF.GetCorner(RoundRect::CornerPos::TOP_LEFT_POS).x, 4720 radiusF.GetCorner(RoundRect::CornerPos::TOP_RIGHT_POS).x, 4721 radiusF.GetCorner(RoundRect::CornerPos::BOTTOM_LEFT_POS).x, 4722 radiusF.GetCorner(RoundRect::CornerPos::BOTTOM_RIGHT_POS).x);
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_context.cpp | 3155 const Corner& radius = item.GetCorner(); in FlushWindowBlur()
|
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 4117 auto radiusValueX = rRect.GetCorner().topLeftRadius.GetX().Value(); in SetContainerWindow() 4118 auto radiusValueY = rRect.GetCorner().topLeftRadius.GetY().Value(); in SetContainerWindow()
|