Home
last modified time | relevance | path

Searched refs:shapeRect (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_rect_shape.cpp87 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 Djs_rect_shape.h45 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 Djs_rect.h43 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 Djs_rect.cpp155 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 Drect_model_impl.h30 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 Drect_model.h36 const RefPtr<ShapeRect>& shapeRect, const Dimension& radiusX, const Dimension& radiusY, int32_t index);
H A Drect_model_ng.h33 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 Ddialog_layout_algorithm.cpp918 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 Dnode_slider_modifier.cpp628 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 Dnode_common_modifier.cpp5136 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 Dbase_text_select_overlay.cpp1262 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()

Completed in 20 milliseconds