/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/ |
H A D | tool_bar_item_element.cpp | 30 [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 D | tool_bar_item_element.h | 32 void OnTargetCallback(const Offset& leftTop, const Offset& rightBottom);
|
H A D | render_tool_bar_item.cpp | 100 Offset rightBottom = leftTop + layoutSize; in ShowMenu() local 101 targetMenuCallBack_(leftTop, rightBottom); in ShowMenu()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_box_progress.cpp | 83 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 D | texgine_rect.cpp | 56 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 D | select_popup_component.h | 54 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 D | select_popup_component.cpp | 145 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 D | render_box.cpp | 721 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 D | select_element.cpp | 155 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 D | drawing_painter_impl.cpp | 85 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 D | base_text_select_overlay.cpp | 385 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 D | base_text_select_overlay.h | 191 bool IsPointInRect(const OffsetF& point, const OffsetF& leftBottom, const OffsetF& rightBottom,
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_controller_test.cpp | 1345 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 D | render_web.cpp | 1321 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 D | dot_indicator_paint_method.cpp | 103 bool rightBottom = (gestureState_ == GestureState::GESTURE_STATE_RELEASE_RIGHT && in GetLongPointAnimationStateSecondCenter() local 106 if (leftBottom || rightBottom) { in GetLongPointAnimationStateSecondCenter()
|