Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/
H A Dtool_bar_item_element.cpp34 [weak = WeakClaim(this)](const Offset& leftTop, const Offset& rightBottom) { in Prepare() argument
37 toolBarItemElement->OnTargetCallback(leftTop, rightBottom); in Prepare()
113 void ToolBarItemElement::OnTargetCallback(const Offset& leftTop, const Offset& rightBottom) in OnTargetCallback() argument
131 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.cpp102 Offset rightBottom = leftTop + layoutSize; in ShowMenu() local
103 targetMenuCallBack_(leftTop, rightBottom); in ShowMenu()
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select_popup/
H A Dselect_popup_component.h54 void GetPopupLayout(Offset& leftTop, Offset& rightBottom) const in GetPopupLayout() argument
57 rightBottom = selectRightBottom_; in GetPopupLayout()
252 …const RefPtr<StackElement>& stackElement, const Offset& leftTop, const Offset& rightBottom, bool i…
H A Dselect_popup_component.cpp145 …const RefPtr<StackElement>& stackElement, const Offset& leftTop, const Offset& rightBottom, bool i… in ShowDialog() argument
157 …Offset center(leftTop.GetX() / 2 + rightBottom.GetX() / 2, leftTop.GetY() / 2 + rightBottom.GetY()… in ShowDialog()
162 selectRightBottom_ = rightBottom; in ShowDialog()
/ohos5.0/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() local
58 std::vector<RSPoint> radiusXY = { leftTop, rightTop, rightBottom, leftBottom }; in MakeRRect()
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dbase_text_select_overlay.cpp384 auto rightBottom = rectVertices[3]; in CheckHandleIsVisibleWithTransform() local
385 auto isStartPointInRect = IsPointInRect(startPoint, leftBottom, rightBottom, rightTop, leftTop); in CheckHandleIsVisibleWithTransform()
386 auto isEndPointInRect = IsPointInRect(endPoint, leftBottom, rightBottom, rightTop, leftTop); in CheckHandleIsVisibleWithTransform()
392 rightBottom = OffsetF(visibleContentRect.Right(), visibleContentRect.Bottom()); in CheckHandleIsVisibleWithTransform()
393 isStartPointInRect = IsPointInRect(startPoint, leftBottom, rightBottom, rightTop, leftTop); in CheckHandleIsVisibleWithTransform()
394 isEndPointInRect = IsPointInRect(endPoint, leftBottom, rightBottom, rightTop, leftTop); in CheckHandleIsVisibleWithTransform()
H A Dbase_text_select_overlay.h188 bool IsPointInRect(const OffsetF& point, const OffsetF& leftBottom, const OffsetF& rightBottom,
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Drender_web.cpp1322 Offset rightBottom = { bound->GetX() + GetGlobalOffset().GetX() + bound->GetWidth(), in OnSelectPopupMenu() local
1324 popup_->ShowDialog(stackElement, leftTop, rightBottom, false); in OnSelectPopupMenu()
1327 Offset rightBottom = { GetGlobalOffset().GetX(), GetGlobalOffset().GetY() }; in OnSelectPopupMenu() local
1328 popup_->ShowDialog(stackElement, leftTop, rightBottom, false); in OnSelectPopupMenu()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_controller_test.cpp1343 OffsetF rightBottom(5.0f, 5.0f); variable
1345 …auto ret = pattern_->selectOverlay_->IsPointInRect(point, leftBottom, rightBottom, rightTop, leftT…
1348 … ret = pattern_->selectOverlay_->IsPointInRect(point, leftBottom, rightBottom, rightTop, leftTop);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_paint_method.cpp104 bool rightBottom = (gestureState_ == GestureState::GESTURE_STATE_RELEASE_RIGHT && in GetLongPointAnimationStateSecondCenter() local
107 if (leftBottom || rightBottom) { in GetLongPointAnimationStateSecondCenter()