Lines Matching defs:window
35 sptr<Window> window = CreateCoverWindow(displayId);
36 if (window == nullptr) {
40 WMError res = window->Show();
42 WLOGFE("Show window failed");
50 return SurfaceDraw::DrawImage(window->GetSurfaceNode(), window->GetRect().width_,
51 window->GetRect().height_, pixelMap);
58 WLOGW("unfreeze fail, no cover window. display %{public}" PRIu64"", displayId);
61 sptr<Window> window = iter->second;
62 if (window == nullptr) {
63 WLOGW("unfreeze fail, window is null. display %{public}" PRIu64"", displayId);
66 return WMError::WM_OK == window->Destroy();
73 WLOGFE("window option is null");
81 sptr<Window> window = Window::Create("freeze" + std::to_string(displayId), option);
82 if (window == nullptr) {
83 WLOGFE("cover window is null");
86 coverWindowMap_[displayId] = window;
87 return window;