Lines Matching refs:displayId
33 bool FreezeController::FreezeDisplay(DisplayId displayId)
35 sptr<Window> window = CreateCoverWindow(displayId);
45 std::shared_ptr<Media::PixelMap> pixelMap = DisplayManagerServiceInner::GetInstance().GetDisplaySnapshot(displayId);
47 WLOGE("freeze display fail, pixel map is null. display %{public}" PRIu64"", displayId);
54 bool FreezeController::UnfreezeDisplay(DisplayId displayId)
56 auto iter = coverWindowMap_.find(displayId);
58 WLOGW("unfreeze fail, no cover window. display %{public}" PRIu64"", displayId);
63 WLOGW("unfreeze fail, window is null. display %{public}" PRIu64"", displayId);
69 sptr<Window> FreezeController::CreateCoverWindow(DisplayId displayId)
80 option->SetDisplayId(displayId);
81 sptr<Window> window = Window::Create("freeze" + std::to_string(displayId), option);
86 coverWindowMap_[displayId] = window;