/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_rect_shape.cpp | 87 void JSRectShape::SetRadiusWithJsVal(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal) in SetRadiusWithJsVal() argument 98 if (shapeRect) { in SetRadiusWithJsVal() 100 shapeRect->SetRadiusWidth(value, option); in SetRadiusWithJsVal() 101 shapeRect->SetRadiusHeight(value, option); in SetRadiusWithJsVal() 106 void JSRectShape::SetRadiusWithArrayValue(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal) in SetRadiusWithArrayValue() argument 108 if (!jsVal->IsArray() || !shapeRect) { in SetRadiusWithArrayValue() 127 SetRadiusValue(shapeRect, radiusXYValue, radiusXYValue, i); in SetRadiusWithArrayValue() 153 SetRadiusValue(shapeRect, radiusXValue, radiusYValue, i); in SetRadiusWithArrayValue() 158 const RefPtr<ShapeRect>& shapeRect, const CalcDimension& radiusX, const CalcDimension& radiusY, int32_t index) in SetRadiusValue() 160 CHECK_NULL_VOID(shapeRect); in SetRadiusValue() 157 SetRadiusValue( const RefPtr<ShapeRect>& shapeRect, const CalcDimension& radiusX, const CalcDimension& radiusY, int32_t index) SetRadiusValue() argument [all...] |
H A D | js_rect_shape.h | 45 const RefPtr<ShapeRect>& shapeRect, const CalcDimension& radiusX, const CalcDimension& radiusY, int32_t index); 46 static void SetRadiusWithArrayValue(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal); 47 static void SetRadiusWithJsVal(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal);
|
H A D | js_rect.h | 43 const RefPtr<ShapeRect>& shapeRect, const CalcDimension& radiusX, const CalcDimension& radiusY, int32_t index); 44 static void SetRadiusWithArrayValue(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal); 45 static void SetRadiusWithJsVal(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal);
|
H A D | js_rect.cpp | 155 void JSRect::SetRadiusWithJsVal(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal) in SetRadiusWithJsVal() argument 165 if (shapeRect) { in SetRadiusWithJsVal() 167 shapeRect->SetRadiusWidth(value, option); in SetRadiusWithJsVal() 168 shapeRect->SetRadiusHeight(value, option); in SetRadiusWithJsVal() 175 void JSRect::SetRadiusWithArrayValue(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal) in SetRadiusWithArrayValue() argument 211 SetRadiusValue(shapeRect, radiusXValue, radiusYValue, i); in SetRadiusWithArrayValue() 216 const RefPtr<ShapeRect>& shapeRect, const CalcDimension& radiusX, const CalcDimension& radiusY, int32_t index) in SetRadiusValue() 218 if (shapeRect) { in SetRadiusValue() 219 RectModel::GetInstance()->SetShapeRectRadius(shapeRect, radiusX, radiusY, index); in SetRadiusValue() 215 SetRadiusValue( const RefPtr<ShapeRect>& shapeRect, const CalcDimension& radiusX, const CalcDimension& radiusY, int32_t index) SetRadiusValue() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | rect_model_impl.h | 30 const RefPtr<ShapeRect>& shapeRect, const Dimension& radiusX, const Dimension& radiusY, int32_t index) override
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | rect_model.h | 36 const RefPtr<ShapeRect>& shapeRect, const Dimension& radiusX, const Dimension& radiusY, int32_t index);
|
H A D | rect_model_ng.h | 33 const RefPtr<ShapeRect>& shapeRect, const Dimension& radiusX, const Dimension& radiusY, int32_t index) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_layout_algorithm.cpp | 918 auto shapeRect = AceType::MakeRefPtr<ShapeRect>(); in ClipUIExtensionSubWindowContent() local 919 shapeRect->SetWidth(Dimension(hostWindowRect_.Width())); in ClipUIExtensionSubWindowContent() 920 shapeRect->SetHeight(Dimension(hostWindowRect_.Height())); in ClipUIExtensionSubWindowContent() 921 shapeRect->SetOffset(DimensionOffset(Dimension(hostWindowRect_.GetX()), Dimension(hostWindowRect_.GetY()))); in ClipUIExtensionSubWindowContent() 925 shapeRect->SetRadiusWidth(CONTAINER_OUTER_RADIUS); in ClipUIExtensionSubWindowContent() 927 dialogContext->UpdateClipShape(shapeRect); in ClipUIExtensionSubWindowContent()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_slider_modifier.cpp | 628 auto shapeRect = AceType::DynamicCast<ShapeRect>(basicShape); in GetSliderBlockShape() local 630 (*value)[3] = shapeRect->GetTopLeftRadius().GetX().Value(); in GetSliderBlockShape() 632 (*value)[4] = shapeRect->GetTopLeftRadius().GetY().Value(); in GetSliderBlockShape()
|
H A D | node_common_modifier.cpp | 5136 auto shapeRect = AceType::DynamicCast<ShapeRect>(basicShape); in GetClipShape() local 5139 shapeRect->GetTopLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape() 5142 shapeRect->GetTopLeftRadius().GetY().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape() 5145 shapeRect->GetTopLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape() 5148 shapeRect->GetBottomLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape() 5151 shapeRect->GetTopRightRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape() 5154 shapeRect->GetBottomRightRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape() 5286 auto shapeRect = AceType::DynamicCast<ShapeRect>(basicShape); in GetMask() local 5288 shapeRect->GetTopLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetMask() 5290 shapeRect in GetMask() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | base_text_select_overlay.cpp | 1262 auto shapeRect = contentClip->second; in GetScrollableClipContentRect() local 1263 CHECK_NULL_RETURN(shapeRect, false); in GetScrollableClipContentRect() 1264 auto clipOffset = shapeRect->GetOffset(); in GetScrollableClipContentRect() 1266 shapeRect->GetWidth().ConvertToPx(), shapeRect->GetHeight().ConvertToPx()); in GetScrollableClipContentRect()
|