Home
last modified time | relevance | path

Searched refs:GetCorner (Results 1 - 17 of 17) sorted by relevance

/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Drrect.h79 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 Drosen_render_focus_animation.cpp217 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 Drosen_render_shadow.cpp65 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 Drosen_universal_painter.cpp59 auto corner = paintRRect.GetCorner(); in DrawRRectBackground()
86 auto corner = paintRRect.GetCorner(); in DrawRRectBackground()
/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_element.h53 Corner GetCorner() const;
H A Dselect_element.cpp340 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 Djs_roundrect.h38 static napi_value GetCorner(napi_env env, napi_callback_info info);
H A Djs_roundrect.cpp29 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 Drender_list_item.cpp486 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 Drosen_render_list_item.cpp125 paintRRect.SetCorner(focusAnimationRRect_.GetCorner()); in PaintUniversalBackground()
184 Corner corner = GetRRect().GetCorner(); in PaintWithFocusEffect()
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Drect_t.h492 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 Dpage_transition_option.cpp552 auto cornerRadius = rrect.GetCorner().topLeftRadius.GetX().Value() * deviceWidth_ / rrect.Width(); in CreateCornerAnimationInOption()
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_pattern_test_ng.cpp443 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 Drender_node.cpp1503 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 Drosen_render_context.cpp4719 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 Dpipeline_context.cpp3155 const Corner& radius = item.GetCorner(); in FlushWindowBlur()
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.cpp4117 auto radiusValueX = rRect.GetCorner().topLeftRadius.GetX().Value(); in SetContainerWindow()
4118 auto radiusValueY = rRect.GetCorner().topLeftRadius.GetY().Value(); in SetContainerWindow()

Completed in 38 milliseconds