Home
last modified time | relevance | path

Searched refs:shapeRect (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_rect_shape.cpp98 if (shapeRect) { in SetRadiusWithJsVal()
100 shapeRect->SetRadiusWidth(value, option); in SetRadiusWithJsVal()
101 shapeRect->SetRadiusHeight(value, option); in SetRadiusWithJsVal()
108 if (!jsVal->IsArray() || !shapeRect) { in SetRadiusWithArrayValue()
127 SetRadiusValue(shapeRect, radiusXYValue, radiusXYValue, i); in SetRadiusWithArrayValue()
152 SetRadiusValue(shapeRect, radiusXValue, radiusYValue, i); in SetRadiusWithArrayValue()
159 CHECK_NULL_VOID(shapeRect); in SetRadiusValue()
163 shapeRect->SetTopLeftRadius(newRadius); in SetRadiusValue()
166 shapeRect->SetTopRightRadius(newRadius); in SetRadiusValue()
169 shapeRect->SetBottomRightRadius(newRadius); in SetRadiusValue()
[all …]
H A Djs_rect.cpp163 void JSRect::SetRadiusWithJsVal(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal) in SetRadiusWithJsVal() argument
173 if (shapeRect) { in SetRadiusWithJsVal()
175 shapeRect->SetRadiusWidth(value, option); in SetRadiusWithJsVal()
176 shapeRect->SetRadiusHeight(value, option); in SetRadiusWithJsVal()
183 void JSRect::SetRadiusWithArrayValue(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal) in SetRadiusWithArrayValue() argument
219 SetRadiusValue(shapeRect, radiusXValue, radiusYValue, i); in SetRadiusWithArrayValue()
224 …const RefPtr<ShapeRect>& shapeRect, const CalcDimension& radiusX, const CalcDimension& radiusY, in… in SetRadiusValue() argument
226 if (shapeRect) { in SetRadiusValue()
227 RectModel::GetInstance()->SetShapeRectRadius(shapeRect, radiusX, radiusY, index); in SetRadiusValue()
H A Djs_rect_shape.h45 …const RefPtr<ShapeRect>& shapeRect, const CalcDimension& radiusX, const CalcDimension& radiusY, in…
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, in…
44 …static void SetRadiusWithArrayValue(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal);
45 static void SetRadiusWithJsVal(const RefPtr<ShapeRect>& shapeRect, const JSRef<JSVal>& jsVal);
/ohos5.0/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 in… in SetShapeRectRadius() argument
/ohos5.0/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 in…
H A Drect_model_ng.h33 …const RefPtr<ShapeRect>& shapeRect, const Dimension& radiusX, const Dimension& radiusY, int32_t in…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_algorithm.cpp923 auto shapeRect = AceType::MakeRefPtr<ShapeRect>(); in ClipUIExtensionSubWindowContent() local
924 shapeRect->SetWidth(Dimension(hostWindowRect_.Width())); in ClipUIExtensionSubWindowContent()
925 shapeRect->SetHeight(Dimension(hostWindowRect_.Height())); in ClipUIExtensionSubWindowContent()
926shapeRect->SetOffset(DimensionOffset(Dimension(hostWindowRect_.GetX()), Dimension(hostWindowRect_.… in ClipUIExtensionSubWindowContent()
930 shapeRect->SetRadiusWidth(CONTAINER_OUTER_RADIUS); in ClipUIExtensionSubWindowContent()
932 dialogContext->UpdateClipShape(shapeRect); in ClipUIExtensionSubWindowContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_slider_modifier.cpp632 auto shapeRect = AceType::DynamicCast<ShapeRect>(basicShape); in GetSliderBlockShape() local
634 (*value)[3] = shapeRect->GetTopLeftRadius().GetX().Value(); in GetSliderBlockShape()
636 (*value)[4] = shapeRect->GetTopLeftRadius().GetY().Value(); in GetSliderBlockShape()
H A Dnode_common_modifier.cpp5152 auto shapeRect = AceType::DynamicCast<ShapeRect>(basicShape); in GetClipShape() local
5155shapeRect->GetTopLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape()
5158shapeRect->GetTopLeftRadius().GetY().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape()
5161shapeRect->GetTopLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape()
5302 auto shapeRect = AceType::DynamicCast<ShapeRect>(basicShape); in GetMask() local
5304 shapeRect->GetTopLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetMask()
5306 shapeRect->GetTopLeftRadius().GetY().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetMask()
5308 shapeRect->GetTopLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetMask()
5310shapeRect->GetBottomLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetMask()
5312 shapeRect->GetTopRightRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetMask()
[all …]