/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_container_span.cpp | 57 CalcDimension bottomRight; 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 | 164 CalcDimension bottomRight; in HandleDifferentRadius() local 165 if (ParseJsDimensionVp(object->GetProperty("bottomRight"), bottomRight)) { in HandleDifferentRadius() 166 radiusBottomRight = bottomRight; in HandleDifferentRadius()
|
H A D | js_utils.cpp | 220 CalcDimension bottomRight; in HandleDifferentRadius() local 221 if (JSViewAbstract::ParseJsDimensionVp(object->GetProperty("bottomRight"), bottomRight)) { in HandleDifferentRadius() 222 radiusBottomRight = bottomRight; in HandleDifferentRadius()
|
H A D | js_search.h | 50 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight);
|
H A D | js_image.cpp | 403 CalcDimension bottomRight; 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() 833 bottomRight = bottomEnd.has_value() ? bottomEnd.value() : bottomRight; in ParseAllBorderRadiuses() 839 JSViewAbstract::ParseJsDimensionVp(object->GetProperty("bottomRight"), bottomRight); in ParseAllBorderRadiuses() 861 CalcDimension bottomRight = defaultBorderRadius.radiusBottomRight.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() 934 bottomRight = bottomEnd.has_value() ? bottomEnd.value() : bottomRight; in ParseAllBorderRadiuses() 940 JSViewAbstract::ParseJsDimensionVp(object->GetProperty("bottomRight"), bottomRight); in ParseAllBorderRadiuses() 962 CalcDimension bottomRight = defaultBorderRadius.radiusBottomRight.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 | 211 CalcDimension bottomRight; in ParseRadius() local 223 bottomRight = topLeft; in ParseRadius() 237 if (!ArkTSUtils::ParseJsDimensionVpNG(vm, bottomRightArgs, bottomRight, true)) { in ParseRadius() 238 bottomRight = CalcDimension(0.0, DimensionUnit::VP); in ParseRadius() 244 radiusUnits.push_back(static_cast<int32_t>(bottomRight.Unit())); in ParseRadius() 248 radiusValues.push_back(bottomRight.Value()); in ParseRadius()
|
H A D | arkts_native_image_span_bridge.cpp | 386 CalcDimension bottomRight; in SetBorderRadius() local 391 ArkTSUtils::ParseAllBorder(vm, bottomRightArgs, bottomRight); in SetBorderRadius() 403 values[NUM_3] = bottomRight.Value(); in SetBorderRadius() 404 units[NUM_3] = static_cast<int>(bottomRight.Unit()); in SetBorderRadius()
|
H A D | arkts_native_image_bridge.cpp | 779 CalcDimension bottomRight; in SetBorderRadius() local 785 isLengthMetrics |= ArkTSUtils::ParseJsLengthMetrics(vm, bottomRightArgs, bottomRight); in SetBorderRadius() 790 ArkTSUtils::ParseAllBorder(vm, bottomRightArgs, bottomRight); 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 D | rs_attraction_effect_filter.cpp | 122 Drawing::Point bottomRight = controlPointOfVertex[3]; in CalculateCubicsCtrlPointOffset() local 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() 131 pathList.push_back(bottomRight); // 6:bottom right in CalculateCubicsCtrlPointOffset() 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() 303 Drawing::Point bottomRight = { (-0.848f * width - 0.2f * deltaX) * location, -0.859f * height - 0.2f * deltaY }; in CalculateUpperCtrlPointOfVertex() local 304 std::vector<Drawing::Point> upperControlPoint = { topLeft, topRight, bottomLeft, bottomRight }; in CalculateUpperCtrlPointOfVertex() 323 Drawing::Point bottomRight = isBelowTarget_ ? in CalculateLowerCtrlPointOfVertex() local 326 std::vector<Drawing::Point> lowerControlPoint = { topLeft, topRight, bottomLeft, bottomRight }; in CalculateLowerCtrlPointOfVertex() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_image_span_ffi.cpp | 70 CalcDimension bottomRight = CalcDimension(bottomRightValue); in ParseTextBackgroundStyle() local 72 textBackgroundStyle.backgroundRadius = { topLeft, topRight, bottomRight, bottomLeft }; in ParseTextBackgroundStyle()
|
H A D | cj_button_ffi.cpp | 89 CalcDimension bottomRight(value.bottomRight, static_cast<DimensionUnit>(value.bottomRightUnit)); 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 | 38 Radius bottomRight; member 42 return topLeft.IsValid() || topRight.IsValid() || bottomLeft.IsValid() || bottomRight.IsValid(); in IsValid()
|
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | rosen_render_text_overlay.cpp | 419 Offset bottomRight = (DOT4_POSITION + dot4StartOffset_) * dipScale; in PaintMore() local 435 path.moveTo(SkDoubleToScalar(bottomRight.GetX()), SkDoubleToScalar(bottomRight.GetY())); in PaintMore() 454 Offset bottomRight = (DOT4_POSITION + dot4StartOffset_) * dipScale; in PaintMore() local 469 path.MoveTo(static_cast<float>(bottomRight.GetX()), static_cast<float>(bottomRight.GetY())); in PaintMore()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | menu_modifier.cpp | 168 auto bottomRight = 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 | 139 radius.radiusBottomRight = Dimension(controllerHandler->cornerRadiusRect->bottomRight, 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 D | custom_dialog_model.h | 55 ArkUI_Float32 bottomLeft, ArkUI_Float32 bottomRight);
|
/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() 505 EdgeF bottomRight; member
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | dialog_model.cpp | 122 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 D | dialog_model.h | 53 float bottomLeft, float bottomRight);
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_dialog.h | 160 * @param bottomRight Indicates the radius of the lower right corner of the custom dialog box background. 164 float bottomLeft, float bottomRight);
|
/foundation/arkui/ace_engine/frameworks/core/components/bubble/ |
H A D | render_bubble.cpp | 269 Offset bottomRight; in UpdateTouchRegion() local 275 bottomRight = Offset(0.0, NormalizeToPx(targetSpace_)) + childSize_; in UpdateTouchRegion() 277 bottomRight += Offset(0.0, NormalizeToPx(ARROW_HEIGHT)); in UpdateTouchRegion() 284 bottomRight = Offset(0.0, NormalizeToPx(targetSpace_)) + childSize_; in UpdateTouchRegion() 287 bottomRight += Offset(0.0, NormalizeToPx(ARROW_HEIGHT)); in UpdateTouchRegion() 294 bottomRight = Offset(NormalizeToPx(targetSpace_), 0.0) + childSize_; in UpdateTouchRegion() 296 bottomRight += Offset(NormalizeToPx(ARROW_HEIGHT), 0.0); in UpdateTouchRegion() 303 bottomRight = Offset(NormalizeToPx(targetSpace_), 0.0) + childSize_; in UpdateTouchRegion() 306 bottomRight += Offset(NormalizeToPx(ARROW_HEIGHT), 0.0); in UpdateTouchRegion() 312 touchRegion_ = TouchRegion(topLeft, topLeft + bottomRight); in UpdateTouchRegion() [all...] |
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_dirty_manager.cpp | 805 auto bottomRight = transform * Vector3f(secRectInfo.relativeCoords.GetWidth(),
in CalRectInScreen() local 807 auto left = std::min(topLeft[0], bottomRight[0]);
in CalRectInScreen() 808 auto top = std::min(topLeft[1], bottomRight[1]);
in CalRectInScreen() 811 auto bottomRightX = static_cast<int32_t>(bottomRight[0]);
in CalRectInScreen() 812 auto bottomRightY = static_cast<int32_t>(bottomRight[1]);
in CalRectInScreen()
|