/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/ |
H A D | tool_bar_item_element.cpp | 34 [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 D | tool_bar_item_element.h | 32 void OnTargetCallback(const Offset& leftTop, const Offset& rightBottom);
|
H A D | render_tool_bar_item.cpp | 102 Offset rightBottom = leftTop + layoutSize; in ShowMenu() local 103 targetMenuCallBack_(leftTop, rightBottom); in ShowMenu()
|
/ohos5.0/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()
|
/ohos5.0/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() argument 57 rightBottom = selectRightBottom_; in GetPopupLayout() 252 …const RefPtr<StackElement>& stackElement, const Offset& leftTop, const Offset& rightBottom, bool i…
|
H A D | select_popup_component.cpp | 145 …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 D | texgine_rect.cpp | 56 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 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | base_text_select_overlay.cpp | 384 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 D | base_text_select_overlay.h | 188 bool IsPointInRect(const OffsetF& point, const OffsetF& leftBottom, const OffsetF& rightBottom,
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | render_web.cpp | 1322 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 D | text_field_controller_test.cpp | 1343 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 D | dot_indicator_paint_method.cpp | 104 bool rightBottom = (gestureState_ == GestureState::GESTURE_STATE_RELEASE_RIGHT && in GetLongPointAnimationStateSecondCenter() local 107 if (leftBottom || rightBottom) { in GetLongPointAnimationStateSecondCenter()
|