Home
last modified time | relevance | path

Searched refs:bottomLeft (Results 1 - 25 of 45) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_container_span.cpp56 CalcDimension bottomLeft; in ParseTextBackgroundStyle() local
58 ParseAllBorderRadiuses(object, topLeft, topRight, bottomLeft, bottomRight); in ParseTextBackgroundStyle()
59 textBackgroundStyle.backgroundRadius = { topLeft, topRight, bottomRight, bottomLeft }; in ParseTextBackgroundStyle()
H A Djs_menu.cpp160 CalcDimension bottomLeft; in HandleDifferentRadius() local
161 if (ParseJsDimensionVp(object->GetProperty("bottomLeft"), bottomLeft)) { in HandleDifferentRadius()
162 radiusBottomLeft = bottomLeft; in HandleDifferentRadius()
H A Djs_utils.cpp216 CalcDimension bottomLeft; in HandleDifferentRadius() local
217 if (JSViewAbstract::ParseJsDimensionVp(object->GetProperty("bottomLeft"), bottomLeft)) { in HandleDifferentRadius()
218 radiusBottomLeft = bottomLeft; in HandleDifferentRadius()
H A Djs_search.h50 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight);
H A Djs_image.cpp402 CalcDimension bottomLeft; in ParseBorderRadius() local
404 if (ParseAllBorderRadiuses(object, topLeft, topRight, bottomLeft, bottomRight)) { in ParseBorderRadius()
406 GetLocalizedBorderRadius(topLeft, topRight, bottomLeft, bottomRight)); in ParseBorderRadius()
408 GetLocalizedBorderRadius(topLeft, topRight, bottomLeft, bottomRight)); in ParseBorderRadius()
411 ImageModel::GetInstance()->SetBorderRadius(topLeft, topRight, bottomLeft, bottomRight); in ParseBorderRadius()
412 ViewAbstractModel::GetInstance()->SetBorderRadius(topLeft, topRight, bottomLeft, bottomRight); in ParseBorderRadius()
H A Djs_search.cpp818 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight) in ParseAllBorderRadiuses()
832 bottomLeft = bottomStart.has_value() ? bottomStart.value() : bottomLeft; in ParseAllBorderRadiuses()
838 JSViewAbstract::ParseJsDimensionVp(object->GetProperty("bottomLeft"), bottomLeft); in ParseAllBorderRadiuses()
860 CalcDimension bottomLeft = defaultBorderRadius.radiusBottomLeft.value(); in ParseBorderRadius() local
862 if (ParseAllBorderRadiuses(object, topLeft, topRight, bottomLeft, bottomRight)) { in ParseBorderRadius()
864 JSViewAbstract::GetLocalizedBorderRadius(topLeft, topRight, bottomLeft, bottomRight)); in ParseBorderRadius()
867 ViewAbstractModel::GetInstance()->SetBorderRadius(topLeft, topRight, bottomLeft, bottomRight); in ParseBorderRadius()
817 ParseAllBorderRadiuses(JSRef<JSObject>& object, CalcDimension& topLeft, CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight) ParseAllBorderRadiuses() argument
H A Djs_textfield.h73 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight);
H A Djs_textfield.cpp919 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight) in ParseAllBorderRadiuses()
933 bottomLeft = bottomStart.has_value() ? bottomStart.value() : bottomLeft; in ParseAllBorderRadiuses()
939 JSViewAbstract::ParseJsDimensionVp(object->GetProperty("bottomLeft"), bottomLeft); in ParseAllBorderRadiuses()
961 CalcDimension bottomLeft = defaultBorderRadius.radiusBottomLeft.value(); in ParseBorderRadius() local
963 if (ParseAllBorderRadiuses(object, topLeft, topRight, bottomLeft, bottomRight)) { in ParseBorderRadius()
965 JSViewAbstract::GetLocalizedBorderRadius(topLeft, topRight, bottomLeft, bottomRight)); in ParseBorderRadius()
968 ViewAbstractModel::GetInstance()->SetBorderRadius(topLeft, topRight, bottomLeft, bottomRight); in ParseBorderRadius()
918 ParseAllBorderRadiuses(JSRef<JSObject>& object, CalcDimension& topLeft, CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight) ParseAllBorderRadiuses() argument
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_menu_bridge.cpp210 CalcDimension bottomLeft; in ParseRadius() local
222 bottomLeft = topLeft; in ParseRadius()
233 if (!ArkTSUtils::ParseJsDimensionVpNG(vm, bottomLeftArgs, bottomLeft, true)) { in ParseRadius()
234 bottomLeft = CalcDimension(0.0, DimensionUnit::VP); in ParseRadius()
243 radiusUnits.push_back(static_cast<int32_t>(bottomLeft.Unit())); in ParseRadius()
247 radiusValues.push_back(bottomLeft.Value()); in ParseRadius()
H A Darkts_native_image_span_bridge.cpp385 CalcDimension bottomLeft; in SetBorderRadius() local
390 ArkTSUtils::ParseAllBorder(vm, bottomLeftArgs, bottomLeft); in SetBorderRadius()
401 values[NUM_2] = bottomLeft.Value(); in SetBorderRadius()
402 units[NUM_2] = static_cast<int>(bottomLeft.Unit()); in SetBorderRadius()
H A Darkts_native_image_bridge.cpp778 CalcDimension bottomLeft; in SetBorderRadius() local
784 isLengthMetrics |= ArkTSUtils::ParseJsLengthMetrics(vm, bottomLeftArgs, bottomLeft); in SetBorderRadius()
789 ArkTSUtils::ParseAllBorder(vm, bottomLeftArgs, bottomLeft); in SetBorderRadius()
801 values[INDEX_2] = directionChanged ? bottomRight.Value() : bottomLeft.Value(); in SetBorderRadius()
802 units[INDEX_2] = directionChanged ? static_cast<int>(bottomRight.Unit()) : static_cast<int>(bottomLeft.Unit()); in SetBorderRadius()
803 values[INDEX_3] = directionChanged ? bottomLeft.Value() : bottomRight.Value(); in SetBorderRadius()
804 units[INDEX_3] = directionChanged ? static_cast<int>(bottomLeft.Unit()) : static_cast<int>(bottomRight.Unit()); in SetBorderRadius()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_attraction_effect_filter.cpp121 Drawing::Point bottomLeft = controlPointOfVertex[2]; in CalculateCubicsCtrlPointOffset() local
132 pathList.push_back(LerpPoint(bottomLeft, bottomRight, 0.33f, 0.67f)); // 7:bottom two thirds in CalculateCubicsCtrlPointOffset()
133 pathList.push_back(LerpPoint(bottomLeft, bottomRight, 0.67f, 0.33f)); // 8:bottom one third in CalculateCubicsCtrlPointOffset()
134 pathList.push_back(bottomLeft); // 9:bottom left in CalculateCubicsCtrlPointOffset()
135 pathList.push_back(LerpPoint(topLeft, bottomLeft, 0.33f, 0.67f)); // 10:left two thirds in CalculateCubicsCtrlPointOffset()
136 pathList.push_back(LerpPoint(topLeft, bottomLeft, 0.67f, 0.33f)); // 11:left one third in CalculateCubicsCtrlPointOffset()
299 Drawing::Point bottomLeft = isBelowTarget_ ? in CalculateUpperCtrlPointOfVertex() local
304 std::vector<Drawing::Point> upperControlPoint = { topLeft, topRight, bottomLeft, bottomRight }; in CalculateUpperCtrlPointOfVertex()
320 Drawing::Point bottomLeft = isBelowTarget_ ? in CalculateLowerCtrlPointOfVertex() local
326 std::vector<Drawing::Point> lowerControlPoint = { topLeft, topRight, bottomLeft, bottomRigh in CalculateLowerCtrlPointOfVertex()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_image_span_ffi.cpp67 CalcDimension bottomLeft = CalcDimension(bottomLeftValue); in ParseTextBackgroundStyle() local
72 textBackgroundStyle.backgroundRadius = { topLeft, topRight, bottomRight, bottomLeft }; in ParseTextBackgroundStyle()
H A Dcj_button_ffi.cpp88 CalcDimension bottomLeft(value.bottomLeft, static_cast<DimensionUnit>(value.bottomLeftUnit)); in FfiOHOSAceFrameworkButtonSetAllBorderRadius()
90 ButtonModel::GetInstance()->SetBorderRadius(topLeft, topRight, bottomLeft, bottomRight); in FfiOHOSAceFrameworkButtonSetAllBorderRadius()
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_dom.h37 Radius bottomLeft; member
42 return topLeft.IsValid() || topRight.IsValid() || bottomLeft.IsValid() || bottomRight.IsValid(); in IsValid()
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Drosen_render_text_overlay.cpp418 Offset bottomLeft = (DOT3_POSITION + dot3StartOffset_) * dipScale; in PaintMore() local
433 path.moveTo(SkDoubleToScalar(bottomLeft.GetX()), SkDoubleToScalar(bottomLeft.GetY())); in PaintMore()
453 Offset bottomLeft = (DOT3_POSITION + dot3StartOffset_) * dipScale; in PaintMore() local
467 path.MoveTo(static_cast<float>(bottomLeft.GetX()), static_cast<float>(bottomLeft.GetY())); in PaintMore()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dmenu_modifier.cpp166 auto bottomLeft = in SetRadius() local
170 if (topLeft.IsNegative() || topRight.IsNegative() || bottomLeft.IsNegative() || bottomRight.IsNegative()) { in SetRadius()
173 MenuModelNG::SetBorderRadius(frameNode, topLeft, topRight, bottomLeft, bottomRight); in SetRadius()
H A Dcustom_dialog_model.cpp138 radius.radiusBottomLeft = Dimension(controllerHandler->cornerRadiusRect->bottomLeft, DimensionUnit::VP); in ParseDialogCornerRadiusRect()
262 ArkUI_Float32 topRight, ArkUI_Float32 bottomLeft, ArkUI_Float32 bottomRight) in SetDialogCornerRadius()
266 .bottomLeft = bottomLeft, .bottomRight = bottomRight }); in SetDialogCornerRadius()
261 SetDialogCornerRadius(ArkUIDialogHandle controllerHandler, ArkUI_Float32 topLeft, ArkUI_Float32 topRight, ArkUI_Float32 bottomLeft, ArkUI_Float32 bottomRight) SetDialogCornerRadius() argument
H A Dcustom_dialog_model.h55 ArkUI_Float32 bottomLeft, ArkUI_Float32 bottomRight);
H A Dnode_image_span_modifier.cpp133 options->bottomLeft = styleOptions.backgroundRadius->radiusBottomLeft->Value(); in GetImageSpanTextBackgroundStyle()
134 options->bottomLeft = styleOptions.backgroundRadius->radiusBottomLeft->Value(); in GetImageSpanTextBackgroundStyle()
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Drect_t.h479 RadiusF(const EdgeF& radius) : topLeft(radius), topRight(radius), bottomLeft(radius), bottomRight(radius) {} in RadiusF()
480 RadiusF(const EdgeF& topLeft, const EdgeF& topRight, const EdgeF& bottomLeft, const EdgeF& bottomRight) in RadiusF()
481 : topLeft(topLeft), topRight(topRight), bottomLeft(bottomLeft), bottomRight(bottomRight) in RadiusF()
504 EdgeF bottomLeft; member
/foundation/arkui/ace_engine/interfaces/native/node/
H A Ddialog_model.cpp122 float bottomLeft, float bottomRight) in SetCornerRadius()
129 topLeft, topRight, bottomLeft, bottomRight); in SetCornerRadius()
121 SetCornerRadius(ArkUI_NativeDialogHandle handle, float topLeft, float topRight, float bottomLeft, float bottomRight) SetCornerRadius() argument
H A Ddialog_model.h53 float bottomLeft, float bottomRight);
/foundation/arkui/ace_engine/interfaces/native/
H A Dnative_dialog.h159 * @param bottomLeft Indicates the radius of the lower left corner of the custom dialog box background.
164 float bottomLeft, float bottomRight);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsXNode.js2215 this.borderRadiusValue = { topLeft: 0, topRight: 0, bottomLeft: 0, bottomRight: 0 };
2220 getUINativeModule().renderNode.setBorderRadius(this.nodePtr, this.borderRadiusValue.topLeft, this.borderRadiusValue.topRight, this.borderRadiusValue.bottomLeft, this.borderRadiusValue.bottomRight, this.lengthMetricsUnitValue);
2244 getUINativeModule().renderNode.setRoundRectMask(this.nodePtr, corners.topLeft.x, corners.topLeft.y, corners.topRight.x, corners.topRight.y, corners.bottomLeft.x, corners.bottomLeft.y, corners.bottomRight.x, corners.bottomRight.y, rect.left, rect.top, rect.right, rect.bottom, this.shapeMaskValue.fillColor, this.shapeMaskValue.strokeColor, this.shapeMaskValue.strokeWidth);
2277 getUINativeModule().renderNode.setRoundRectClip(this.nodePtr, corners.topLeft.x, corners.topLeft.y, corners.topRight.x, corners.topRight.y, corners.bottomLeft.x, corners.bottomLeft.y, corners.bottomRight.x, corners.bottomRight.y, rect.left, rect.top, rect.right, rect.bottom);
2303 return { topLeft: all, topRight: all, bottomLeft: all, bottomRight: all };

Completed in 23 milliseconds

12