/ohos5.0/foundation/window/window_manager/window_scene/test/mock/ |
H A D | mock_keyboard_session.h | 41 using UpdateSessionRectCallBack = std::function<void(const WSRect& rect, const SizeChangeReason& re… 48 …WSError UpdateSessionRect(const WSRect& rect, const SizeChangeReason reason, bool isGlobal = false, 55 …UpdateSessionRectCallBack updateRectCallback_ = [](const WSRect& rect, const SizeChangeReason& rea…
|
H A D | mock_session.h | 41 MOCK_METHOD4(UpdateSessionRect, WSError(const WSRect& rect, const SizeChangeReason reason,
|
H A D | mock_session_stage.h | 30 MOCK_METHOD3(UpdateRect, WSError(const WSRect& rect, SizeChangeReason reason,
|
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_test5.cpp | 141 EXPECT_EQ(session->reason_, SizeChangeReason::RECOVER); 586 session->reason_ = SizeChangeReason::UNDEFINED; 589 session->reason_ = SizeChangeReason::DRAG; 599 session->reason_ = SizeChangeReason::RECOVER; 761 SizeChangeReason reason = { SizeChangeReason::DRAG }; 766 reason = SizeChangeReason::DRAG_END; 769 reason = SizeChangeReason::DRAG_MOVE; 772 reason = SizeChangeReason::DRAG_START; 1475 session->UpdateSizeChangeReason(SizeChangeReason::DRAG); 1484 session->UpdateSizeChangeReason(SizeChangeReason::MOVE); [all …]
|
H A D | scene_session_test.cpp | 1680 SizeChangeReason reason = SizeChangeReason::UNDEFINED; 1743 SizeChangeReason reason = SizeChangeReason::MOVE; 1772 SizeChangeReason reason = SizeChangeReason::RESIZE; 1801 SizeChangeReason reason = SizeChangeReason::UNDEFINED; 1843 ASSERT_EQ(sceneSession->reason_, SizeChangeReason::HIDE); 1846 ASSERT_EQ(sceneSession->reason_, SizeChangeReason::HIDE); 1851 ASSERT_EQ(sceneSession->reason_, SizeChangeReason::HIDE); 1857 ASSERT_EQ(sceneSession->reason_, SizeChangeReason::HIDE); 1863 ASSERT_EQ(sceneSession->reason_, SizeChangeReason::HIDE); 1869 ASSERT_EQ(sceneSession->reason_, SizeChangeReason::HIDE); [all …]
|
H A D | move_drag_controller_test.cpp | 579 SizeChangeReason reason = SizeChangeReason::UNDEFINED; 582 auto dragHotAreaFunc = [](int32_t type, const SizeChangeReason& reason) { in __anon63e752480202() 991 SizeChangeReason reason = SizeChangeReason::UNDEFINED; 992 MoveDragCallback callBack = [](const SizeChangeReason& reason) { in __anon63e752480302()
|
H A D | session_stage_proxy_test.cpp | 101 SizeChangeReason reason = SizeChangeReason::UNDEFINED;
|
H A D | scene_session_test3.cpp | 209 SizeChangeReason reason = SizeChangeReason::UNDEFINED; 217 scensession->reason_ = SizeChangeReason::DRAG_END;
|
H A D | session_test.cpp | 216 SizeChangeReason::UNDEFINED, "WindowSessionTest")); 227 SizeChangeReason::UNDEFINED, "WindowSessionTest")); 231 …ASSERT_EQ(WSError::WS_OK, session_->UpdateRect(rect, SizeChangeReason::UNDEFINED, "WindowSessionTe… 234 …ASSERT_EQ(WSError::WS_OK, session_->UpdateRect(rect, SizeChangeReason::UNDEFINED, "WindowSessionTe… 485 auto result = scensession->UpdateSessionRect(rect, SizeChangeReason::RESIZE); 492 result = scensession->UpdateSessionRect(rect, SizeChangeReason::RESIZE);
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | move_drag_controller.cpp | 191 SizeChangeReason reason = SizeChangeReason::DRAG_MOVE; in ConsumeMoveEvent() 195 reason = SizeChangeReason::DRAG_MOVE; in ConsumeMoveEvent() 206 reason = SizeChangeReason::DRAG_END; in ConsumeMoveEvent() 273 SizeChangeReason reason = SizeChangeReason::UNDEFINED; in ConsumeDragEvent() 280 reason = SizeChangeReason::DRAG_START; in ConsumeDragEvent() 285 reason = SizeChangeReason::DRAG; in ConsumeDragEvent() 291 reason = SizeChangeReason::DRAG_END; in ConsumeDragEvent() 614 void MoveDragController::ProcessSessionRectChange(const SizeChangeReason& reason) in ProcessSessionRectChange() 774 ProcessSessionRectChange(SizeChangeReason::DRAG_MOVE); in CalcFirstMoveTargetRect() 844 ProcessWindowDragHotAreaFunc(true, SizeChangeReason::DRAG_END); in OnLostFocus() [all …]
|
H A D | scene_session.cpp | 1103 …if (reason_ == SizeChangeReason::UNDEFINED || reason_ == SizeChangeReason::RESIZE || IsMoveToOrDra… in NotifyClientToUpdateRectTask() 1260 reason = SizeChangeReason::MOVE; in SetSessionRectChangeCallback() 1388 SizeChangeReason newReason = reason; in UpdateSessionRectInner() 1389 if (reason == SizeChangeReason::MOVE) { in UpdateSessionRectInner() 1399 } else if (reason == SizeChangeReason::RESIZE) { in UpdateSessionRectInner() 1430 if ((reason == SizeChangeReason::MOVE || reason == SizeChangeReason::RESIZE) && in UpdateSessionRect() 2573 if (reason != SizeChangeReason::DRAG_MOVE) { in HandleCompatibleModeMoveDrag() 2638 if (reason == SizeChangeReason::DRAG || reason == SizeChangeReason::DRAG_END) { in OnMoveDragCallback() 2652 if (reason != SizeChangeReason::MOVE) { in OnMoveDragCallback() 2657 if (reason == SizeChangeReason::DRAG_END) { in OnMoveDragCallback() [all …]
|
H A D | keyboard_session.cpp | 86 … session->NotifySessionRectChange(session->GetSessionRequestRect(), SizeChangeReason::UNDEFINED); in Show() 262 … session->NotifySessionRectChange(session->GetSessionRequestRect(), SizeChangeReason::UNDEFINED); in SetCallingSessionId() 309 … session->NotifySessionRectChange(session->GetSessionRequestRect(), SizeChangeReason::UNDEFINED); in AdjustKeyboardLayout() 470 callingSession->UpdateSessionRect(newRect, SizeChangeReason::UNDEFINED); in RaiseCallingSession() 499 callingSession->UpdateSessionRect(callingSessionRestoringRect, SizeChangeReason::UNDEFINED); in RestoreCallingSession()
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | move_drag_controller.h | 33 using MoveDragCallback = std::function<void(const SizeChangeReason&)>; 35 using NotifyWindowDragHotAreaFunc = std::function<void(uint32_t type, const SizeChangeReason& reaso… 115 void ProcessSessionRectChange(const SizeChangeReason& reason); 167 void ProcessWindowDragHotAreaFunc(bool flag, const SizeChangeReason& reason);
|
H A D | scene_session.h | 196 WSError UpdateSizeChangeReason(SizeChangeReason reason) override; 199 WSError UpdateRect(const WSRect& rect, SizeChangeReason reason, 201 WSError UpdateSessionRect(const WSRect& rect, const SizeChangeReason reason, 239 WSError UpdatePiPRect(const Rect& rect, SizeChangeReason reason) override; 542 …void NotifySessionRectChange(const WSRect& rect, const SizeChangeReason& reason = SizeChangeReason… 563 bool UpdateRectInner(const SessionUIParam& uiParam, SizeChangeReason reason); 564 bool NotifyServerToUpdateRect(const SessionUIParam& uiParam, SizeChangeReason reason); 658 bool IsDragResizeWhenEnd(SizeChangeReason reason); 676 void OnMoveDragCallback(const SizeChangeReason& reason); 677 void HandleCompatibleModeMoveDrag(WSRect& rect, const SizeChangeReason& reason, [all …]
|
H A D | session.h | 50 using NotifySessionRectChangeFunc = std::function<void(const WSRect& rect, const SizeChangeReason& … 237 virtual WSError UpdateSizeChangeReason(SizeChangeReason reason); 238 SizeChangeReason GetSizeChangeReason() const { return reason_; } in GetSizeChangeReason() 239 virtual WSError UpdateRect(const WSRect& rect, SizeChangeReason reason, 652 SizeChangeReason reason_ = SizeChangeReason::UNDEFINED;
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.cpp | 1077 static_cast<int32_t>(SizeChangeReason::UNDEFINED))); in CreateJsSessionSizeChangeReason() 1079 static_cast<int32_t>(SizeChangeReason::MAXIMIZE))); in CreateJsSessionSizeChangeReason() 1081 static_cast<int32_t>(SizeChangeReason::RECOVER))); in CreateJsSessionSizeChangeReason() 1083 static_cast<int32_t>(SizeChangeReason::ROTATION))); in CreateJsSessionSizeChangeReason() 1085 static_cast<int32_t>(SizeChangeReason::DRAG))); in CreateJsSessionSizeChangeReason() 1091 static_cast<int32_t>(SizeChangeReason::DRAG_END))); in CreateJsSessionSizeChangeReason() 1093 static_cast<int32_t>(SizeChangeReason::RESIZE))); in CreateJsSessionSizeChangeReason() 1095 static_cast<int32_t>(SizeChangeReason::MOVE))); in CreateJsSessionSizeChangeReason() 1097 static_cast<int32_t>(SizeChangeReason::HIDE))); in CreateJsSessionSizeChangeReason() 1112 static_cast<int32_t>(SizeChangeReason::END))); in CreateJsSessionSizeChangeReason() [all …]
|
H A D | js_scene_session.h | 277 …void OnSessionRectChange(const WSRect& rect, const SizeChangeReason& reason = SizeChangeReason::UN… 306 void OnWindowDragHotArea(uint32_t type, const SizeChangeReason& reason);
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/include/ |
H A D | ws_common.h | 367 enum class SizeChangeReason : uint32_t { enum 394 inline bool IsMoveToOrDragMove(SizeChangeReason reason) in IsMoveToOrDragMove() 396 return reason == SizeChangeReason::MOVE || reason == SizeChangeReason::DRAG_MOVE; in IsMoveToOrDragMove()
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/zidl/ |
H A D | session_proxy.h | 57 …WSError UpdateSessionRect(const WSRect& rect, const SizeChangeReason reason, bool isGlobal = false, 87 WSError UpdatePiPRect(const Rect& rect, SizeChangeReason reason) override;
|
H A D | session_interface.h | 101 …const WSRect &rect, const SizeChangeReason reason, bool isGlobal = false, bool isFromMoveToGlobal … 165 …virtual WSError UpdatePiPRect(const Rect& rect, SizeChangeReason reason) { return WSError::WS_OK; } in UpdatePiPRect()
|
/ohos5.0/foundation/window/window_manager/test/fuzztest/window_scene/sessioninterface_fuzzer/ |
H A D | sessioninterface_fuzzer.cpp | 204 SizeChangeReason reason = source.GetObject<SizeChangeReason>(); in ProxyInterfaceFuzzTestPart1()
|
/ohos5.0/foundation/window/window_manager/window_scene/session/container/include/zidl/ |
H A D | session_stage_proxy.h | 34 WSError UpdateRect(const WSRect& rect, SizeChangeReason reason,
|
H A D | session_stage_interface.h | 43 virtual WSError UpdateRect(const WSRect& rect, SizeChangeReason reason,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | window_scene.cpp | 252 …auto ret = session_->UpdateRect(windowRect, Rosen::SizeChangeReason::UNDEFINED, "OnBoundsChanged",… in OnBoundsChanged() 254 if ((sizeChangeReason >= Rosen::SizeChangeReason::MAXIMIZE && in OnBoundsChanged() 255 sizeChangeReason <= Rosen::SizeChangeReason::ROTATION) || in OnBoundsChanged() 256 sizeChangeReason == Rosen::SizeChangeReason::RESIZE) { in OnBoundsChanged()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | security_session_wrapper_impl.h | 117 uint32_t reason_ = (uint32_t)Rosen::SizeChangeReason::UNDEFINED;
|