Home
last modified time | relevance | path

Searched refs:GetRect (Results 1 - 25 of 171) sorted by relevance

1234567

/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dfocus_state_modifier.h69 rosen::Rect(rect.GetRect().Left(), rect.GetRect().Top(), rect.GetRect().Right(), rect.GetRect().Bottom())); in SetRoundRect()
84 RSRect(rect.GetRect().Left(), rect.GetRect().Top(), rect.GetRect().Right(), rect.GetRect().Bottom())); in SetRoundRect()
100 RSRect(rect.GetRect().Left(), rect.GetRect() in SetRoundRect()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Dbutton_element.cpp129 Offset((GetRect().Left() + GetRect().Right()) / 2, (GetRect().Top() + GetRect().Bottom()) / 2)); in OnClick()
131 Offset((GetRect().Right() - GetRect().Left()) / 2, (GetRect().Bottom() - GetRect().Top()) / 2)); in OnClick()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_surface_view.cpp53 x = GetRect().GetLeft(); in SetPosition()
54 y = GetRect().GetTop(); in SetPosition()
66 x = GetRect().GetLeft(); in SetPosition()
67 y = GetRect().GetTop(); in SetPosition()
112 x = GetRect().GetLeft(); in SetX()
123 y = GetRect().GetTop(); in SetY()
149 DrawUtils::GetInstance()->DrawWithBuffer(gfxDstBuffer, GetRect(), invalidatedArea, in Draw()
154 DrawUtils::GetInstance()->DrawTranspantArea(gfxDstBuffer, GetRect(), invalidatedArea); in Draw()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_border.cpp496 float width = borderGeo.rrect.GetRect().GetWidth(); in DrawBorderImpl()
559 float offsetX = borderGeo.rrect.GetRect().GetLeft(); in CalcBorderPath()
560 float offsetY = borderGeo.rrect.GetRect().GetTop(); in CalcBorderPath()
561 float height = borderGeo.rrect.GetRect().GetHeight(); in CalcBorderPath()
562 float width = borderGeo.rrect.GetRect().GetWidth(); in CalcBorderPath()
587 borderGeo.pathVec[RSBorder::BOTTOM].MoveTo(offsetX, offsetY + borderGeo.rrect.GetRect().GetHeight()); in CalcBorderPath()
590 borderGeo.pathVec[RSBorder::BOTTOM].LineTo(offsetX + width, offsetY + borderGeo.rrect.GetRect().GetHeight()); in CalcBorderPath()
615 float width = borderGeo.rrect.GetRect().GetWidth(); in DrawTopBorder()
616 float offsetX = borderGeo.rrect.GetRect().GetLeft(); in DrawTopBorder()
617 float offsetY = borderGeo.rrect.GetRect() in DrawTopBorder()
[all...]
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_input_method_test.cpp98 if (Utils::customAppRect_.width_ == inputMethodWindow->GetRect().width_) { in HWTEST_F()
99 ASSERT_EQ(inputMethodWindow->GetRect().width_, Utils::customAppRect_.width_); in HWTEST_F()
102 if (inputMethodWindow->GetRect().height_ == Utils::customAppRect_.height_) { in HWTEST_F()
103 ASSERT_EQ(inputMethodWindow->GetRect().height_, Utils::customAppRect_.height_); in HWTEST_F()
110 if (Utils::customAppRect_.width_ == inputMethodWindow->GetRect().width_) { in HWTEST_F()
111 ASSERT_EQ(inputMethodWindow->GetRect().width_, Utils::customAppRect_.width_); in HWTEST_F()
112 ASSERT_EQ(inputMethodWindow->GetRect().height_, Utils::customAppRect_.height_); in HWTEST_F()
H A Dwindow_move_drag_test.cpp129 ASSERT_TRUE(Utils::RectEqualToRect(window_->GetRect(), startPointRect_)); in DoMoveOrDrag()
156 startPointRect_ = window_->GetRect(); in HWTEST_F()
177 startPointRect_ = window_->GetRect(); in HWTEST_F()
198 startPointRect_ = window_->GetRect(); in HWTEST_F()
220 startPointRect_ = window_->GetRect(); in HWTEST_F()
242 startPointRect_ = window_->GetRect(); in HWTEST_F()
263 startPointRect_ = window_->GetRect(); in HWTEST_F()
285 startPointRect_ = window_->GetRect(); in HWTEST_F()
305 startPointRect_ = window_->GetRect(); in HWTEST_F()
326 startPointRect_ = window_->GetRect(); in HWTEST_F()
[all...]
H A Dwindow_occupied_area_change_test.cpp128 ASSERT_EQ(testOccupiedAreaChangeListener_->rect_.posX_, window2->GetRect().posX_); in HWTEST_F()
129 ASSERT_EQ(testOccupiedAreaChangeListener_->rect_.posY_, window2->GetRect().posY_); in HWTEST_F()
130 ASSERT_EQ(testOccupiedAreaChangeListener_->rect_.width_, window2->GetRect().width_); in HWTEST_F()
131 ASSERT_EQ(testOccupiedAreaChangeListener_->rect_.height_, window2->GetRect().height_); in HWTEST_F()
/foundation/arkui/ui_lite/test/unittest/dfx/
H A Devent_injector_unit_test.cpp242 Point clickPoint = {static_cast<int16_t>(clickView_->GetRect().GetX() + clickView_->GetWidth() / 2), in HWTEST_F()
243 static_cast<int16_t>(clickView_->GetRect().GetY() + clickView_->GetHeight() / 2)}; in HWTEST_F()
268 Point startPoint = {static_cast<int16_t>(dragView_->GetRect().GetX() + dragView_->GetWidth() / 4), in HWTEST_F()
269 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / 2)}; in HWTEST_F()
271 Point endPoint = {static_cast<int16_t>(dragView_->GetRect().GetX() + dragView_->GetWidth() / 2), in HWTEST_F()
272 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / 2)}; in HWTEST_F()
296 Point startPoint = {static_cast<int16_t>(dragView_->GetRect().GetX() + dragView_->GetWidth() / 4), in HWTEST_F()
297 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / 2)}; in HWTEST_F()
299 Point endPoint = {static_cast<int16_t>(dragView_->GetRect().GetX() + dragView_->GetWidth() / 2), in HWTEST_F()
300 static_cast<int16_t>(dragView_->GetRect() in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_event_injector/
H A Dui_test_event_injector.cpp408 point = {static_cast<int16_t>(clickTestView_->GetRect().GetX() + TEST_VIEW_W / POINT_OFFSET), in OnClick()
409 clickBtn_->GetRect().GetBottom()}; in OnClick()
412 point = {static_cast<int16_t>(dragTestView_->GetRect().GetX() + TEST_VIEW_W / POINT_OFFSET), in OnClick()
413 dragBtn_->GetRect().GetBottom()}; in OnClick()
418 point = {static_cast<int16_t>(longPressTestView_->GetRect().GetX() + TEST_VIEW_W / POINT_OFFSET), in OnClick()
419 longPressBtn_->GetRect().GetBottom()}; in OnClick()
426 scrollPoint = {scrollTestView_->GetRect().GetX(), scrollTestView_->GetRect().GetY()}; in OnClick()
433 scrollPoint = {scrollTestView_->GetRect().GetX(), scrollTestView_->GetRect() in OnClick()
[all...]
/foundation/arkui/ui_lite/frameworks/dock/
H A Dfocus_manager.cpp117 Rect focusedViewRect = focusedView->GetRect(); in CompareCandidatesByUp()
118 Rect currentRect = current->GetRect(); in CompareCandidatesByUp()
123 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByUp()
134 Rect focusedViewRect = focusedView->GetRect(); in CompareCandidatesByDown()
135 Rect currentRect = current->GetRect(); in CompareCandidatesByDown()
140 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByDown()
151 Rect focusedViewRect = focusedView->GetRect(); in CompareCandidatesByLeft()
152 Rect currentRect = current->GetRect(); in CompareCandidatesByLeft()
157 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByLeft()
168 Rect focusedViewRect = focusedView->GetRect(); in CompareCandidatesByRight()
[all...]
/foundation/arkui/ui_lite/test/unittest/events/
H A Devent_bubble_unit_test.cpp272 Point clickPoint = {(int16_t)(clickView_->GetRect().GetX() + clickView_->GetWidth() / 2), in HWTEST_F()
273 (int16_t)(clickView_->GetRect().GetY() + clickView_->GetHeight() / 2)}; in HWTEST_F()
285 Point clickPoint2 = {(int16_t)(unTouchView_->GetRect().GetX() + unTouchView_->GetWidth() / 2), in HWTEST_F()
286 (int16_t)(unTouchView_->GetRect().GetY() + unTouchView_->GetHeight() / 2)}; in HWTEST_F()
308 Point clickPoint = {(int16_t)(clickView_->GetRect().GetX() + clickView_->GetWidth() / 2), in HWTEST_F()
309 (int16_t)(clickView_->GetRect().GetY() + clickView_->GetHeight() / 2)}; in HWTEST_F()
321 Point clickPoint2 = {(int16_t)(unTouchView_->GetRect().GetX() + unTouchView_->GetWidth() / 2), in HWTEST_F()
322 (int16_t)(unTouchView_->GetRect().GetY() + unTouchView_->GetHeight() / 2)}; in HWTEST_F()
340 Point clickPoint = {(int16_t)(clickView_->GetRect().GetX() + clickView_->GetWidth() / 2), in HWTEST_F()
341 (int16_t)(clickView_->GetRect() in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/stepper/
H A Dstepper_element.cpp237 return RequestNextFocus(true, true, GetRect()); in OnKeyEvent()
239 return RequestNextFocus(true, false, GetRect()); in OnKeyEvent()
241 return RequestNextFocus(false, true, GetRect()); in OnKeyEvent()
243 return RequestNextFocus(false, false, GetRect()); in OnKeyEvent()
245 return RequestNextFocus(false, false, GetRect()) || RequestNextFocus(true, false, GetRect()); in OnKeyEvent()
/foundation/arkui/ace_engine/frameworks/core/focus/
H A Dfocus_node.cpp452 Offset((GetRect().Left() + GetRect().Right()) / 2, (GetRect().Top() + GetRect().Bottom()) / 2)); in OnClick()
454 Offset((GetRect().Right() - GetRect().Left()) / 2, (GetRect().Bottom() - GetRect().Top()) / 2)); in OnClick()
647 return RequestNextFocus(true, true, GetRect());
650 return RequestNextFocus(true, false, GetRect());
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Dswiper_element.cpp260 return RequestNextFocus(true, true, GetRect()); in OnKeyEvent()
262 return RequestNextFocus(true, false, GetRect()); in OnKeyEvent()
264 return RequestNextFocus(false, true, GetRect()); in OnKeyEvent()
266 return RequestNextFocus(false, false, GetRect()); in OnKeyEvent()
268 return RequestNextFocus(false, false, GetRect()) || RequestNextFocus(true, false, GetRect()); in OnKeyEvent()
/foundation/arkui/ui_lite/test/uitest/test_transform/
H A Dui_test_transform.cpp85 AddRadioButton(GetRect(RADIO_X, y + RADIO_OFFSET, RADIO_SIZE, RADIO_SIZE), in AddRadioGroup()
91 AddRadioButton(GetRect(RADIO_X, y + RADIO_OFFSET, RADIO_SIZE, RADIO_SIZE), in AddRadioGroup()
96 AddRadioButton(GetRect(RADIO_X, y + RADIO_OFFSET, RADIO_SIZE, RADIO_SIZE), in AddRadioGroup()
101 AddRadioButton(GetRect(RADIO_X, y + RADIO_OFFSET, RADIO_SIZE, RADIO_SIZE), in AddRadioGroup()
106 AddRadioButton(GetRect(RADIO_X, y + RADIO_OFFSET, RADIO_SIZE, RADIO_SIZE), in AddRadioGroup()
111 AddRadioButton(GetRect(RADIO_X, y + RADIO_OFFSET, RADIO_SIZE, RADIO_SIZE), in AddRadioGroup()
116 AddRadioButton(GetRect(RADIO_X, y + RADIO_OFFSET, RADIO_SIZE, RADIO_SIZE), in AddRadioGroup()
/foundation/ability/ability_lite/frameworks/ability_lite/src/
H A Dability_window.cpp29 config.rect = rootView->GetRect(); in SetRootView()
36 Rect rect = rootView->GetRect(); in SetRootView()
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_path.cpp33 if (path_ != nullptr && oval.GetRect() != nullptr) { in AddOval()
34 path_->AddOval(*oval.GetRect(), static_cast<Drawing::PathDirection>(dir)); in AddOval()
H A Dtexgine_canvas.cpp47 if (canvas_ == nullptr || rect.GetRect() == nullptr) { in DrawRect()
52 canvas_->DrawRect(*rect.GetRect()); in DrawRect()
56 canvas_->DrawRect(*rect.GetRect()); in DrawRect()
61 canvas_->DrawRect(*rect.GetRect()); in DrawRect()
/foundation/window/window_manager/utils/test/unittest/
H A Dsurface_draw_test.cpp132 uint32_t width = window->GetRect().width_; in HWTEST_F()
133 uint32_t height = window->GetRect().height_; in HWTEST_F()
193 OHOS::Rosen::Rect rect = window->GetRect(); in HWTEST_F()
256 uint32_t width = window->GetRect().width_; in HWTEST_F()
257 uint32_t height = window->GetRect().height_; in HWTEST_F()
278 OHOS::Rosen::Rect rect = window->GetRect(); in HWTEST_F()
303 OHOS::Rosen::Rect rect = window->GetRect(); in HWTEST_F()
332 OHOS::Rosen::Rect rect = window->GetRect(); in HWTEST_F()
360 OHOS::Rosen::Rect rect = window->GetRect(); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render/systemtest/pipeline/
H A Drs_uni_render_unit_test.cpp124 auto rect = window->GetRect(); in HWTEST_F()
136 rect = window->GetRect(); in HWTEST_F()
193 auto rect1 = window1->GetRect(); in HWTEST_F()
194 auto rect2 = window2->GetRect(); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/systemtest/pipeline/
H A Drs_uni_render_test.cpp126 auto rect = window->GetRect(); in HWTEST_F()
139 rect = window->GetRect(); in HWTEST_F()
204 auto rect1 = window1->GetRect(); in HWTEST_F()
205 auto rect2 = window2->GetRect(); in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Dfreeze_controller.cpp50 return SurfaceDraw::DrawImage(window->GetSurfaceNode(), window->GetRect().width_, in FreezeDisplay()
51 window->GetRect().height_, pixelMap); in FreezeDisplay()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_element.cpp298 return RequestNextFocus(true, true, GetRect()); in OnKeyEvent()
300 return RequestNextFocus(true, false, GetRect()); in OnKeyEvent()
302 return RequestNextFocus(false, true, GetRect()); in OnKeyEvent()
304 return RequestNextFocus(false, false, GetRect()); in OnKeyEvent()
306 return RequestNextFocus(false, false, GetRect()) || RequestNextFocus(true, false, GetRect()); in OnKeyEvent()
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Drrect.h74 const Rect& GetRect() const in GetRect() function in OHOS::Ace::final
142 rrect.GetCorner().topRightRadius == corner_.topRightRadius && rrect.GetRect() == rect_; in operator ==()
/foundation/arkui/ui_lite/test/uitest/test_animator/
H A Dui_test_animator.h59 Rect invalidatedArea = view->GetRect(); in Callback()
61 invalidatedArea.Join(invalidatedArea, view->GetRect()); in Callback()

Completed in 13 milliseconds

1234567