Home
last modified time | relevance | path

Searched refs:bottomRight (Results 1 - 25 of 46) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_container_span.cpp57 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 Djs_menu.cpp164 CalcDimension bottomRight; in HandleDifferentRadius() local
165 if (ParseJsDimensionVp(object->GetProperty("bottomRight"), bottomRight)) { in HandleDifferentRadius()
166 radiusBottomRight = bottomRight; in HandleDifferentRadius()
H A Djs_utils.cpp220 CalcDimension bottomRight; in HandleDifferentRadius() local
221 if (JSViewAbstract::ParseJsDimensionVp(object->GetProperty("bottomRight"), bottomRight)) { in HandleDifferentRadius()
222 radiusBottomRight = bottomRight; in HandleDifferentRadius()
H A Djs_search.h50 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight);
H A Djs_image.cpp403 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 Djs_search.cpp818 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 Djs_textfield.h73 CalcDimension& topRight, CalcDimension& bottomLeft, CalcDimension& bottomRight);
H A Djs_textfield.cpp919 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 Darkts_native_menu_bridge.cpp211 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 Darkts_native_image_span_bridge.cpp386 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 Darkts_native_image_bridge.cpp779 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 Drs_attraction_effect_filter.cpp122 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 Dcj_image_span_ffi.cpp70 CalcDimension bottomRight = CalcDimension(bottomRightValue); in ParseTextBackgroundStyle() local
72 textBackgroundStyle.backgroundRadius = { topLeft, topRight, bottomRight, bottomLeft }; in ParseTextBackgroundStyle()
H A Dcj_button_ffi.cpp89 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 Dsvg_dom.h38 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 Drosen_render_text_overlay.cpp419 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 Dmenu_modifier.cpp168 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 Dcustom_dialog_model.cpp139 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 Dcustom_dialog_model.h55 ArkUI_Float32 bottomLeft, ArkUI_Float32 bottomRight);
/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()
505 EdgeF bottomRight; 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.h160 * @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 Drender_bubble.cpp269 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 Dscene_session_dirty_manager.cpp805 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()

Completed in 23 milliseconds

12