Home
last modified time | relevance | path

Searched refs:rightBottom (Results 1 - 15 of 15) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/
H A Dtool_bar_item_element.cpp30 [weak = WeakClaim(this)](const Offset& leftTop, const Offset& rightBottom) { in Prepare()
33 toolBarItemElement->OnTargetCallback(leftTop, rightBottom); in Prepare()
109 void ToolBarItemElement::OnTargetCallback(const Offset& leftTop, const Offset& rightBottom) in OnTargetCallback() argument
127 popup_->ShowDialog(stack, leftTop, rightBottom, false); in OnTargetCallback()
H A Dtool_bar_item_element.h32 void OnTargetCallback(const Offset& leftTop, const Offset& rightBottom);
H A Drender_tool_bar_item.cpp100 Offset rightBottom = leftTop + layoutSize; in ShowMenu() local
101 targetMenuCallBack_(leftTop, rightBottom); in ShowMenu()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_box_progress.cpp83 Point rightBottom; in DrawRoundCap() local
94 rightBottom.x = rightTop.x; in DrawRoundCap()
95 rightBottom.y = leftBottom.y; in DrawRoundCap()
107 rightBottom.x = rightTop.x; in DrawRoundCap()
108 rightBottom.y = leftBottom.y; in DrawRoundCap()
158 arcInfo.center = rightBottom; in DrawRoundCap()
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_rect.cpp56 RSPoint rightBottom(skRadii[2].x(), skRadii[2].y()); // skRadii[2] is rightBottom corner in MakeRRect()
58 std::vector<RSPoint> radiusXY = { leftTop, rightTop, rightBottom, leftBottom }; in MakeRRect()
/foundation/arkui/ace_engine/frameworks/core/components/select_popup/
H A Dselect_popup_component.h54 void GetPopupLayout(Offset& leftTop, Offset& rightBottom) const in GetPopupLayout()
57 rightBottom = selectRightBottom_; in GetPopupLayout()
252 const RefPtr<StackElement>& stackElement, const Offset& leftTop, const Offset& rightBottom, bool isMenu);
H A Dselect_popup_component.cpp145 const RefPtr<StackElement>& stackElement, const Offset& leftTop, const Offset& rightBottom, bool isMenu) in ShowDialog()
157 Offset center(leftTop.GetX() / 2 + rightBottom.GetX() / 2, leftTop.GetY() / 2 + rightBottom.GetY() / 2); in ShowDialog()
162 selectRightBottom_ = rightBottom; in ShowDialog()
144 ShowDialog( const RefPtr<StackElement>& stackElement, const Offset& leftTop, const Offset& rightBottom, bool isMenu) ShowDialog() argument
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box.cpp721 Point rightBottom; in CalculateRotate() local
732 rightBottom.SetX(globalOffset.GetX() + size.Width()); in CalculateRotate()
733 rightBottom.SetY(globalOffset.GetY() + size.Height()); in CalculateRotate()
740 rightBottom.Rotate(center, RotateAngle); in CalculateRotate()
742 double min_X = std::min({ leftTop.GetX(), rightTop.GetX(), leftBottom.GetX(), rightBottom.GetX() }); in CalculateRotate()
743 double max_X = std::max({ leftTop.GetX(), rightTop.GetX(), leftBottom.GetX(), rightBottom.GetX() }); in CalculateRotate()
744 double min_Y = std::min({ leftTop.GetY(), rightTop.GetY(), leftBottom.GetY(), rightBottom.GetY() }); in CalculateRotate()
745 double max_Y = std::max({ leftTop.GetY(), rightTop.GetY(), leftBottom.GetY(), rightBottom.GetY() }); in CalculateRotate()
/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_element.cpp155 Offset rightBottom = leftTop + render->GetLayoutSize(); in HandleClickedEvent() local
157 selectPopup->ShowDialog(stackElement, leftTop, rightBottom, false); in HandleClickedEvent()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Ddrawing_painter_impl.cpp85 Drawing::Point rightBottom = {rbRadius, rbRadius}; in ToDrawingRoundRect() local
87 Drawing::RoundRect roundRect(rect, {leftTop, rightTop, rightBottom, leftBottom}); in ToDrawingRoundRect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dbase_text_select_overlay.cpp385 auto rightBottom = rectVertices[3]; in CheckHandleIsVisibleWithTransform() local
386 auto isStartPointInRect = IsPointInRect(startPoint, leftBottom, rightBottom, rightTop, leftTop); in CheckHandleIsVisibleWithTransform()
387 auto isEndPointInRect = IsPointInRect(endPoint, leftBottom, rightBottom, rightTop, leftTop); in CheckHandleIsVisibleWithTransform()
393 rightBottom = OffsetF(visibleContentRect.Right(), visibleContentRect.Bottom()); in CheckHandleIsVisibleWithTransform()
394 isStartPointInRect = IsPointInRect(startPoint, leftBottom, rightBottom, rightTop, leftTop); in CheckHandleIsVisibleWithTransform()
395 isEndPointInRect = IsPointInRect(endPoint, leftBottom, rightBottom, rightTop, leftTop); in CheckHandleIsVisibleWithTransform()
H A Dbase_text_select_overlay.h191 bool IsPointInRect(const OffsetF& point, const OffsetF& leftBottom, const OffsetF& rightBottom,
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_controller_test.cpp1345 OffsetF rightBottom(5.0f, 5.0f); in HWTEST_F()
1347 auto ret = pattern_->selectOverlay_->IsPointInRect(point, leftBottom, rightBottom, rightTop, leftTop); in HWTEST_F()
1350 ret = pattern_->selectOverlay_->IsPointInRect(point, leftBottom, rightBottom, rightTop, leftTop); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Drender_web.cpp1321 Offset rightBottom = { bound->GetX() + GetGlobalOffset().GetX() + bound->GetWidth(), in OnSelectPopupMenu() local
1323 popup_->ShowDialog(stackElement, leftTop, rightBottom, false); in OnSelectPopupMenu()
1326 Offset rightBottom = { GetGlobalOffset().GetX(), GetGlobalOffset().GetY() }; in OnSelectPopupMenu() local
1327 popup_->ShowDialog(stackElement, leftTop, rightBottom, false); in OnSelectPopupMenu()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_paint_method.cpp103 bool rightBottom = (gestureState_ == GestureState::GESTURE_STATE_RELEASE_RIGHT && in GetLongPointAnimationStateSecondCenter() local
106 if (leftBottom || rightBottom) { in GetLongPointAnimationStateSecondCenter()

Completed in 16 milliseconds