Home
last modified time | relevance | path

Searched refs:leftTop (Results 1 - 19 of 19) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/data_panel/
H A Drosen_render_data_panel.h56 void PaintColorSegment(RenderContext& context, const Offset& leftTop, double segmentValue, double xSegment,
58 void PaintBackground(RenderContext& context, const Offset& leftTop, double totalWidth, double height);
59 void PaintSpace(RenderContext& context, const Offset& leftTop, double spaceWidth, double xSpace, double height);
H A Drosen_render_data_panel.cpp871 RenderContext& context, const Offset& leftTop, double totalWidth, double height) in PaintBackground()
881 rRect.offset(leftTop.GetX(), leftTop.GetY()); in PaintBackground()
887 { leftTop.GetX(), leftTop.GetY(), totalWidth + leftTop.GetX(), height + leftTop.GetY() }, backgroundPaint); in PaintBackground()
891 rRect.Offset(leftTop.GetX(), leftTop.GetY()); in PaintBackground()
896 canvas->DrawRect(RSRect(leftTop in PaintBackground()
870 PaintBackground( RenderContext& context, const Offset& leftTop, double totalWidth, double height) PaintBackground() argument
901 PaintSpace( RenderContext& context, const Offset& leftTop, double spaceWidth, double xSpace, double height) PaintSpace() argument
926 PaintColorSegment(RenderContext& context, const Offset& leftTop, double segmentValue, double xSegment, double height, const Color segmentStartColor, const Color segmentEndColor) PaintColorSegment() argument
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_box_progress.cpp80 Point leftTop; in DrawRoundCap() local
88 leftTop.x = rect.GetLeft() - 1; in DrawRoundCap()
89 leftTop.y = rect.GetTop() + radius - 1; in DrawRoundCap()
90 leftBottom.x = leftTop.x; in DrawRoundCap()
93 rightTop.y = leftTop.y; in DrawRoundCap()
101 leftTop.x = rect.GetLeft() + radius - 1; in DrawRoundCap()
102 leftTop.y = rect.GetTop() - 1; in DrawRoundCap()
104 rightTop.y = leftTop.y; in DrawRoundCap()
105 leftBottom.x = leftTop.x; in DrawRoundCap()
140 arcInfo.center = leftTop; in DrawRoundCap()
[all...]
/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 Drender_tool_bar_item.cpp93 Offset leftTop = GetOffsetToStage(); in ShowMenu() local
97 if (leftTop.GetX() + menuWidth > rootWidth) { in ShowMenu()
98 leftTop.SetX(rootWidth - menuWidth); in ShowMenu()
100 Offset rightBottom = leftTop + layoutSize; in ShowMenu()
101 targetMenuCallBack_(leftTop, rightBottom); in ShowMenu()
H A Dtool_bar_item_element.h32 void OnTargetCallback(const Offset& leftTop, const Offset& rightBottom);
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_base.cpp487 auto leftTop = renderSwitch->GetGlobalOffset(); in UpdateSwitchAccessibility() local
488 node->SetLeft(leftTop.GetX() * viewScale); in UpdateSwitchAccessibility()
489 node->SetTop(leftTop.GetY() * viewScale); in UpdateSwitchAccessibility()
515 auto leftTop = box->GetGlobalOffset(); in UpdatePickerDialogAccessibility() local
516 node->SetLeft(leftTop.GetX() * viewScale); in UpdatePickerDialogAccessibility()
517 node->SetTop(leftTop.GetY() * viewScale); in UpdatePickerDialogAccessibility()
533 auto leftTop = text->GetGlobalOffset(); in UpdateTextAccessibility() local
534 node->SetLeft(leftTop.GetX() * viewScale); in UpdateTextAccessibility()
535 node->SetTop(leftTop.GetY() * viewScale); in UpdateTextAccessibility()
553 auto leftTop in UpdateButtonAccessibility() local
[all...]
H A Drender_picker_column.cpp293 auto leftTop = GetGlobalOffset(); in UpdateAccessibility() local
294 node->SetLeft(leftTop.GetX() * viewScale); in UpdateAccessibility()
295 node->SetTop(leftTop.GetY() * viewScale); in UpdateAccessibility()
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_rect.cpp54 RSPoint leftTop(skRadii[0].x(), skRadii[0].y()); // skRadii[0] is leftTop 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() argument
56 leftTop = selectLeftTop_; 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()
161 selectLeftTop_ = leftTop; in ShowDialog()
144 ShowDialog( const RefPtr<StackElement>& stackElement, const Offset& leftTop, const Offset& rightBottom, bool isMenu) ShowDialog() argument
H A Drender_select_popup.cpp47 auto leftTop = renderPositioned_->GetGlobalOffsetExternal(); in OnPaintFinish() local
48 node->SetLeft(leftTop.GetX() * viewScale); in OnPaintFinish()
49 node->SetTop(leftTop.GetY() * viewScale); in OnPaintFinish()
56 parentNode->SetLeft(leftTop.GetX() * viewScale); in OnPaintFinish()
57 parentNode->SetTop(leftTop.GetY() * viewScale); in OnPaintFinish()
/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_element.cpp154 Offset leftTop = render->GetOffsetToStage(); in HandleClickedEvent() local
155 Offset rightBottom = leftTop + render->GetLayoutSize(); in HandleClickedEvent()
157 selectPopup->ShowDialog(stackElement, leftTop, rightBottom, false); in HandleClickedEvent()
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box.cpp718 Point leftTop; in CalculateRotate() local
723 leftTop.SetX(globalOffset.GetX()); in CalculateRotate()
724 leftTop.SetY(globalOffset.GetY()); in CalculateRotate()
737 leftTop.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/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Ddrawing_painter_impl.cpp83 Drawing::Point leftTop = {ltRadius, ltRadius}; 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.cpp382 auto leftTop = rectVertices[0]; 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()
390 leftTop = OffsetF(visibleContentRect.Left(), visibleContentRect.Top()); 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.h192 const OffsetF& rightTop, const OffsetF& leftTop);
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_controller_test.cpp1342 OffsetF leftTop(0.0f, 0.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.cpp1319 Offset leftTop = { bound->GetX() + GetGlobalOffset().GetX(), in OnSelectPopupMenu() local
1323 popup_->ShowDialog(stackElement, leftTop, rightBottom, false); in OnSelectPopupMenu()
1325 Offset leftTop = { GetGlobalOffset().GetX(), GetGlobalOffset().GetY() }; in OnSelectPopupMenu() local
1327 popup_->ShowDialog(stackElement, leftTop, rightBottom, false); in OnSelectPopupMenu()

Completed in 23 milliseconds