/base/accessibility/services/aams/test/unittest/ |
D | accessibility_interaction_bridge_test.cpp | 88 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/ |
D | display_resize_controller_test.cpp | 31 …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);
|
D | accessible_ability_client_proxy_test.cpp | 267 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/ |
D | accessibility_interaction_bridge.cpp | 103 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/ |
D | mock_accessible_ability_channel_stub_impl.h | 115 Rect rect {}; in GetDisplayResizeRect() 116 rect.SetLeftTopScreenPostion(1, 1); in GetDisplayResizeRect() 117 return rect; in GetDisplayResizeRect()
|
D | mock_accessible_ability_channel_impl.cpp | 137 Rect rect(RECT_ONE, RECT_TWO, RECT_THREE, RECT_FOUR); in GetDisplayResizeRect() local 138 return rect; in GetDisplayResizeRect()
|
D | mock_accessible_ability_channel_stub.h | 132 Rect rect {}; in GetDisplayResizeRect() 133 return rect; in GetDisplayResizeRect()
|
/base/accessibility/frameworks/aafwk/include/ |
D | display_resize_controller.h | 111 …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…
|
D | accessible_ability_client_stub_impl.h | 86 …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…
|
D | accessible_ability_client_interface.h | 71 …virtual void OnDisplayResized(const int displayId, const Rect &rect, const float scale, const floa…
|
/base/accessibility/services/aams/test/mock/ |
D | accessibility_operator_mock.cpp | 106 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()
|
D | accessible_ability_client_stub_impl_mock.cpp | 60 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
|
D | mock_display_manager.cpp | 28 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
|
D | accessible_ability_channel_proxy_mock.cpp | 107 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect() local 108 return rect; in GetDisplayResizeRect()
|
/base/accessibility/services/test/mock/ |
D | accessibility_operator_mock.cpp | 105 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()
|
D | accessible_ability_client_stub_impl_mock.cpp | 60 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
|
D | mock_display_manager.cpp | 30 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
|
D | accessible_ability_channel_proxy_mock.cpp | 107 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect() local 108 return rect; in GetDisplayResizeRect()
|
/base/accessibility/frameworks/aafwk/src/ |
D | accessible_ability_client_stub.cpp | 126 sptr<Rect> rect = data.ReadStrongParcelable<Rect>(); in HandleOnDisplayResized() local 127 if (!rect) { in HandleOnDisplayResized() 136 OnDisplayResized(displayId, *rect, scale, centerX, centerY); in HandleOnDisplayResized()
|
D | display_resize_controller.cpp | 107 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/ |
D | accessibility_element_info_test.cpp | 293 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/ |
D | mock_accessible_ability_channel_stub.h | 111 Rect rect {}; in GetDisplayResizeRect() 112 return rect; in GetDisplayResizeRect()
|
D | mock_accessible_ability_channel_proxy.cpp | 143 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect() local 144 return rect; in GetDisplayResizeRect()
|
D | mock_accessibility_operator.cpp | 228 Rect rect {}; in GetDisplayResizeRect() local 229 rect.SetLeftTopScreenPostion(1, 1); in GetDisplayResizeRect() 230 return rect; in GetDisplayResizeRect()
|
D | mock_accessible_ability_client_stub_impl.h | 54 …virtual void OnDisplayResized(const int displayId, const Rect &rect, const float scale, const floa… in OnDisplayResized() argument
|