Lines Matching refs:screenId
51 sptr<DisplayInfo> DisplayManagerAdapter::GetDisplayInfoByScreenId(ScreenId screenId)
55 return displayManagerServiceProxy_->GetDisplayInfoByScreen(screenId);
72 DMError ScreenManagerAdapter::GetScreenSupportedColorGamuts(ScreenId screenId,
77 return displayManagerServiceProxy_->GetScreenSupportedColorGamuts(screenId, colorGamuts);
80 DMError ScreenManagerAdapter::GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut)
84 return displayManagerServiceProxy_->GetScreenColorGamut(screenId, colorGamut);
87 DMError ScreenManagerAdapter::SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx)
91 return displayManagerServiceProxy_->SetScreenColorGamut(screenId, colorGamutIdx);
94 DMError ScreenManagerAdapter::GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap)
98 return displayManagerServiceProxy_->GetScreenGamutMap(screenId, gamutMap);
101 DMError ScreenManagerAdapter::SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap)
105 return displayManagerServiceProxy_->SetScreenGamutMap(screenId, gamutMap);
108 DMError ScreenManagerAdapter::SetScreenColorTransform(ScreenId screenId)
112 return displayManagerServiceProxy_->SetScreenColorTransform(screenId);
115 DMError ScreenManagerAdapter::GetPixelFormat(ScreenId screenId, GraphicPixelFormat& pixelFormat)
120 return displayManagerServiceProxy_->GetPixelFormat(screenId, pixelFormat);
123 DMError ScreenManagerAdapter::SetPixelFormat(ScreenId screenId, GraphicPixelFormat pixelFormat)
128 return displayManagerServiceProxy_->SetPixelFormat(screenId, pixelFormat);
131 DMError ScreenManagerAdapter::GetSupportedHDRFormats(ScreenId screenId,
137 return displayManagerServiceProxy_->GetSupportedHDRFormats(screenId, hdrFormats);
140 DMError ScreenManagerAdapter::GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat)
145 return displayManagerServiceProxy_->GetScreenHDRFormat(screenId, hdrFormat);
148 DMError ScreenManagerAdapter::SetScreenHDRFormat(ScreenId screenId, int32_t modeIdx)
153 return displayManagerServiceProxy_->SetScreenHDRFormat(screenId, modeIdx);
156 DMError ScreenManagerAdapter::GetSupportedColorSpaces(ScreenId screenId,
162 return displayManagerServiceProxy_->GetSupportedColorSpaces(screenId, colorSpaces);
165 DMError ScreenManagerAdapter::GetScreenColorSpace(ScreenId screenId,
171 return displayManagerServiceProxy_->GetScreenColorSpace(screenId, colorSpace);
174 DMError ScreenManagerAdapter::SetScreenColorSpace(ScreenId screenId,
180 return displayManagerServiceProxy_->SetScreenColorSpace(screenId, colorSpace);
183 DMError ScreenManagerAdapter::GetSupportedHDRFormats(ScreenId screenId, std::vector<uint32_t>& hdrFormats)
188 DMError ret = GetSupportedHDRFormats(screenId, hdrFormatsVec);
196 DMError ScreenManagerAdapter::GetSupportedColorSpaces(ScreenId screenId, std::vector<uint32_t>& colorSpaces)
201 DMError ret = GetSupportedColorSpaces(screenId, colorSpacesVec);
218 DMError ScreenManagerAdapter::DestroyVirtualScreen(ScreenId screenId)
223 return displayManagerServiceProxy_->DestroyVirtualScreen(screenId);
226 DMError ScreenManagerAdapter::SetVirtualScreenSurface(ScreenId screenId, sptr<Surface> surface)
235 return displayManagerServiceProxy_->SetVirtualScreenSurface(screenId, surface->GetProducer());
238 DMError ScreenManagerAdapter::SetVirtualMirrorScreenCanvasRotation(ScreenId screenId, bool canvasRotation)
242 return displayManagerServiceProxy_->SetVirtualMirrorScreenCanvasRotation(screenId, canvasRotation);
245 DMError ScreenManagerAdapter::SetVirtualMirrorScreenScaleMode(ScreenId screenId, ScreenScaleMode scaleMode)
249 return displayManagerServiceProxy_->SetVirtualMirrorScreenScaleMode(screenId, scaleMode);
273 bool ScreenManagerAdapter::SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason)
276 return displayManagerServiceProxy_->SetSpecifiedScreenPower(screenId, state, reason);
291 DMError ScreenManagerAdapter::SetOrientation(ScreenId screenId, Orientation orientation)
295 return displayManagerServiceProxy_->SetOrientation(screenId, orientation);
349 bool DisplayManagerAdapter::SetScreenPowerById(ScreenId screenId, ScreenPowerState state,
354 return displayManagerServiceProxy_->SetScreenPowerById(screenId, state, reason);
514 sptr<ScreenInfo> ScreenManagerAdapter::GetScreenInfo(ScreenId screenId)
516 if (screenId == SCREEN_ID_INVALID) {
522 sptr<ScreenInfo> screenInfo = displayManagerServiceProxy_->GetScreenInfoById(screenId);
541 bool DisplayManagerAdapter::ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId)
545 return displayManagerServiceProxy_->ConvertScreenIdToRsScreenId(screenId, rsScreenId);
548 DMError DisplayManagerAdapter::HasImmersiveWindow(ScreenId screenId, bool& immersive)
552 return displayManagerServiceProxy_->HasImmersiveWindow(screenId, immersive);
642 void DisplayManagerAdapter::SetDisplayScale(ScreenId screenId,
647 return displayManagerServiceProxy_->SetDisplayScale(screenId, scaleX, scaleY, pivotX, pivotY);
671 sptr<ScreenGroupInfo> ScreenManagerAdapter::GetScreenGroupInfoById(ScreenId screenId)
673 if (screenId == SCREEN_ID_INVALID) {
679 return displayManagerServiceProxy_->GetScreenGroupInfoById(screenId);
689 DMError ScreenManagerAdapter::MakeExpand(std::vector<ScreenId> screenId, std::vector<Point> startPoint,
694 return displayManagerServiceProxy_->MakeExpand(screenId, startPoint, screenGroupId);
712 DMError ScreenManagerAdapter::SetScreenActiveMode(ScreenId screenId, uint32_t modeId)
716 return displayManagerServiceProxy_->SetScreenActiveMode(screenId, modeId);
719 DMError ScreenManagerAdapter::SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio)
723 return displayManagerServiceProxy_->SetVirtualPixelRatio(screenId, virtualPixelRatio);
726 DMError ScreenManagerAdapter::SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio)
730 return displayManagerServiceProxy_->SetVirtualPixelRatioSystem(screenId, virtualPixelRatio);
733 DMError ScreenManagerAdapter::SetResolution(ScreenId screenId, uint32_t width, uint32_t height, float virtualPixelRatio)
737 return displayManagerServiceProxy_->SetResolution(screenId, width, height, virtualPixelRatio);
740 DMError ScreenManagerAdapter::GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio)
744 return displayManagerServiceProxy_->GetDensityInCurResolution(screenId, virtualPixelRatio);
747 DMError ScreenManagerAdapter::ResizeVirtualScreen(ScreenId screenId, uint32_t width, uint32_t height)
751 return displayManagerServiceProxy_->ResizeVirtualScreen(screenId, width, height);
772 VirtualScreenFlag ScreenManagerAdapter::GetVirtualScreenFlag(ScreenId screenId)
775 if (screenId == SCREEN_ID_INVALID) {
776 WLOGFE("screenId id is invalid");
780 return displayManagerServiceProxy_->GetVirtualScreenFlag(screenId);
783 DMError ScreenManagerAdapter::SetVirtualScreenFlag(ScreenId screenId, VirtualScreenFlag screenFlag)
786 if (screenId == SCREEN_ID_INVALID) {
793 return displayManagerServiceProxy_->SetVirtualScreenFlag(screenId, screenFlag);
796 DMError ScreenManagerAdapter::SetVirtualScreenRefreshRate(ScreenId screenId, uint32_t refreshInterval)
800 return displayManagerServiceProxy_->SetVirtualScreenRefreshRate(screenId, refreshInterval);
803 void DisplayManagerAdapter::SetVirtualScreenBlackList(ScreenId screenId, std::vector<uint64_t>& windowIdList)
806 displayManagerServiceProxy_->SetVirtualScreenBlackList(screenId, windowIdList);
809 void DisplayManagerAdapter::DisablePowerOffRenderControl(ScreenId screenId)
812 displayManagerServiceProxy_->DisablePowerOffRenderControl(screenId);
833 DMError DisplayManagerAdapter::SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid,
837 return displayManagerServiceProxy_->SetVirtualScreenSecurityExemption(screenId, pid, windowIdList);
840 bool ScreenManagerAdapter::SetVirtualScreenStatus(ScreenId screenId, VirtualScreenStatus screenStatus)
843 return displayManagerServiceProxy_->SetVirtualScreenStatus(screenId, screenStatus);