Home
last modified time | relevance | path

Searched refs:rect (Results 1 – 25 of 50) sorted by relevance

12

/base/accessibility/services/aams/test/unittest/
Daccessibility_interaction_bridge_test.cpp88 auto rect = focus.GetRectInScreen(); variable
89 int posx = rect.GetLeftTopXScreenPostion();
90 int posy = rect.GetLeftTopYScreenPostion();
91 int dx = rect.GetRightBottomXScreenPostion();
92 int dy = rect.GetRightBottomYScreenPostion();
131 Rect rect(0, 100, 800, 900); variable
132 AccessibilityWindowInfoManager::GetInstance().SetWindowSize(0, rect);
173 Rect rect(0, 100, 800, 400); variable
174 AccessibilityWindowInfoManager::GetInstance().SetWindowSize(0, rect);
214 Rect rect(0, 100, 800, 400); variable
[all …]
/base/accessibility/frameworks/aafwk/test/unittest/
Ddisplay_resize_controller_test.cpp31 …void OnDisplayResized(const DisplayResizeController& controller, const Rect& rect, const float sca… in OnDisplayResized() argument
158 Rect rect = displayResizeController_->GetDisplayResizeRect(); variable
159 EXPECT_EQ(rect.GetLeftTopXScreenPostion(), 1);
160 EXPECT_EQ(rect.GetLeftTopYScreenPostion(), 1);
238 Rect rect {}; variable
246 displayResizeController_->DispatchOnDisplayResized(rect, scale, centerX, centerY);
Daccessible_ability_client_proxy_test.cpp267 Rect rect {}; variable
271 proxy_->OnDisplayResized(displayId, rect, scale, centerX, centerY);
293 Rect rect {}; variable
297 proxy_->OnDisplayResized(displayId, rect, scale, centerX, centerY);
/base/accessibility/services/aams/src/
Daccessibility_interaction_bridge.cpp103 bool Intersect(Rect& rect, AccessibilityWindowInfo window) in Intersect() argument
106 if (!Intersect(rect, window.GetRectInScreen())) { in Intersect()
112 bool Intersect(Rect& rect, Rosen::Display& display) in Intersect() argument
116 if (!Intersect(rect, source)) { in Intersect()
/base/accessibility/frameworks/asacfwk/test/mock/
Dmock_accessible_ability_channel_stub_impl.h115 Rect rect {}; in GetDisplayResizeRect()
116 rect.SetLeftTopScreenPostion(1, 1); in GetDisplayResizeRect()
117 return rect; in GetDisplayResizeRect()
Dmock_accessible_ability_channel_impl.cpp137 Rect rect(RECT_ONE, RECT_TWO, RECT_THREE, RECT_FOUR); in GetDisplayResizeRect() local
138 return rect; in GetDisplayResizeRect()
Dmock_accessible_ability_channel_stub.h132 Rect rect {}; in GetDisplayResizeRect()
133 return rect; in GetDisplayResizeRect()
/base/accessibility/frameworks/aafwk/include/
Ddisplay_resize_controller.h111 …void DispatchOnDisplayResized(const Rect& rect, const float scale, const float centerX, const floa…
130 …virtual void OnDisplayResized(const DisplayResizeController& controller, const Rect& rect, const f…
Daccessible_ability_client_stub_impl.h86 …void OnDisplayResized(const int displayId, const Rect &rect, const float scale, const float center…
117 …void OnDisplayResizedInner(const int displayId, const Rect &rect, const float scale, const float c…
Daccessible_ability_client_interface.h71 …virtual void OnDisplayResized(const int displayId, const Rect &rect, const float scale, const floa…
/base/accessibility/services/aams/test/mock/
Daccessibility_operator_mock.cpp106 Rect rect(leftTopX, leftTopY, rightBottomX, rightBottomY); in FindFocusedElementInfo() local
107 focus.SetRectInScreen(rect); in FindFocusedElementInfo()
172 Rect rect {}; in GetDisplayResizeRect() local
173 return rect; in GetDisplayResizeRect()
Daccessible_ability_client_stub_impl_mock.cpp60 void AccessibleAbilityClientStubImpl::OnDisplayResized(const int displayId, const Rect &rect, const… in OnDisplayResized() argument
64 void AccessibleAbilityClientStubImpl::OnDisplayResizedInner(const int displayId, const Rect &rect, in OnDisplayResizedInner() argument
Dmock_display_manager.cpp28 bool CheckRectValid(const Media::Rect& rect, int32_t oriHeight, int32_t oriWidth) const;
33 bool DisplayManager::Impl::CheckRectValid(const Media::Rect& rect, int32_t oriHeight, int32_t oriWi… in CheckRectValid() argument
72 …ed_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, const Media::Rect &rect, in GetScreenshot() argument
Daccessible_ability_channel_proxy_mock.cpp107 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect() local
108 return rect; in GetDisplayResizeRect()
/base/accessibility/services/test/mock/
Daccessibility_operator_mock.cpp105 Rect rect(0, LEFT_TOP_Y, RIGHT_BOTTOM_X, RIGHT_BOTTOM_Y); in FindFocusedElementInfo() local
106 focus.SetRectInScreen(rect); in FindFocusedElementInfo()
171 Rect rect {}; in GetDisplayResizeRect() local
172 return rect; in GetDisplayResizeRect()
Daccessible_ability_client_stub_impl_mock.cpp60 void AccessibleAbilityClientStubImpl::OnDisplayResized(const int displayId, const Rect &rect, const… in OnDisplayResized() argument
64 void AccessibleAbilityClientStubImpl::OnDisplayResizedInner(const int displayId, const Rect &rect, in OnDisplayResizedInner() argument
Dmock_display_manager.cpp30 bool CheckRectValid(const Media::Rect& rect, int32_t oriHeight, int32_t oriWidth) const;
35 bool DisplayManager::Impl::CheckRectValid(const Media::Rect& rect, int32_t oriHeight, int32_t oriWi… in CheckRectValid() argument
74 …ed_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, const Media::Rect &rect, in GetScreenshot() argument
Daccessible_ability_channel_proxy_mock.cpp107 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect() local
108 return rect; in GetDisplayResizeRect()
/base/accessibility/frameworks/aafwk/src/
Daccessible_ability_client_stub.cpp126 sptr<Rect> rect = data.ReadStrongParcelable<Rect>(); in HandleOnDisplayResized() local
127 if (!rect) { in HandleOnDisplayResized()
136 OnDisplayResized(displayId, *rect, scale, centerX, centerY); in HandleOnDisplayResized()
Ddisplay_resize_controller.cpp107 void DisplayResizeController::DispatchOnDisplayResized(const Rect& rect, in DispatchOnDisplayResized() argument
112 listener->OnDisplayResized(*this, rect, scale, centerX, centerY); in DispatchOnDisplayResized()
/base/accessibility/frameworks/asacfwk/test/unittest/
Daccessibility_element_info_test.cpp293 Rect rect {}; variable
294 rect.Marshalling(parcel);
295 EXPECT_TRUE(rect.ReadFromParcel(parcel));
324 Rect rect {}; variable
325 EXPECT_TRUE(rect.Marshalling(parcel));
/base/accessibility/frameworks/aafwk/test/mock/
Dmock_accessible_ability_channel_stub.h111 Rect rect {}; in GetDisplayResizeRect()
112 return rect; in GetDisplayResizeRect()
Dmock_accessible_ability_channel_proxy.cpp143 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect() local
144 return rect; in GetDisplayResizeRect()
Dmock_accessibility_operator.cpp228 Rect rect {}; in GetDisplayResizeRect() local
229 rect.SetLeftTopScreenPostion(1, 1); in GetDisplayResizeRect()
230 return rect; in GetDisplayResizeRect()
Dmock_accessible_ability_client_stub_impl.h54 …virtual void OnDisplayResized(const int displayId, const Rect &rect, const float scale, const floa… in OnDisplayResized() argument

12