/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_container_span.cpp | 55 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 D | js_menu.cpp | 156 CalcDimension topRight; in HandleDifferentRadius() local 157 if (ParseJsDimensionVp(object->GetProperty("topRight"), topRight)) { in HandleDifferentRadius() 158 radiusTopRight = topRight; in HandleDifferentRadius()
|
H A D | js_utils.cpp | 212 CalcDimension topRight; in HandleDifferentRadius() local 213 if (JSViewAbstract::ParseJsDimensionVp(object->GetProperty("topRight"), topRight)) { in HandleDifferentRadius() 214 radiusTopRight = topRight; in HandleDifferentRadius()
|
H A D | js_search.h | 50 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight);
|
H A D | js_image.cpp | 401 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 D | js_search.cpp | 818 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 D | js_textfield.h | 73 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight);
|
H A D | js_textfield.cpp | 919 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 D | arkts_native_menu_bridge.cpp | 209 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 D | arkts_native_image_span_bridge.cpp | 384 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 D | arkts_native_image_bridge.cpp | 777 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 D | rs_attraction_effect_filter.cpp | 120 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 D | cj_image_span_ffi.cpp | 64 CalcDimension topRight = CalcDimension(topRightValue); in ParseTextBackgroundStyle() local 72 textBackgroundStyle.backgroundRadius = { topLeft, topRight, bottomRight, bottomLeft }; in ParseTextBackgroundStyle()
|
H A D | cj_button_ffi.cpp | 87 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 D | svg_dom.h | 36 Radius topRight; member 42 return topLeft.IsValid() || topRight.IsValid() || bottomLeft.IsValid() || bottomRight.IsValid(); in IsValid()
|
H A D | svg_dom.cpp | 90 border.SetTopRightRadius(svgRadius.topRight); in CreateSvgClipBox()
|
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | rosen_render_text_overlay.cpp | 417 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 D | menu_modifier.cpp | 164 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 D | custom_dialog_model.cpp | 137 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 D | custom_dialog_model.h | 54 ArkUI_Int32 SetDialogCornerRadius(ArkUIDialogHandle handle, ArkUI_Float32 topLeft, ArkUI_Float32 topRight,
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 479 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 D | dialog_model.cpp | 121 int32_t SetCornerRadius(ArkUI_NativeDialogHandle handle, float topLeft, float topRight, in SetCornerRadius() argument 129 topLeft, topRight, bottomLeft, bottomRight); in SetCornerRadius()
|
H A D | dialog_model.h | 52 int32_t SetCornerRadius(ArkUI_NativeDialogHandle handle, float topLeft, float topRight,
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_dialog.h | 158 * @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 D | jsXNode.js | 2215 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 };
|