/base/accessibility/services/test/moduletest/aamstest/aams_accessibility_touch_guider_test/mock/ |
D | accessibility_window_info_mock.cpp | 39 std::shared_ptr<Rect> boundsInScreen(parcel.ReadParcelable<Rect>()); in ReadFromParcel() 156 Rect AccessibilityWindowInfo::GetRectInScreen() const in GetRectInScreen() 161 void AccessibilityWindowInfo::SetRectInScreen(const Rect &bounds) in SetRectInScreen() 163 boundsInScreen_.SetLeftTopScreenPostion(const_cast<Rect &>(bounds).GetLeftTopXScreenPostion(), in SetRectInScreen() 164 const_cast<Rect &>(bounds).GetLeftTopYScreenPostion()); in SetRectInScreen() 165 …boundsInScreen_.SetRightBottomScreenPostion(const_cast<Rect &>(bounds).GetRightBottomXScreenPostio… in SetRectInScreen() 166 const_cast<Rect &>(bounds).GetRightBottomYScreenPostion()); in SetRectInScreen()
|
/base/accessibility/services/test/moduletest/aamstest/aams_accessibility_touchEvent_injector_test/mock/ |
D | accessibility_window_info_mock.cpp | 39 std::shared_ptr<Rect> boundsInScreen(parcel.ReadParcelable<Rect>()); in ReadFromParcel() 156 Rect AccessibilityWindowInfo::GetRectInScreen() const in GetRectInScreen() 161 void AccessibilityWindowInfo::SetRectInScreen(const Rect &bounds) in SetRectInScreen() 163 boundsInScreen_.SetLeftTopScreenPostion(const_cast<Rect &>(bounds).GetLeftTopXScreenPostion(), in SetRectInScreen() 164 const_cast<Rect &>(bounds).GetLeftTopYScreenPostion()); in SetRectInScreen() 165 …boundsInScreen_.SetRightBottomScreenPostion(const_cast<Rect &>(bounds).GetRightBottomXScreenPostio… in SetRectInScreen() 166 const_cast<Rect &>(bounds).GetRightBottomYScreenPostion()); in SetRectInScreen()
|
/base/accessibility/services/aams/test/mock/ |
D | accessibility_window_info_mock.cpp | 42 std::shared_ptr<Rect> boundsInScreen(parcel.ReadParcelable<Rect>()); in ReadFromParcel() 158 Rect AccessibilityWindowInfo::GetRectInScreen() const in GetRectInScreen() 163 void AccessibilityWindowInfo::SetRectInScreen(const Rect &bounds) in SetRectInScreen() 165 boundsInScreen_.SetLeftTopScreenPostion(const_cast<Rect &>(bounds).GetLeftTopXScreenPostion(), in SetRectInScreen() 166 const_cast<Rect &>(bounds).GetLeftTopYScreenPostion()); in SetRectInScreen() 167 …boundsInScreen_.SetRightBottomScreenPostion(const_cast<Rect &>(bounds).GetRightBottomXScreenPostio… in SetRectInScreen() 168 const_cast<Rect &>(bounds).GetRightBottomYScreenPostion()); in SetRectInScreen()
|
D | accessible_ability_client_stub_impl_mock.cpp | 60 void AccessibleAbilityClientStubImpl::OnDisplayResized(const int displayId, const Rect &rect, const… in OnDisplayResized() 64 void AccessibleAbilityClientStubImpl::OnDisplayResizedInner(const int displayId, const Rect &rect, in OnDisplayResizedInner()
|
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() 72 …ed_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, const Media::Rect &rect, in GetScreenshot()
|
D | accessible_ability_channel_proxy_mock.cpp | 105 Rect AccessibleAbilityChannelProxy::GetDisplayResizeRect(const int displayId) in GetDisplayResizeRect() 107 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect()
|
D | accessibility_info_mock.cpp | 154 Rect AccessibilityElementInfo::GetRectInScreen() const in GetRectInScreen() 159 void AccessibilityElementInfo::SetRectInScreen(Rect &bounds) in SetRectInScreen() 730 bool Rect::ReadFromParcel(Parcel &parcel) in ReadFromParcel() 735 bool Rect::Marshalling(Parcel &parcel) const in Marshalling() 740 sptr<Rect> Rect::Unmarshalling(Parcel& parcel) in Unmarshalling()
|
D | accessibility_operator_mock.cpp | 106 Rect rect(leftTopX, leftTopY, rightBottomX, rightBottomY); in FindFocusedElementInfo() 170 Rect AccessibilityOperator::GetDisplayResizeRect(const int channelId, const int displayId) in GetDisplayResizeRect() 172 Rect rect {}; in GetDisplayResizeRect()
|
/base/accessibility/frameworks/aafwk/include/ |
D | display_resize_controller.h | 70 Rect GetDisplayResizeRect(); 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…
|
/base/accessibility/frameworks/asacfwk/src/ |
D | accessibility_window_info.cpp | 39 sptr<Rect> boundsInScreen = parcel.ReadStrongParcelable<Rect>(); in ReadFromParcel() 227 Rect AccessibilityWindowInfo::GetRectInScreen() const in GetRectInScreen() 232 void AccessibilityWindowInfo::SetRectInScreen(const Rect &bounds) in SetRectInScreen() 234 boundsInScreen_.SetLeftTopScreenPostion(const_cast<Rect &>(bounds).GetLeftTopXScreenPostion(), in SetRectInScreen() 235 const_cast<Rect &>(bounds).GetLeftTopYScreenPostion()); in SetRectInScreen() 236 …boundsInScreen_.SetRightBottomScreenPostion(const_cast<Rect &>(bounds).GetRightBottomXScreenPostio… in SetRectInScreen() 237 const_cast<Rect &>(bounds).GetRightBottomYScreenPostion()); in SetRectInScreen()
|
/base/accessibility/services/aams/include/ |
D | accessibility_zoom_proxy.h | 49 virtual void OnDisplayResized(Rect &outRegion) {} in OnDisplayResized() 177 Rect GetDisplayResizeRect(int displayId) in GetDisplayResizeRect() 179 Rect rc {}; in GetDisplayResizeRect()
|
/base/accessibility/services/aams/src/ |
D | accessibility_interaction_bridge.cpp | 87 bool Intersect(Rect& focus, Rect source) in Intersect() 103 bool Intersect(Rect& rect, AccessibilityWindowInfo window) in Intersect() 112 bool Intersect(Rect& rect, Rosen::Display& display) in Intersect() 115 Rect source(0, 0, display.GetWidth(), display.GetHeight()); in Intersect()
|
/base/accessibility/interfaces/innerkits/asacfwk/include/ |
D | accessibility_window_info.h | 219 Rect GetRectInScreen() const; 228 void SetRectInScreen(const Rect &bounds); 351 Rect boundsInScreen_ {};
|
D | accessibility_element_info.h | 536 class Rect : public Parcelable { 545 Rect() {} in Rect() function 554 virtual ~Rect() = default; 566 Rect(int leftTopX, int leftTopY, int rightBottomX, int rightBottomY) in Rect() function 677 static sptr<Rect> Unmarshalling(Parcel &parcel); 948 Rect GetRectInScreen() const; 957 void SetRectInScreen(Rect &bounds); 1805 Rect bounds_ {};
|
/base/accessibility/services/test/mock/ |
D | accessibility_window_info_mock.cpp | 39 std::shared_ptr<Rect> boundsInScreen(parcel.ReadParcelable<Rect>()); in ReadFromParcel() 155 Rect AccessibilityWindowInfo::GetRectInScreen() const in GetRectInScreen() 160 void AccessibilityWindowInfo::SetRectInScreen(const Rect &bounds) in SetRectInScreen()
|
D | accessible_ability_client_stub_impl_mock.cpp | 60 void AccessibleAbilityClientStubImpl::OnDisplayResized(const int displayId, const Rect &rect, const… in OnDisplayResized() 64 void AccessibleAbilityClientStubImpl::OnDisplayResizedInner(const int displayId, const Rect &rect, in OnDisplayResizedInner()
|
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() 74 …ed_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, const Media::Rect &rect, in GetScreenshot()
|
D | accessible_ability_channel_proxy_mock.cpp | 105 Rect AccessibleAbilityChannelProxy::GetDisplayResizeRect(const int displayId) in GetDisplayResizeRect() 107 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect()
|
D | accessibility_info_mock.cpp | 145 Rect AccessibilityElementInfo::GetRectInScreen() const in GetRectInScreen() 150 void AccessibilityElementInfo::SetRectInScreen(Rect &bounds) in SetRectInScreen() 669 bool Rect::ReadFromParcel(Parcel &parcel) in ReadFromParcel() 674 bool Rect::Marshalling(Parcel &parcel) const in Marshalling() 679 sptr<Rect> Rect::Unmarshalling(Parcel& parcel) in Unmarshalling()
|
D | accessibility_operator_mock.cpp | 105 Rect rect(0, LEFT_TOP_Y, RIGHT_BOTTOM_X, RIGHT_BOTTOM_Y); in FindFocusedElementInfo() 169 Rect AccessibilityOperator::GetDisplayResizeRect(const int channelId, const int displayId) in GetDisplayResizeRect() 171 Rect rect {}; in GetDisplayResizeRect()
|
/base/accessibility/frameworks/aafwk/test/mock/ |
D | mock_accessibility_element_info.cpp | 178 Rect AccessibilityElementInfo::GetRectInScreen() const in GetRectInScreen() 183 void AccessibilityElementInfo::SetRectInScreen(Rect &bounds) in SetRectInScreen() 834 bool Rect::ReadFromParcel(Parcel &parcel) in ReadFromParcel() 840 bool Rect::Marshalling(Parcel &parcel) const in Marshalling() 846 sptr<Rect> Rect::Unmarshalling(Parcel& parcel) in Unmarshalling() 849 sptr<Rect> rect = new Rect(); in Unmarshalling()
|
D | mock_accessibility_window_info.cpp | 130 Rect AccessibilityWindowInfo::GetRectInScreen() const in GetRectInScreen() 135 void AccessibilityWindowInfo::SetRectInScreen(const Rect &bounds) in SetRectInScreen()
|
/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() 158 Rect rect = displayResizeController_->GetDisplayResizeRect(); 238 Rect rect {};
|
/base/accessibility/frameworks/aafwk/src/ |
D | display_resize_controller.cpp | 73 Rect DisplayResizeController::GetDisplayResizeRect() in GetDisplayResizeRect() 107 void DisplayResizeController::DispatchOnDisplayResized(const Rect& rect, in DispatchOnDisplayResized()
|