Searched refs:displayMgr (Results 1 – 2 of 2) sorted by relevance
402 DisplayManager &displayMgr = DisplayManager::GetInstance(); in InjectTouchEventSequence() local403 pointerEvent->SetTargetDisplayId(displayMgr.GetDefaultDisplayId()); in InjectTouchEventSequence()561 DisplayManager &displayMgr = DisplayManager::GetInstance(); in TakeScreenCap() local565 pixelMap = displayMgr.GetScreenshot(displayMgr.GetDefaultDisplayId()); in TakeScreenCap()570 pixelMap = displayMgr.GetScreenshot(displayMgr.GetDefaultDisplayId(), region, size, 0); in TakeScreenCap()787 DisplayManager &displayMgr = DisplayManager::GetInstance(); in IsScreenOn() local788 DCHECK(displayMgr); in IsScreenOn()789 auto displayId = displayMgr.GetDefaultDisplayId(); in IsScreenOn()790 auto state = displayMgr.GetDisplayState(displayId); in IsScreenOn()
46 Rosen::DisplayManager &displayMgr = Rosen::DisplayManager::GetInstance(); in TakeWuKongScreenCap() local47 …std::shared_ptr<Media::PixelMap> pixelMap = displayMgr.GetScreenshot(displayMgr.GetDefaultDisplayI… in TakeWuKongScreenCap()403 OHOS::Rosen::DisplayManager &displayMgr = OHOS::Rosen::DisplayManager::GetInstance(); in GetScreenSize() local404 sptr<OHOS::Rosen::Display> display = displayMgr.GetDefaultDisplay(); in GetScreenSize()