Lines Matching refs:screenId
41 virtual sptr<DisplayInfo> GetDisplayInfoByScreen(ScreenId screenId) = 0;
43 virtual bool ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId) { return false; };
48 virtual DMError DestroyVirtualScreen(ScreenId screenId) = 0;
49 virtual DMError SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface) = 0;
50 virtual DMError SetVirtualMirrorScreenCanvasRotation(ScreenId screenId, bool rotate) { return DMError::DM_OK; }
51 virtual DMError SetVirtualMirrorScreenScaleMode(ScreenId screenId, ScreenScaleMode scaleMode)
55 virtual DMError SetOrientation(ScreenId screenId, Orientation orientation) = 0;
68 virtual DMError GetScreenSupportedColorGamuts(ScreenId screenId, std::vector<ScreenColorGamut>& colorGamuts) = 0;
69 virtual DMError GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut) = 0;
70 virtual DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) = 0;
71 virtual DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) = 0;
72 virtual DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) = 0;
73 virtual DMError SetScreenColorTransform(ScreenId screenId) = 0;
75 virtual DMError GetPixelFormat(ScreenId screenId, GraphicPixelFormat& pixelFormat)
79 virtual DMError SetPixelFormat(ScreenId screenId, GraphicPixelFormat pixelFormat)
83 virtual DMError GetSupportedHDRFormats(ScreenId screenId,
88 virtual DMError GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat)
92 virtual DMError SetScreenHDRFormat(ScreenId screenId, int32_t modeIdx)
96 virtual DMError GetSupportedColorSpaces(ScreenId screenId,
101 virtual DMError GetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType& colorSpace)
105 virtual DMError SetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType colorSpace)
119 virtual bool SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason)
123 virtual bool SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) = 0;
129 virtual bool SetScreenBrightness(uint64_t screenId, uint32_t level) { return false; }
130 virtual uint32_t GetScreenBrightness(uint64_t screenId) { return 0; }
135 virtual sptr<ScreenInfo> GetScreenInfoById(ScreenId screenId) = 0;
136 virtual sptr<ScreenGroupInfo> GetScreenGroupInfoById(ScreenId screenId) = 0;
150 virtual DMError MakeExpand(std::vector<ScreenId> screenId, std::vector<Point> startPoints,
156 virtual DMError SetScreenActiveMode(ScreenId screenId, uint32_t modeId) = 0;
157 virtual DMError SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio) = 0;
158 virtual DMError SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio)
162 virtual DMError SetResolution(ScreenId screenId, uint32_t width, uint32_t height, float virtualPixelRatio) = 0;
163 virtual DMError GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio) = 0;
164 virtual DMError ResizeVirtualScreen(ScreenId screenId, uint32_t width, uint32_t height) { return DMError::DM_OK; }
181 virtual void SetDisplayScale(ScreenId screenId, float scaleX, float scaleY, float pivotX, float pivotY) {}
189 virtual DMError HasImmersiveWindow(ScreenId screenId, bool& immersive)
197 virtual VirtualScreenFlag GetVirtualScreenFlag(ScreenId screenId)
201 virtual DMError SetVirtualScreenFlag(ScreenId screenId, VirtualScreenFlag screenFlag)
205 virtual DMError SetVirtualScreenRefreshRate(ScreenId screenId, uint32_t refreshInterval)
217 virtual void SetVirtualScreenBlackList(ScreenId screenId, std::vector<uint64_t>& windowIdList) {}
218 virtual void DisablePowerOffRenderControl(ScreenId screenId) {}
224 virtual bool SetVirtualScreenStatus(ScreenId screenId, VirtualScreenStatus screenStatus) { return false; }
225 virtual DMError SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid,