/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/luminance/mingw/ |
H A D | rs_luminance_control.cpp | 36 bool RSLuminanceControl::IsHdrOn(ScreenId screenId) in IsHdrOn() 41 bool RSLuminanceControl::IsDimmingOn(ScreenId screenId) in IsDimmingOn() 46 void RSLuminanceControl::DimmingIncrease(ScreenId screenId) in DimmingIncrease() 51 void RSLuminanceControl::SetSdrLuminance(ScreenId screenId, uint32_t level) in SetSdrLuminance() 56 uint32_t RSLuminanceControl::GetNewHdrLuminance(ScreenId screenId) in GetNewHdrLuminance() 61 void RSLuminanceControl::SetNowHdrLuminance(ScreenId screenId, uint32_t level) in SetNowHdrLuminance() 66 bool RSLuminanceControl::IsNeedUpdateLuminance(ScreenId screenId) in IsNeedUpdateLuminance() 71 float RSLuminanceControl::GetHdrTmoNits(ScreenId screenId, int mode) in GetHdrTmoNits() 76 float RSLuminanceControl::GetSdrDisplayNits(ScreenId screenId) in GetSdrDisplayNits() 81 float RSLuminanceControl::GetHdrDisplayNits(ScreenId screenId) in GetHdrDisplayNits() [all …]
|
/ohos5.0/foundation/window/window_manager/dmserver/include/ |
H A D | display_manager_interface.h | 75 virtual DMError GetPixelFormat(ScreenId screenId, GraphicPixelFormat& pixelFormat) in GetPixelFormat() 79 virtual DMError SetPixelFormat(ScreenId screenId, GraphicPixelFormat pixelFormat) in SetPixelFormat() 83 virtual DMError GetSupportedHDRFormats(ScreenId screenId, in GetSupportedHDRFormats() 88 virtual DMError GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat) in GetScreenHDRFormat() 92 virtual DMError SetScreenHDRFormat(ScreenId screenId, int32_t modeIdx) in SetScreenHDRFormat() 96 virtual DMError GetSupportedColorSpaces(ScreenId screenId, in GetSupportedColorSpaces() 124 virtual bool SetScreenBrightness(uint64_t screenId, uint32_t level) { return false; } in SetScreenBrightness() 125 virtual uint32_t GetScreenBrightness(uint64_t screenId) { return 0; } in GetScreenBrightness() 179 virtual VirtualScreenFlag GetVirtualScreenFlag(ScreenId screenId) in GetVirtualScreenFlag() 200 virtual void DisablePowerOffRenderControl(ScreenId screenId) {} in DisablePowerOffRenderControl() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/luminance/ |
H A D | rs_luminance_control.cpp | 213 bool RSLuminanceControl::IsHdrOn(ScreenId screenId) in IsHdrOn() 218 bool RSLuminanceControl::IsDimmingOn(ScreenId screenId) in IsDimmingOn() 223 void RSLuminanceControl::DimmingIncrease(ScreenId screenId) in DimmingIncrease() 230 void RSLuminanceControl::SetSdrLuminance(ScreenId screenId, uint32_t level) in SetSdrLuminance() 237 uint32_t RSLuminanceControl::GetNewHdrLuminance(ScreenId screenId) in GetNewHdrLuminance() 242 void RSLuminanceControl::SetNowHdrLuminance(ScreenId screenId, uint32_t level) in SetNowHdrLuminance() 249 bool RSLuminanceControl::IsNeedUpdateLuminance(ScreenId screenId) in IsNeedUpdateLuminance() 254 float RSLuminanceControl::GetHdrTmoNits(ScreenId screenId, int32_t mode) in GetHdrTmoNits() 259 float RSLuminanceControl::GetSdrDisplayNits(ScreenId screenId) in GetSdrDisplayNits() 264 float RSLuminanceControl::GetHdrDisplayNits(ScreenId screenId) in GetHdrDisplayNits() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_device_impl.cpp | 129 int32_t HdiDeviceImpl::SetScreenVsyncEnabled(uint32_t screenId, bool enabled) in SetScreenVsyncEnabled() 194 int32_t HdiDeviceImpl::GetScreenMode(uint32_t screenId, uint32_t &modeId) in GetScreenMode() 200 int32_t HdiDeviceImpl::SetScreenMode(uint32_t screenId, uint32_t modeId) in SetScreenMode() 229 int32_t HdiDeviceImpl::GetScreenBacklight(uint32_t screenId, uint32_t &level) in GetScreenBacklight() 235 int32_t HdiDeviceImpl::SetScreenBacklight(uint32_t screenId, uint32_t level) in SetScreenBacklight() 241 int32_t HdiDeviceImpl::PrepareScreenLayers(uint32_t screenId, bool &needFlush) in PrepareScreenLayers() 384 int32_t HdiDeviceImpl::Commit(uint32_t screenId, sptr<SyncFence> &fence) in Commit() 586 int32_t HdiDeviceImpl::SetLayerMetaData(uint32_t screenId, uint32_t layerId, in SetLayerMetaData() 682 int32_t HdiDeviceImpl::CloseLayer(uint32_t screenId, uint32_t layerId) in CloseLayer() 688 int32_t HdiDeviceImpl::ClearLayerBuffer(uint32_t screenId, uint32_t layerId) in ClearLayerBuffer() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_client_proxy_test.cpp | 66 ScreenId screenId = 0; variable 96 ScreenId screenId = 0; variable 126 ScreenId screenId = 0; variable 140 ScreenId screenId = 0; variable 154 ScreenId screenId = 0; variable 168 ScreenId screenId = 0; variable 182 ScreenId screenId = 0; variable 227 ScreenId screenId = 0; variable 253 ScreenId screenId = 0; variable 267 ScreenId screenId = 0; variable [all …]
|
H A D | screen_session_manager_client_test.cpp | 94 ScreenId screenId = 0; variable 122 ScreenId screenId = 0; variable 140 ScreenId screenId = 0; variable 158 ScreenId screenId = 0; variable 175 ScreenId screenId = 0; variable 192 ScreenId screenId = 0; variable 209 ScreenId screenId = 0; variable 226 ScreenId screenId = 0; variable 243 ScreenId screenId = 0; variable 259 ScreenId screenId = 0; variable [all …]
|
H A D | screen_session_manager_test.cpp | 1731 ScreenId screenId = 100; variable 1806 ScreenId screenId = 1010; variable 1901 ScreenId screenId = 1050; variable 1916 ScreenId screenId = 1010; variable 1957 ScreenId screenId = 1050; variable 1970 ScreenId screenId = 1050; variable 1988 ScreenId screenId = 1050; variable 2062 ScreenId screenId = 1051; variable 2074 ScreenId screenId = 1050; variable 2089 ScreenId screenId = 2000; variable [all …]
|
H A D | screen_session_manager_client_stub_test.cpp | 56 ScreenId screenId = 0; variable 83 ScreenId screenId = 0; variable 131 ScreenId screenId = 0; variable 154 ScreenId screenId = 0; variable 177 ScreenId screenId = 0; variable 200 DisplayId screenId = 0; variable 232 DisplayId screenId = 0; variable 272 ScreenId screenId = 0; variable 362 ScreenId screenId = 0; variable 426 ScreenId screenId = 0; variable [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | screen_session_manager_stub.cpp | 92 ScreenId screenId = static_cast<ScreenId>(data.ReadUint32()); in OnRemoteRequest() local 128 uint64_t screenId = data.ReadUint64(); in OnRemoteRequest() local 134 uint64_t screenId = data.ReadUint64(); in OnRemoteRequest() local 145 ScreenId screenId = data.ReadUint64(); in OnRemoteRequest() local 274 std::vector<ScreenId> screenId; in OnRemoteRequest() local 309 std::vector<ScreenId> screenId; in OnRemoteRequest() local 641 auto screenId = static_cast<ScreenId>(data.ReadUint64()); in OnRemoteRequest() local 880 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); in ProcSetVirtualScreenFlag() local 888 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); in ProcGetVirtualScreenFlag() local 895 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); in ProcSetVirtualScreenScaleMode() local [all …]
|
/ohos5.0/foundation/window/window_manager/dm/src/ |
H A D | display_manager_adapter.cpp | 51 sptr<DisplayInfo> DisplayManagerAdapter::GetDisplayInfoByScreenId(ScreenId screenId) in GetDisplayInfoByScreenId() 73 DMError ScreenManagerAdapter::GetScreenSupportedColorGamuts(ScreenId screenId, in GetScreenSupportedColorGamuts() 109 DMError ScreenManagerAdapter::SetScreenColorTransform(ScreenId screenId) in SetScreenColorTransform() 132 DMError ScreenManagerAdapter::GetSupportedHDRFormats(ScreenId screenId, in GetSupportedHDRFormats() 157 DMError ScreenManagerAdapter::GetSupportedColorSpaces(ScreenId screenId, in GetSupportedColorSpaces() 166 DMError ScreenManagerAdapter::GetScreenColorSpace(ScreenId screenId, in GetScreenColorSpace() 175 DMError ScreenManagerAdapter::SetScreenColorSpace(ScreenId screenId, in SetScreenColorSpace() 219 DMError ScreenManagerAdapter::DestroyVirtualScreen(ScreenId screenId) in DestroyVirtualScreen() 489 sptr<ScreenInfo> ScreenManagerAdapter::GetScreenInfo(ScreenId screenId) in GetScreenInfo() 617 void DisplayManagerAdapter::SetDisplayScale(ScreenId screenId, in SetDisplayScale() [all …]
|
H A D | screen_manager.cpp | 99 void OnScreenDisconnect(ScreenId screenId) in OnScreenDisconnect() 225 sptr<Screen> ScreenManager::Impl::GetScreen(ScreenId screenId) in GetScreen() 236 sptr<Screen> ScreenManager::GetScreenById(ScreenId screenId) in GetScreenById() 241 sptr<ScreenGroup> ScreenManager::Impl::GetScreenGroup(ScreenId screenId) in GetScreenGroup() 260 sptr<ScreenGroup> ScreenManager::GetScreenGroup(ScreenId screenId) in GetScreenGroup() 545 DMError ScreenManager::DestroyVirtualScreen(ScreenId screenId) in DestroyVirtualScreen() 550 DMError ScreenManager::SetVirtualScreenSurface(ScreenId screenId, sptr<Surface> surface) in SetVirtualScreenSurface() 570 VirtualScreenFlag ScreenManager::GetVirtualScreenFlag(ScreenId screenId) in GetVirtualScreenFlag() 575 DMError ScreenManager::SetVirtualScreenFlag(ScreenId screenId, VirtualScreenFlag screenFlag) in SetVirtualScreenFlag() 623 void ScreenManager::Impl::NotifyScreenDisconnect(ScreenId screenId) in NotifyScreenDisconnect() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | screen_session_manager_interface.h | 45 virtual DMError DestroyVirtualScreen(ScreenId screenId) override { return DMError::DM_OK; } in DestroyVirtualScreen() 68 virtual DMError GetScreenSupportedColorGamuts(ScreenId screenId, in GetScreenSupportedColorGamuts() 97 virtual uint32_t GetScreenBrightness(uint64_t screenId) override { return 0; } in GetScreenBrightness() 102 virtual sptr<ScreenInfo> GetScreenInfoById(ScreenId screenId) override { return nullptr; } in GetScreenInfoById() 118 virtual DMError SetResolution(ScreenId screenId, uint32_t width, uint32_t height, in SetResolution() 120 virtual DMError GetDensityInCurResolution(ScreenId screenId, in GetDensityInCurResolution() 122 virtual DMError ResizeVirtualScreen(ScreenId screenId, uint32_t width, in ResizeVirtualScreen() 152 virtual ScreenProperty GetScreenProperty(ScreenId screenId) { return ScreenProperty(); } in GetScreenProperty() 158 virtual void UpdateAvailableArea(ScreenId screenId, DMRect area) {} in UpdateAvailableArea() 185 virtual void DisablePowerOffRenderControl(ScreenId screenId) override {} in DisablePowerOffRenderControl() [all …]
|
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | display_manager_stub.cpp | 55 ScreenId screenId = data.ReadUint64(); in OnRemoteRequest() local 92 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); in OnRemoteRequest() local 98 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); in OnRemoteRequest() local 110 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); in OnRemoteRequest() local 165 ScreenId screenId = static_cast<ScreenId>(data.ReadUint32()); in OnRemoteRequest() local 197 uint64_t screenId = data.ReadUint64(); in OnRemoteRequest() local 203 uint64_t screenId = data.ReadUint64(); in OnRemoteRequest() local 232 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); in OnRemoteRequest() local 238 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); in OnRemoteRequest() local 258 std::vector<ScreenId> screenId; in OnRemoteRequest() local [all …]
|
H A D | display_manager_service.cpp | 43 #define CHECK_SCREEN_AND_RETURN(screenId, ret) \ argument 242 DMError DisplayManagerService::DestroyVirtualScreen(ScreenId screenId) in DestroyVirtualScreen() 315 DMError DisplayManagerService::GetScreenSupportedColorGamuts(ScreenId screenId, in GetScreenSupportedColorGamuts() 352 DMError DisplayManagerService::SetScreenColorTransform(ScreenId screenId) in SetScreenColorTransform() 508 uint32_t DisplayManagerService::GetScreenBrightness(uint64_t screenId) in GetScreenBrightness() 599 ScreenId screenId = GetScreenIdByDisplayId(displayId); in UpdateRSTree() local 614 ScreenId screenId = GetScreenIdByDisplayId(displayId); in AddSurfaceNodeToDisplay() local 626 ScreenId screenId = GetScreenIdByDisplayId(displayId); in RemoveSurfaceNodeFromDisplay() local 630 sptr<ScreenInfo> DisplayManagerService::GetScreenInfoById(ScreenId screenId) in GetScreenInfoById() 650 ScreenId DisplayManagerService::GetScreenGroupIdByScreenId(ScreenId screenId) in GetScreenGroupIdByScreenId() [all …]
|
/ohos5.0/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_rotation_test.cpp | 80 void ScreenListener::OnConnect(ScreenId screenId) in OnConnect() 84 void ScreenListener::OnDisconnect(ScreenId screenId) in OnDisconnect() 88 void ScreenListener::OnChange(ScreenId screenId) in OnChange() 156 ScreenId screenId = screenListener_->changeFuture_.GetResult(FUTURE_GET_RESULT_TIMEOUT); variable 191 ScreenId screenId = screenListener_->changeFuture_.GetResult(FUTURE_GET_RESULT_TIMEOUT); variable 270 ScreenId screenId = screenListener_->changeFuture_.GetResult(FUTURE_GET_RESULT_TIMEOUT); variable 314 ScreenId screenId = screenListener_->changeFuture_.GetResult(FUTURE_GET_RESULT_TIMEOUT); variable
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/src/ |
H A D | screen_manager_adapter.cpp | 81 uint64_t screenId = Rosen::ScreenManager::GetInstance().CreateVirtualScreen(option); in CreateVirtualScreen() local 127 void ScreenMgrAdapter::RemoveScreenFromGroup(uint64_t screenId) in RemoveScreenFromGroup() 135 int32_t ScreenMgrAdapter::RemoveVirtualScreen(uint64_t screenId) in RemoveVirtualScreen() 146 int32_t ScreenMgrAdapter::SetImageSurface(uint64_t screenId, sptr<OHOS::Surface> surface) in SetImageSurface() 158 std::shared_ptr<DScreenMapRelation> ScreenMgrAdapter::GetMapRelation(uint64_t screenId) in GetMapRelation()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/ |
H A D | rs_screen_skipframe_test.cpp | 82 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable 103 ScreenId screenId = INVALID_SCREEN_ID; variable 119 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable 136 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable 153 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable 174 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable 196 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable 314 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable 348 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable 444 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); variable
|
H A D | rs_interfaces_test.cpp | 74 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 109 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 402 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 433 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 455 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 480 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 520 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 536 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 555 auto screenId = rsInterfaces->GetDefaultScreenId(); variable 588 auto screenId = rsInterfaces->GetDefaultScreenId(); variable [all …]
|
/ohos5.0/foundation/window/window_manager/test/fuzztest/dms/screenmanager_fuzzer/ |
H A D | screenmanager_fuzzer.cpp | 31 virtual void OnConnect(ScreenId screenId) override in OnConnect() 35 virtual void OnDisconnect(ScreenId screenId) override in OnDisconnect() 39 virtual void OnChange(ScreenId screenId) override in OnChange() 118 ScreenId screenId = screenManager.CreateVirtualScreen(option); in MakeMirrorWithVirtualScreenFuzzTest() local 159 ScreenId screenId = screenManager.CreateVirtualScreen(option); in MakeExpandWithVirtualScreenFuzzTest() local 209 ScreenId screenId; in SetVirtualScreenSurfaceFuzzTest() local 222 ScreenId screenId; in SetScreenRotationLockedFuzzTest() local 236 ScreenId screenId; in IsScreenRotationLocked() local 250 ScreenId screenId; in RemoveVirtualScreenFromGroupFuzzTest() local 264 ScreenId screenId; in MakeMirrorFuzzTest() local [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_colorspace_convert_test.cpp | 52 ScreenId screenId = 0; variable 70 ScreenId screenId = 0; variable 97 ScreenId screenId = 0; variable 125 ScreenId screenId = 0; variable 146 ScreenId screenId = 0; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_render_service_client_test.cpp | 415 ScreenId screenId = INVALID_SCREEN_ID; variable 435 auto screenId = rsClient->GetDefaultScreenId(); variable 450 auto screenId = rsClient->GetDefaultScreenId(); variable 483 auto screenId = rsClient->GetDefaultScreenId(); variable 524 auto screenId = rsClient->GetDefaultScreenId(); variable 540 auto screenId = rsClient->GetDefaultScreenId(); variable 554 auto screenId = rsClient->GetDefaultScreenId(); variable 568 auto screenId = rsClient->GetDefaultScreenId(); variable 583 auto screenId = rsClient->GetDefaultScreenId(); variable 626 auto screenId = rsClient->GetDefaultScreenId(); variable [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_session_manager_client.cpp | 104 void ScreenSessionManagerClient::OnScreenConnectionChanged(ScreenId screenId, ScreenEvent screenEve… in OnScreenConnectionChanged() 163 void ScreenSessionManagerClient::OnPropertyChanged(ScreenId screenId, in OnPropertyChanged() 190 void ScreenSessionManagerClient::OnSensorRotationChanged(ScreenId screenId, float sensorRotation) in OnSensorRotationChanged() 200 void ScreenSessionManagerClient::OnHoverStatusChanged(ScreenId screenId, int32_t hoverStatus) in OnHoverStatusChanged() 210 void ScreenSessionManagerClient::OnScreenOrientationChanged(ScreenId screenId, float screenOrientat… in OnScreenOrientationChanged() 220 void ScreenSessionManagerClient::OnScreenRotationLockedChanged(ScreenId screenId, bool isLocked) in OnScreenRotationLockedChanged() 293 void ScreenSessionManagerClient::UpdateScreenRotationProperty(ScreenId screenId, const RRect& bound… in UpdateScreenRotationProperty() 341 ScreenProperty ScreenSessionManagerClient::GetPhyScreenProperty(ScreenId screenId) in GetPhyScreenProperty() 393 void ScreenSessionManagerClient::UpdateAvailableArea(ScreenId screenId, DMRect area) in UpdateAvailableArea() 454 ScreenId screenId = iter.first; in SwitchUserCallback() local [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/ |
H A D | screenregionmgr_test.cpp | 44 uint64_t screenId = 0; variable 84 uint64_t screenId = 0; variable 246 uint64_t screenId = 0; variable 261 uint64_t screenId = 0; variable 279 uint64_t screenId = 0; variable
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | screen_session_manager.cpp | 644 for (auto screenId : screenIds) { in NotifyScreenModeChange() local 1598 for (auto screenId : screenIds) { in UpdateDisplayState() local 1897 for (auto screenId : screenIds) { in SetScreenPower() local 2488 auto screenId = screenIds[0]; in NotifyDisplayPowerEvent() local 2519 for (auto screenId : screenIds) { in GetAllScreenInfos() local 3044 int32_t screenId = -1; in RegisterSettingRotationObserver() local 3090 for (ScreenId screenId : screenIds) { in StopScreens() local 3241 for (auto screenId : screenIds) { in MakeUniqueScreen() local 3738 ScreenId screenId = screens[i]; in ChangeScreenGroup() local 3811 for (ScreenId screenId : screens) { in RemoveVirtualScreenFromGroup() local [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/composer/ |
H A D | hello_composer.cpp | 143 uint32_t screenId = CreatePhysicalScreen(); in CreateShowLayers() local 155 void HelloComposer::InitLayers(uint32_t screenId) in InitLayers() 248 uint32_t screenId = iter->first; in Draw() local 295 uint32_t screenId = currScreenId_; in CreatePhysicalScreen() local 384 uint32_t screenId = widthIter->first; in RemoveOffScreenData() local 394 uint32_t screenId = heightIter->first; in RemoveOffScreenData() local 404 uint32_t screenId = outputIter->first; in RemoveOffScreenData() local 414 uint32_t screenId = screenIter->first; in RemoveOffScreenData() local 424 uint32_t screenId = layerIter->first; in RemoveOffScreenData() local 450 uint32_t screenId = curOutput_->GetScreenId(); in DoPrepareCompleted() local
|