Home
last modified time | relevance | path

Searched refs:moveDragController_ (Results 1 - 16 of 16) sorted by relevance

/foundation/window/window_manager/wmserver/test/unittest/
H A Ddrag_controller_test.cpp38 static sptr<MoveDragController> moveDragController_; member in OHOS::Rosen::DragControllerTest
42 sptr<MoveDragController> DragControllerTest::moveDragController_ = nullptr; member in OHOS::Rosen::DragControllerTest
49 moveDragController_ = WindowInnerManager::GetInstance().moveDragController_; in SetUpTestCase()
57 ASSERT_TRUE(moveDragController_); in SetUpTestCase()
58 inputListener_ = moveDragController_->inputListener_; in SetUpTestCase()
64 moveDragController_ = nullptr; in TearDownTestCase()
121 ASSERT_TRUE(moveDragController_); in HWTEST_F()
122 moveDragController_->SetActiveWindowId(1); in HWTEST_F()
133 ASSERT_TRUE(moveDragController_); in HWTEST_F()
[all...]
H A Dwindow_inner_manager_test.cpp74 windowInnerManager.moveDragController_ = nullptr; in HWTEST_F()
80 windowInnerManager.moveDragController_ = new MoveDragController(); in HWTEST_F()
95 windowInnerManager.moveDragController_ = new MoveDragController(); in HWTEST_F()
96 windowInnerManager.moveDragController_->activeWindowId_ = 1; in HWTEST_F()
105 windowInnerManager.moveDragController_->activeWindowId_ = INVALID_WINDOW_ID; in HWTEST_F()
119 windowInnerManager.moveDragController_ = new MoveDragController(); in HWTEST_F()
120 windowInnerManager.moveDragController_->activeWindowId_ = TEST_CUSTOM_ID; in HWTEST_F()
124 ASSERT_EQ(windowInnerManager.moveDragController_->activeWindowId_, TEST_CUSTOM_ID); in HWTEST_F()
128 ASSERT_EQ(windowInnerManager.moveDragController_->activeWindowId_, INVALID_WINDOW_ID); in HWTEST_F()
139 windowInnerManager.moveDragController_ in HWTEST_F()
[all...]
/foundation/window/window_manager/wmserver/src/
H A Dwindow_inner_manager.cpp59 moveDragController_ = new MoveDragController(); in Init()
60 if (!moveDragController_->Init()) { in Init()
96 if (moveDragController_ != nullptr) { in Stop()
97 moveDragController_->Stop(); in Stop()
271 if (moveDragController_ == nullptr) { in SetInputEventConsumer()
274 moveDragController_->SetInputEventConsumer(); in SetInputEventConsumer()
279 if (moveDragController_ == nullptr) { in NotifyDisplayLimitRectChange()
282 moveDragController_->HandleDisplayLimitRectChange(limitRectMap); in NotifyDisplayLimitRectChange()
288 if (moveDragController_->GetActiveWindowId() != INVALID_WINDOW_ID) { in NotifyServerReadyToMoveOrDrag()
292 moveDragController_ in NotifyServerReadyToMoveOrDrag()
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_test.cpp525 sceneSession->moveDragController_ = new MoveDragController(1); in HWTEST_F()
526 ASSERT_TRUE(sceneSession->moveDragController_); in HWTEST_F()
527 sceneSession->moveDragController_->InitMoveDragProperty(); in HWTEST_F()
529 sceneSession->moveDragController_->moveDragProperty_.targetRect_ = targetRect_; in HWTEST_F()
547 sceneSession->moveDragController_ = new MoveDragController(1); in HWTEST_F()
549 ASSERT_TRUE(sceneSession->moveDragController_); in HWTEST_F()
550 sceneSession->moveDragController_->InitMoveDragProperty(); in HWTEST_F()
554 auto result = sceneSession->moveDragController_->ConsumeMoveEvent(pointerEvent, originalRect); in HWTEST_F()
560 sceneSession->moveDragController_->moveDragProperty_.pointerId_ = 0; in HWTEST_F()
561 result = sceneSession->moveDragController_ in HWTEST_F()
[all...]
H A Dscene_session_test5.cpp97 session->moveDragController_ = nullptr; in HWTEST_F()
110 session->moveDragController_ = sptr<MoveDragController>::MakeSptr(2024); in HWTEST_F()
111 session->moveDragController_->isStartDrag_ = true; in HWTEST_F()
112 session->moveDragController_->isStartMove_ = true; in HWTEST_F()
334 session->moveDragController_ = sptr<MoveDragController>::MakeSptr(2024); in HWTEST_F()
348 session->moveDragController_->isStartDrag_ = false; in HWTEST_F()
358 session->moveDragController_->isStartDrag_ = true; in HWTEST_F()
557 session->moveDragController_ = nullptr; in HWTEST_F()
785 session->moveDragController_ = nullptr; in HWTEST_F()
788 session->moveDragController_ in HWTEST_F()
[all...]
H A Dscene_session_test3.cpp95 sceneSession->moveDragController_ = nullptr; in HWTEST_F()
100 sceneSession->moveDragController_ = sptr<MoveDragController>::MakeSptr(0); in HWTEST_F()
673 sceneSession->moveDragController_ = new MoveDragController(1); in HWTEST_F()
677 sceneSession->moveDragController_ = new MoveDragController(1024); in HWTEST_F()
H A Dscene_session_test.cpp1212 scensession->moveDragController_ = new MoveDragController(12); in HWTEST_F()
1241 scensession->moveDragController_ = new MoveDragController(12); in HWTEST_F()
1492 sceneSession->moveDragController_ = new MoveDragController(1); in HWTEST_F()
1495 sceneSession->moveDragController_->isStartDrag_ = true; in HWTEST_F()
1496 sceneSession->moveDragController_->hasPointDown_ = true; in HWTEST_F()
2068 sceneSession->moveDragController_ = nullptr; in HWTEST_F()
H A Dscene_session_test2.cpp1137 scensession->moveDragController_ = new MoveDragController(1024); in HWTEST_F()
1148 EXPECT_NE(nullptr, scensession->moveDragController_); in HWTEST_F()
1149 scensession->moveDragController_ = nullptr; in HWTEST_F()
1463 sceneSession->moveDragController_ = new MoveDragController(1); in HWTEST_F()
1466 sceneSession->moveDragController_->isStartDrag_ = true; in HWTEST_F()
1784 sceneSession->moveDragController_ = new MoveDragController(0); in HWTEST_F()
H A Dscene_session_test4.cpp1116 sceneSession->moveDragController_ = new MoveDragController(1); in HWTEST_F()
1120 sceneSession->moveDragController_->isStartDrag_ = true; in HWTEST_F()
1266 sceneSession->moveDragController_ = sptr<MoveDragController>::MakeSptr(2024); in HWTEST_F()
1285 sceneSession->moveDragController_ = sptr<MoveDragController>::MakeSptr(2024); in HWTEST_F()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dmain_session.cpp39 moveDragController_ = sptr<MoveDragController>::MakeSptr(GetPersistentId()); in MainSession()
42 moveDragController_->SetNotifyWindowPidChangeCallback(specificCallback->onWindowInputPidChangeCallback_); in MainSession()
50 moveDragController_->SetAspectRatio(aspectRatio_); in MainSession()
H A Dsub_session.cpp35 moveDragController_ = sptr<MoveDragController>::MakeSptr(GetPersistentId()); in SubSession()
38 moveDragController_->SetNotifyWindowPidChangeCallback(specificCallback->onWindowInputPidChangeCallback_); in SubSession()
H A Dscene_session.cpp468 session->moveDragController_->InitMoveDragProperty(); in OnSessionEvent()
470 WSRect rect = session->moveDragController_->GetFullScreenToFloatingRect(session->winRect_, in OnSessionEvent()
473 session->moveDragController_->SetStartMoveFlag(true); in OnSessionEvent()
474 session->moveDragController_->CalcFirstMoveTargetRect(rect, true); in OnSessionEvent()
476 session->moveDragController_->SetStartMoveFlag(true); in OnSessionEvent()
477 session->moveDragController_->CalcFirstMoveTargetRect(session->winRect_, false); in OnSessionEvent()
479 session->SetSessionEventParam({session->moveDragController_->GetOriginalPointerPosX(), in OnSessionEvent()
480 session->moveDragController_->GetOriginalPointerPosY()}); in OnSessionEvent()
482 if (session->moveDragController_ && event == SessionEvent::EVENT_DRAG) { in OnSessionEvent()
483 WSRect rect = session->moveDragController_ in OnSessionEvent()
[all...]
H A Dsystem_session.cpp37 moveDragController_ = sptr<MoveDragController>::MakeSptr(GetPersistentId(), true); in SystemSession()
40 moveDragController_->SetNotifyWindowPidChangeCallback(specificCallback_->onWindowInputPidChangeCallback_); in SystemSession()
/foundation/window/window_manager/wmserver/include/
H A Dwindow_inner_manager.h78 sptr<MoveDragController> moveDragController_; member in OHOS::Rosen::WindowInnerManager
/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_session.h327 sptr<MoveDragController> moveDragController_ = nullptr; member in OHOS::OHOS::Rosen::SceneSession
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp1532 if (sceneSession->moveDragController_) { in CreateSceneSession()
1533 sceneSession->moveDragController_->SetIsPcWindow(systemConfig_.IsPcWindow()); in CreateSceneSession()

Completed in 40 milliseconds