Home
last modified time | relevance | path

Searched refs:Rect (Results 1 – 25 of 68) sorted by relevance

123

/base/accessibility/services/test/moduletest/aamstest/aams_accessibility_touch_guider_test/mock/
Daccessibility_window_info_mock.cpp39 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/
Daccessibility_window_info_mock.cpp39 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/
Daccessibility_window_info_mock.cpp42 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()
Daccessible_ability_client_stub_impl_mock.cpp60 void AccessibleAbilityClientStubImpl::OnDisplayResized(const int displayId, const Rect &rect, const… in OnDisplayResized()
64 void AccessibleAbilityClientStubImpl::OnDisplayResizedInner(const int displayId, const Rect &rect, in OnDisplayResizedInner()
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()
72 …ed_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, const Media::Rect &rect, in GetScreenshot()
Daccessible_ability_channel_proxy_mock.cpp105 Rect AccessibleAbilityChannelProxy::GetDisplayResizeRect(const int displayId) in GetDisplayResizeRect()
107 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect()
Daccessibility_info_mock.cpp154 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()
Daccessibility_operator_mock.cpp106 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/
Ddisplay_resize_controller.h70 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…
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…
/base/accessibility/frameworks/asacfwk/src/
Daccessibility_window_info.cpp39 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/
Daccessibility_zoom_proxy.h49 virtual void OnDisplayResized(Rect &outRegion) {} in OnDisplayResized()
177 Rect GetDisplayResizeRect(int displayId) in GetDisplayResizeRect()
179 Rect rc {}; in GetDisplayResizeRect()
/base/accessibility/services/aams/src/
Daccessibility_interaction_bridge.cpp87 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/
Daccessibility_window_info.h219 Rect GetRectInScreen() const;
228 void SetRectInScreen(const Rect &bounds);
351 Rect boundsInScreen_ {};
Daccessibility_element_info.h536 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/
Daccessibility_window_info_mock.cpp39 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()
Daccessible_ability_client_stub_impl_mock.cpp60 void AccessibleAbilityClientStubImpl::OnDisplayResized(const int displayId, const Rect &rect, const… in OnDisplayResized()
64 void AccessibleAbilityClientStubImpl::OnDisplayResizedInner(const int displayId, const Rect &rect, in OnDisplayResizedInner()
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()
74 …ed_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, const Media::Rect &rect, in GetScreenshot()
Daccessible_ability_channel_proxy_mock.cpp105 Rect AccessibleAbilityChannelProxy::GetDisplayResizeRect(const int displayId) in GetDisplayResizeRect()
107 Rect rect(0, 0, 0, 0); in GetDisplayResizeRect()
Daccessibility_info_mock.cpp145 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()
Daccessibility_operator_mock.cpp105 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/
Dmock_accessibility_element_info.cpp178 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()
Dmock_accessibility_window_info.cpp130 Rect AccessibilityWindowInfo::GetRectInScreen() const in GetRectInScreen()
135 void AccessibilityWindowInfo::SetRectInScreen(const Rect &bounds) in SetRectInScreen()
/base/accessibility/frameworks/aafwk/test/unittest/
Ddisplay_resize_controller_test.cpp31 …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/
Ddisplay_resize_controller.cpp73 Rect DisplayResizeController::GetDisplayResizeRect() in GetDisplayResizeRect()
107 void DisplayResizeController::DispatchOnDisplayResized(const Rect& rect, in DispatchOnDisplayResized()

123