Home
last modified time | relevance | path

Searched refs:vsyncStation (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dvsync_station_test.cpp57 std::shared_ptr<VsyncStation> vsyncStation = std::make_shared<VsyncStation>(nodeId); variable
59 ASSERT_NE(vsyncStation, nullptr);
60 vsyncStation->RequestVsync(vsyncCallback);
146 std::shared_ptr<VsyncStation> vsyncStation = std::make_shared<VsyncStation>(nodeId); variable
147 ASSERT_NE(vsyncStation, nullptr);
148 vsyncStation->SetUiDvsyncSwitch(true);
149 vsyncStation->SetUiDvsyncSwitch(false);
H A Dwindow_session_impl_two_test.cpp459 auto vsyncStation = window->vsyncStation_; variable
460 if (vsyncStation == nullptr) {
461 vsyncStation = std::make_shared<VsyncStation>(DisplayId(0));
466 window->vsyncStation_ = vsyncStation;
481 auto vsyncStation = window->vsyncStation_; variable
482 if (vsyncStation == nullptr) {
483 vsyncStation = std::make_shared<VsyncStation>(DisplayId(0));
488 window->vsyncStation_ = vsyncStation;
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Ddrag_controller.cpp253 auto vsyncStation = iter->second; in HandleWindowRemovedOrDestroyed() local
254 vsyncStation->RemoveCallback(); in HandleWindowRemovedOrDestroyed()
286 auto vsyncStation = GetVsyncStationByWindowId(windowId); in ConsumePointerEvent() local
287 if (vsyncStation != nullptr) { in ConsumePointerEvent()
288 vsyncStation->RequestVsync(vsyncCallback_); in ConsumePointerEvent()
560 …auto vsyncStation = std::make_shared<VsyncStation>(node->surfaceNode_->GetId(), inputEventHandler_… in GetVsyncStationByWindowId() local
561 if (vsyncStation == nullptr) { in GetVsyncStationByWindowId()
568 vsyncStationMap_.emplace(windowId, vsyncStation); in GetVsyncStationByWindowId()
571 return vsyncStation; in GetVsyncStationByWindowId()
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Ddrag_controller_test.cpp228 std::shared_ptr<VsyncStation> vsyncStation = std::make_shared<VsyncStation>(nodeId); variable
229 moveDragController_->vsyncStationMap_.emplace(windowId, vsyncStation);
234 ASSERT_NE(vsyncStation, nullptr);
262 std::shared_ptr<VsyncStation> vsyncStation = std::make_shared<VsyncStation>(nodeId); variable
263 moveDragController_->vsyncStationMap_.emplace(windowId, vsyncStation);
265 ASSERT_EQ(vsyncStation, vsyncStationRes);
279 …std::shared_ptr<VsyncStation> vsyncStation = moveDragController_->GetVsyncStationByWindowId(window… variable
280 ASSERT_EQ(vsyncStation, nullptr);