Home
last modified time | relevance | path

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

12

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_container_span.cpp55 CalcDimension topRight; 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.cpp156 CalcDimension topRight; in HandleDifferentRadius() local
157 if (ParseJsDimensionVp(object->GetProperty("topRight"), topRight)) { in HandleDifferentRadius()
158 radiusTopRight = topRight; in HandleDifferentRadius()
H A Djs_utils.cpp212 CalcDimension topRight; in HandleDifferentRadius() local
213 if (JSViewAbstract::ParseJsDimensionVp(object->GetProperty("topRight"), topRight)) { in HandleDifferentRadius()
214 radiusTopRight = topRight; in HandleDifferentRadius()
H A Djs_search.h50 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight);
H A Djs_image.cpp401 CalcDimension topRight; 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()
831 topRight = topEnd.has_value() ? topEnd.value() : topRight; in ParseAllBorderRadiuses()
837 JSViewAbstract::ParseJsDimensionVp(object->GetProperty("topRight"), topRight); in ParseAllBorderRadiuses()
859 CalcDimension topRight = defaultBorderRadius.radiusTopRight.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()
932 topRight = topEnd.has_value() ? topEnd.value() : topRight; in ParseAllBorderRadiuses()
938 JSViewAbstract::ParseJsDimensionVp(object->GetProperty("topRight"), topRight); in ParseAllBorderRadiuses()
960 CalcDimension topRight = defaultBorderRadius.radiusTopRight.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.cpp209 CalcDimension topRight; in ParseRadius() local
221 topRight = topLeft; in ParseRadius()
229 if (!ArkTSUtils::ParseJsDimensionVpNG(vm, topRightArgs, topRight, true)) { in ParseRadius()
230 topRight = CalcDimension(0.0, DimensionUnit::VP); in ParseRadius()
242 radiusUnits.push_back(static_cast<int32_t>(topRight.Unit())); in ParseRadius()
246 radiusValues.push_back(topRight.Value()); in ParseRadius()
H A Darkts_native_image_span_bridge.cpp384 CalcDimension topRight; in SetBorderRadius() local
389 ArkTSUtils::ParseAllBorder(vm, topRightArgs, topRight); in SetBorderRadius()
399 values[NUM_1] = topRight.Value(); in SetBorderRadius()
400 units[NUM_1] = static_cast<int>(topRight.Unit()); in SetBorderRadius()
H A Darkts_native_image_bridge.cpp777 CalcDimension topRight; in SetBorderRadius() local
783 isLengthMetrics |= ArkTSUtils::ParseJsLengthMetrics(vm, topRightArgs, topRight); in SetBorderRadius()
788 ArkTSUtils::ParseAllBorder(vm, topRightArgs, topRight); in SetBorderRadius()
797 values[INDEX_0] = directionChanged ? topRight.Value() : topLeft.Value(); in SetBorderRadius()
798 units[INDEX_0] = directionChanged ? static_cast<int>(topRight.Unit()) : static_cast<int>(topLeft.Unit()); in SetBorderRadius()
799 values[INDEX_1] = directionChanged ? topLeft.Value() : topRight.Value(); in SetBorderRadius()
800 units[INDEX_1] = directionChanged ? static_cast<int>(topLeft.Unit()) : static_cast<int>(topRight.Unit()); in SetBorderRadius()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_attraction_effect_filter.cpp120 Drawing::Point topRight = controlPointOfVertex[1]; in CalculateCubicsCtrlPointOffset() local
126 pathList.push_back(LerpPoint(topLeft, topRight, 0.67f, 0.33f)); // 1:top one third in CalculateCubicsCtrlPointOffset()
127 pathList.push_back(LerpPoint(topLeft, topRight, 0.33f, 0.67f)); // 2:top two thirds in CalculateCubicsCtrlPointOffset()
128 pathList.push_back(topRight); // 3:top right in CalculateCubicsCtrlPointOffset()
129 pathList.push_back(LerpPoint(topRight, bottomRight, 0.67f, 0.33f)); // 4:right one third in CalculateCubicsCtrlPointOffset()
130 pathList.push_back(LerpPoint(topRight, bottomRight, 0.33f, 0.67f)); // 5:right two thirds in CalculateCubicsCtrlPointOffset()
302 Drawing::Point topRight = { (-1.147f * width - 0.016f * deltaX) * location, -0.187f * height + 0.30f * deltaY }; in CalculateUpperCtrlPointOfVertex() local
304 std::vector<Drawing::Point> upperControlPoint = { topLeft, topRight, bottomLeft, bottomRight }; in CalculateUpperCtrlPointOfVertex()
317 Drawing::Point topRight = isBelowTarget_ ? in CalculateLowerCtrlPointOfVertex() local
326 std::vector<Drawing::Point> lowerControlPoint = { topLeft, topRight, bottomLef in CalculateLowerCtrlPointOfVertex()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_image_span_ffi.cpp64 CalcDimension topRight = CalcDimension(topRightValue); in ParseTextBackgroundStyle() local
72 textBackgroundStyle.backgroundRadius = { topLeft, topRight, bottomRight, bottomLeft }; in ParseTextBackgroundStyle()
H A Dcj_button_ffi.cpp87 CalcDimension topRight(value.topRight, static_cast<DimensionUnit>(value.topRightUnit)); 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.h36 Radius topRight; member
42 return topLeft.IsValid() || topRight.IsValid() || bottomLeft.IsValid() || bottomRight.IsValid(); in IsValid()
H A Dsvg_dom.cpp90 border.SetTopRightRadius(svgRadius.topRight); in CreateSvgClipBox()
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Drosen_render_text_overlay.cpp417 Offset topRight = (DOT2_POSITION + dot2StartOffset_) * dipScale; in PaintMore() local
431 path.moveTo(SkDoubleToScalar(topRight.GetX()), SkDoubleToScalar(topRight.GetY())); in PaintMore()
452 Offset topRight = (DOT2_POSITION + dot2StartOffset_) * dipScale; in PaintMore() local
465 path.MoveTo(static_cast<float>(topRight.GetX()), static_cast<float>(topRight.GetY())); in PaintMore()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dmenu_modifier.cpp164 auto topRight = 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.cpp137 radius.radiusTopRight = Dimension(controllerHandler->cornerRadiusRect->topRight, DimensionUnit::VP); in ParseDialogCornerRadiusRect()
262 ArkUI_Float32 topRight, ArkUI_Float32 bottomLeft, ArkUI_Float32 bottomRight) in SetDialogCornerRadius()
265 controllerHandler->cornerRadiusRect = new ArkUICornerRadius({ .topLeft = topLeft, .topRight = topRight, 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.h54 ArkUI_Int32 SetDialogCornerRadius(ArkUIDialogHandle handle, ArkUI_Float32 topLeft, ArkUI_Float32 topRight,
/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()
503 EdgeF topRight; member
/foundation/arkui/ace_engine/interfaces/native/node/
H A Ddialog_model.cpp121 int32_t SetCornerRadius(ArkUI_NativeDialogHandle handle, float topLeft, float topRight, in SetCornerRadius() argument
129 topLeft, topRight, bottomLeft, bottomRight); in SetCornerRadius()
H A Ddialog_model.h52 int32_t SetCornerRadius(ArkUI_NativeDialogHandle handle, float topLeft, float topRight,
/foundation/arkui/ace_engine/interfaces/native/
H A Dnative_dialog.h158 * @param topRight Indicates the radius of the upper right corner of the custom dialog box background.
163 int32_t (*setCornerRadius)(ArkUI_NativeDialogHandle handle, float topLeft, float topRight,
/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 25 milliseconds

12