/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_rect_shape.cpp | 98 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 D | js_rect.cpp | 163 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 D | js_rect_shape.h | 45 …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 D | js_rect.h | 43 …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 D | rect_model_impl.h | 30 …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 D | rect_model.h | 36 …const RefPtr<ShapeRect>& shapeRect, const Dimension& radiusX, const Dimension& radiusY, int32_t in…
|
H A D | rect_model_ng.h | 33 …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 D | dialog_layout_algorithm.cpp | 923 auto shapeRect = AceType::MakeRefPtr<ShapeRect>(); in ClipUIExtensionSubWindowContent() local 924 shapeRect->SetWidth(Dimension(hostWindowRect_.Width())); in ClipUIExtensionSubWindowContent() 925 shapeRect->SetHeight(Dimension(hostWindowRect_.Height())); in ClipUIExtensionSubWindowContent() 926 …shapeRect->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 D | node_slider_modifier.cpp | 632 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 D | node_common_modifier.cpp | 5152 auto shapeRect = AceType::DynamicCast<ShapeRect>(basicShape); in GetClipShape() local 5155 … shapeRect->GetTopLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape() 5158 … shapeRect->GetTopLeftRadius().GetY().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetClipShape() 5161 … shapeRect->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() 5310 … shapeRect->GetBottomLeftRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetMask() 5312 shapeRect->GetTopRightRadius().GetX().GetNativeValue(static_cast<DimensionUnit>(unit)); in GetMask() [all …]
|