Home
last modified time | relevance | path

Searched refs:SingletonContainer (Results 1 – 25 of 60) sorted by relevance

123

/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_proxy_test.cpp67 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
91 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
115 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
139 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
163 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
189 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
217 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
245 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
273 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
303 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
[all …]
/ohos5.0/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_adapter_test.cpp230 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
244 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
245 SingletonContainer::Get<ScreenManagerAdapter>().Clear();
256 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
258 SingletonContainer::Get<ScreenManagerAdapter>().Clear();
445 DMError ret = SingletonContainer::Get<ScreenManagerAdapter>().
542 bool ret = SingletonContainer::Get<DisplayManagerAdapter>().WakeUpEnd();
573 bool ret = SingletonContainer::Get<DisplayManagerAdapter>().SuspendEnd();
729 SingletonContainer::Get<ScreenManagerAdapter>().DestroyVirtualScreen(id);
743 SingletonContainer::Get<ScreenManagerAdapter>().DestroyVirtualScreen(id);
[all …]
H A Ddisplay_manager_agent_proxy_test.cpp67 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
68 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
96 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
97 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
120 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
143 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
167 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
189 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
211 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
234 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
[all …]
/ohos5.0/foundation/window/window_manager/dm_lite/test/unittest/
H A Ddisplay_manager_lite_proxy_test.cpp61 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
84 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
107 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
123 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
146 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
168 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
183 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
210 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
238 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
267 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
[all …]
H A Ddisplay_manager_adapter_lite_test.cpp72 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
87 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
88 SingletonContainer::Get<DisplayManagerAdapterLite>().Clear();
89 ASSERT_FALSE(SingletonContainer::Get<DisplayManagerAdapterLite>().isProxyValid_);
99 SingletonContainer::Get<DisplayManagerAdapterLite>().InitDMSProxy();
101 SingletonContainer::Get<DisplayManagerAdapterLite>().Clear();
102 ASSERT_FALSE(SingletonContainer::Get<DisplayManagerAdapterLite>().isProxyValid_);
113 bool ret = SingletonContainer::Get<DisplayManagerAdapterLite>().WakeUpBegin(reason);
124 bool ret = SingletonContainer::Get<DisplayManagerAdapterLite>().WakeUpEnd();
136 bool ret = SingletonContainer::Get<DisplayManagerAdapterLite>().SuspendBegin(reason);
[all …]
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_manager_agent_proxy_test.cpp62 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
88 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
111 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
135 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
161 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
187 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
212 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
237 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
263 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
288 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
[all …]
/ohos5.0/foundation/window/window_manager/dm/src/
H A Dscreen.cpp126 return SingletonContainer::Get<ScreenManagerAdapter>().SetOrientation(GetId(), orientation); in SetOrientation()
136 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenColorGamut(GetId(), colorGamut); in GetScreenColorGamut()
146 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenGamutMap(GetId(), gamutMap); in GetScreenGamutMap()
151 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenGamutMap(GetId(), gamutMap); in SetScreenGamutMap()
156 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorTransform(GetId()); in SetScreenColorTransform()
161 return SingletonContainer::Get<ScreenManagerAdapter>().GetPixelFormat(GetId(), pixelFormat); in GetPixelFormat()
166 return SingletonContainer::Get<ScreenManagerAdapter>().SetPixelFormat(GetId(), pixelFormat); in SetPixelFormat()
176 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenHDRFormat(GetId(), hdrFormat); in GetScreenHDRFormat()
181 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenHDRFormat(GetId(), modeIdx); in SetScreenHDRFormat()
222 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenActiveMode(screenId, modeId); in SetScreenActiveMode()
[all …]
H A Dscreen_manager.cpp227 auto screenInfo = SingletonContainer::Get<ScreenManagerAdapter>().GetScreenInfo(screenId); in GetScreen()
412 regSucc = SingletonContainer::Get<ScreenManagerAdapter>().RegisterDisplayManagerAgent( in RegisterDisplayManagerAgent()
498 return SingletonContainer::Get<ScreenManagerAdapter>().StopExpand(expandScreenIds); in StopExpand()
507 return SingletonContainer::Get<ScreenManagerAdapter>().StopMirror(mirrorScreenIds); in StopMirror()
513 return SingletonContainer::Get<ScreenManagerAdapter>().DisableMirror(disableOrNot); in DisableMirror()
527 SingletonContainer::Get<ScreenManagerAdapter>().RemoveVirtualScreenFromGroup(screens); in RemoveVirtualScreenFromGroup()
547 return SingletonContainer::Get<ScreenManagerAdapter>().DestroyVirtualScreen(screenId); in DestroyVirtualScreen()
572 return SingletonContainer::Get<ScreenManagerAdapter>().GetVirtualScreenFlag(screenId); in GetVirtualScreenFlag()
599 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenPower(dmsScreenId); in GetScreenPower()
604 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenRotationLocked(isLocked); in SetScreenRotationLocked()
[all …]
H A Ddisplay_manager.cpp928 return SingletonContainer::Get<DisplayManagerAdapter>().GetAllDisplayIds(); in GetAllDisplayIds()
974 return SingletonContainer::Get<DisplayManagerAdapter>().IsFoldable(); in IsFoldable()
984 return SingletonContainer::Get<DisplayManagerAdapter>().IsCaptured(); in IsCaptured()
994 return SingletonContainer::Get<DisplayManagerAdapter>().GetFoldStatus(); in GetFoldStatus()
1004 return SingletonContainer::Get<DisplayManagerAdapter>().GetFoldDisplayMode(); in GetFoldDisplayMode()
1030 SingletonContainer::Get<DisplayManagerAdapter>().SetFoldDisplayMode(mode); in SetFoldDisplayMode()
1050 SingletonContainer::Get<DisplayManagerAdapter>().SetFoldStatusLocked(locked); in SetFoldStatusLocked()
1903 return SingletonContainer::Get<DisplayManagerAdapter>().WakeUpBegin(reason); in WakeUpBegin()
1909 return SingletonContainer::Get<DisplayManagerAdapter>().WakeUpEnd(); in WakeUpEnd()
1922 return SingletonContainer::Get<DisplayManagerAdapter>().SuspendEnd(); in SuspendEnd()
[all …]
H A Ddisplay.cpp180 auto displayInfo = SingletonContainer::Get<DisplayManagerAdapter>().GetDisplayInfo(GetId()); in UpdateDisplayInfo()
220 return SingletonContainer::Get<DisplayManagerAdapter>().GetCutoutInfo(GetId()); in GetCutoutInfo()
225 return SingletonContainer::Get<DisplayManagerAdapter>().HasImmersiveWindow(immersive); in HasImmersiveWindow()
230 return SingletonContainer::Get<DisplayManagerAdapter>().GetAvailableArea(GetId(), area); in GetAvailableArea()
235 …return SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedHDRFormats(GetScreenId(), hdrFo… in GetSupportedHDRFormats()
240 …return SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedColorSpaces(GetScreenId(), colo… in GetSupportedColorSpaces()
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_manager_agent.cpp25 SingletonContainer::Get<WindowManager>().UpdateFocusChangeInfo(focusChangeInfo, focused); in UpdateFocusChangeInfo()
30 SingletonContainer::Get<WindowManager>().UpdateWindowModeTypeInfo(type); in UpdateWindowModeTypeInfo()
35 SingletonContainer::Get<WindowManager>().UpdateSystemBarRegionTints(displayId, tints); in UpdateSystemBarRegionTints()
41 SingletonContainer::Get<WindowManager>().NotifyAccessibilityWindowInfo(infos, type); in NotifyAccessibilityWindowInfo()
46 SingletonContainer::Get<WindowManager>().UpdateWindowVisibilityInfo(visibilityInfos); in UpdateWindowVisibilityInfo()
52SingletonContainer::Get<WindowManager>().UpdateWindowDrawingContentInfo(windowDrawingContentInfos); in UpdateWindowDrawingContentInfo()
57SingletonContainer::Get<WindowManager>().UpdateCameraFloatWindowStatus(accessTokenId, isShowing); in UpdateCameraFloatWindowStatus()
62 SingletonContainer::Get<WindowManager>().NotifyWaterMarkFlagChangedResult(showWaterMark); in NotifyWaterMarkFlagChangedResult()
68 SingletonContainer::Get<WindowManager>().UpdateVisibleWindowNum(visibleWindowNumInfo); in UpdateVisibleWindowNum()
73 SingletonContainer::Get<WindowManager>().NotifyGestureNavigationEnabledResult(enable); in NotifyGestureNavigationEnabledResult()
[all …]
H A Dwindow_manager_agent_lite.cpp26 SingletonContainer::Get<WindowManagerLite>().UpdateFocusChangeInfo(focusChangeInfo, focused); in UpdateFocusChangeInfo()
31 SingletonContainer::Get<WindowManagerLite>().UpdateWindowVisibilityInfo(visibilityInfos); in UpdateWindowVisibilityInfo()
37SingletonContainer::Get<WindowManagerLite>().UpdateWindowDrawingContentInfo(windowDrawingContentIn… in UpdateWindowDrawingContentInfo()
42 SingletonContainer::Get<WindowManagerLite>().UpdateWindowModeTypeInfo(type); in UpdateWindowModeTypeInfo()
47 SingletonContainer::Get<WindowManagerLite>().UpdateCameraWindowStatus(accessTokenId, isShowing); in UpdateCameraWindowStatus()
52 SingletonContainer::Get<WindowManagerLite>().NotifyWindowStyleChange(type); in NotifyWindowStyleChange()
58 SingletonContainer::Get<WindowManagerLite>().NotifyAccessibilityWindowInfo(infos, type); in NotifyAccessibilityWindowInfo()
63SingletonContainer::Get<WindowManagerLite>().UpdatePiPWindowStateChanged(bundleName, isForeground); in UpdatePiPWindowStateChanged()
H A Dwindow_manager.cpp415 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterFocusChangedListener()
468 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterWindowModeChangedListener()
521 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterSystemBarChangedListener()
597 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterWindowUpdateListener()
648 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterVisibilityChangedListener()
702 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterCameraFloatWindowChangedListener()
761 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterWaterMarkFlagChangedListener()
965 SingletonContainer::Get<WindowAdapter>().GetFocusWindowInfo(focusInfo); in GetFocusWindowInfo()
1144 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterDrawingContentChangedListener()
1206 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent( in RegisterVisibleWindowNumChangedListener()
[all …]
H A Dwindow_manager_lite.cpp297 ret = SingletonContainer::Get<WindowAdapterLite>().RegisterWindowManagerAgent( in RegisterFocusChangedListener()
330 ret = SingletonContainer::Get<WindowAdapterLite>().UnregisterWindowManagerAgent( in UnregisterFocusChangedListener()
349 ret = SingletonContainer::Get<WindowAdapterLite>().RegisterWindowManagerAgent( in RegisterVisibilityChangedListener()
382 ret = SingletonContainer::Get<WindowAdapterLite>().UnregisterWindowManagerAgent( in UnregisterVisibilityChangedListener()
395 SingletonContainer::Get<WindowAdapterLite>().GetFocusWindowInfo(focusInfo); in GetFocusWindowInfo()
462 ret = SingletonContainer::Get<WindowAdapterLite>().RegisterWindowManagerAgent( in RegisterDrawingContentChangedListener()
495 ret = SingletonContainer::Get<WindowAdapterLite>().UnregisterWindowManagerAgent( in UnregisterDrawingContentChangedListener()
568 ret = SingletonContainer::Get<WindowAdapterLite>().UnregisterWindowManagerAgent( in UnregisterWindowModeChangedListener()
623 ret = SingletonContainer::Get<WindowAdapterLite>().UnregisterWindowManagerAgent( in UnregisterCameraWindowChangedListener()
700 return SingletonContainer::Get<WindowAdapterLite>().GetAllMainWindowInfos(infos); in GetAllMainWindowInfos()
[all …]
H A Dpicture_in_picture_controller.cpp124 SingletonContainer::Get<PiPReporter>().ReportPiPStartWindow(static_cast<int32_t>(startType), in ShowPictureInPictureWindow()
138 SingletonContainer::Get<PiPReporter>().ReportPiPStartWindow(static_cast<int32_t>(startType), in ShowPictureInPictureWindow()
156 SingletonContainer::Get<PiPReporter>().ReportPiPStartWindow(static_cast<int32_t>(startType), in ShowPictureInPictureWindow()
172 SingletonContainer::Get<PiPReporter>().ReportPiPStartWindow(static_cast<int32_t>(startType), in StartPictureInPicture()
217 SingletonContainer::Get<PiPReporter>().ReportPiPStartWindow(static_cast<int32_t>(startType), in StartPictureInPictureInner()
229 SingletonContainer::Get<PiPReporter>().ReportPiPStartWindow(static_cast<int32_t>(type), in StartPictureInPictureInner()
234 SingletonContainer::Get<PiPReporter>().ReportPiPStartWindow(static_cast<int32_t>(type), in StartPictureInPictureInner()
308 SingletonContainer::Get<PiPReporter>().ReportPiPStopWindow(static_cast<int32_t>(stopType), in StopPictureInPictureInner()
325 SingletonContainer::Get<PiPReporter>().ReportPiPStopWindow(static_cast<int32_t>(stopType), in StopPictureInPictureInner()
464 SingletonContainer::Get<PiPReporter>().ReportPiPRatio(width, height); in UpdateContentSize()
[all …]
H A Dwindow_accessibility_controller.cpp27 SingletonContainer::Get<WindowAdapter>().SetAnchorAndScale(x, y, scale); in SetAnchorAndScale()
32 SingletonContainer::Get<WindowAdapter>().SetAnchorOffset(deltaX, deltaY); in SetAnchorOffset()
37 SingletonContainer::Get<WindowAdapter>().OffWindowZoom(); in OffWindowZoom()
H A Dwindow_scene.cpp68 auto mainWindow = SingletonContainer::Get<StaticCall>().CreateWindow( in Init()
82 SingletonContainer::Get<WindowInfoReporter>() in Init()
101 auto mainWindow = SingletonContainer::Get<StaticCall>() in Init()
115 SingletonContainer::Get<WindowInfoReporter>() in Init()
131 …return SingletonContainer::Get<StaticCall>().CreateWindow(windowName, option, mainWindow->GetConte… in CreateWindow()
148 return SingletonContainer::Get<StaticCall>().GetSubWindow(parentId); in GetSubWindow()
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dsingleton_container.h28 class SingletonContainer {
29 WM_DECLARE_SINGLE_INSTANCE_BASE(SingletonContainer);
42 return SingletonContainer::GetInstance().destroyed_; in IsDestroyed()
51 if (SingletonContainer::GetInstance().GetSingleton(nameT) == nullptr) { in Get()
54 return *(reinterpret_cast<T*>(SingletonContainer::GetInstance().GetSingleton(nameT))); in Get()
63 SingletonContainer::GetInstance().SetSingleton(nameT, &instance); in Set()
67 SingletonContainer() = default;
69 virtual ~SingletonContainer();
76 std::map<int32_t, SingletonContainer::Singleton> singletonMap;
H A Dsingleton_delegator.h33 SingletonContainer::GetInstance().SetSingleton(nameT, &T::GetInstance()); in SingletonDelegator()
44 auto ret = SingletonContainer::Get<S>(); in Dep()
45 SingletonContainer::GetInstance().DependOn(nameT, nameS); in Dep()
/ohos5.0/foundation/window/window_manager/dm_lite/src/
H A Ddisplay_manager_lite.cpp483 return SingletonContainer::Get<DisplayManagerAdapterLite>().GetFoldStatus(); in GetFoldStatus()
513 return SingletonContainer::Get<DisplayManagerAdapterLite>().IsFoldable(); in IsFoldable()
523 return SingletonContainer::Get<DisplayManagerAdapterLite>().GetFoldDisplayMode(); in GetFoldDisplayMode()
533 return SingletonContainer::Get<DisplayManagerAdapterLite>().SetFoldDisplayMode(mode); in SetFoldDisplayMode()
575 return SingletonContainer::Get<DisplayManagerAdapterLite>().WakeUpBegin(reason); in WakeUpBegin()
581 return SingletonContainer::Get<DisplayManagerAdapterLite>().WakeUpEnd(); in WakeUpEnd()
588 return SingletonContainer::Get<DisplayManagerAdapterLite>().SuspendBegin(reason); in SuspendBegin()
594 return SingletonContainer::Get<DisplayManagerAdapterLite>().SuspendEnd(); in SuspendEnd()
604 return SingletonContainer::Get<DisplayManagerAdapterLite>().GetDisplayState(displayId); in GetDisplayState()
671 return SingletonContainer::Get<DisplayManagerAdapterLite>().TryToCancelScreenOff(); in TryToCancelScreenOff()
[all …]
H A Dscreen_manager_lite.cpp161 regSucc = SingletonContainer::Get<ScreenManagerAdapterLite>().RegisterDisplayManagerAgent( in RegisterDisplayManagerAgent()
175 … unRegSucc = SingletonContainer::Get<ScreenManagerAdapterLite>().UnregisterDisplayManagerAgent( in UnregisterDisplayManagerAgent()
230 regSucc = SingletonContainer::Get<ScreenManagerAdapterLite>().RegisterDisplayManagerAgent( in RegisterScreenModeChangeManagerAgent()
244 … unRegSucc = SingletonContainer::Get<ScreenManagerAdapterLite>().UnregisterDisplayManagerAgent( in UnregisterScreenModeChangeManagerAgent()
298 …return SingletonContainer::Get<ScreenManagerAdapterLite>().SetSpecifiedScreenPower(screenId, state… in SetSpecifiedScreenPower()
304 return SingletonContainer::Get<ScreenManagerAdapterLite>().SetScreenPowerForAll(state, reason); in SetScreenPowerForAll()
309 return SingletonContainer::Get<ScreenManagerAdapterLite>().GetScreenPower(dmsScreenId); in GetScreenPower()
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dsingleton_container.cpp25 WM_IMPLEMENT_SINGLE_INSTANCE(SingletonContainer) in WM_IMPLEMENT_SINGLE_INSTANCE() argument
27 SingletonContainer::~SingletonContainer() in WM_IMPLEMENT_SINGLE_INSTANCE()
56 void SingletonContainer::AddSingleton(const std::string& name, void* instance) in AddSingleton()
69 void SingletonContainer::SetSingleton(const std::string& name, void* instance) in SetSingleton()
79 void* SingletonContainer::GetSingleton(const std::string& name) in GetSingleton()
92 void* SingletonContainer::DependOn(const std::string& instance, const std::string& name) in DependOn()
/ohos5.0/foundation/window/window_manager/interfaces/kits/cj/display_runtime/
H A Dcj_display_manager.cpp118 sptr<Display> display = SingletonContainer::Get<DisplayManager>().GetDefaultDisplaySync(); in GetDefaultDisplaySync()
139 … std::vector<sptr<Display>> displays = SingletonContainer::Get<DisplayManager>().GetAllDisplays(); in GetAllDisplays()
160 SingletonContainer::Get<DisplayManager>().HasPrivateWindow(displayId_, *hasPrivateWindow)); in HasPrivateWindow()
176 return SingletonContainer::Get<DisplayManager>().IsFoldable(); in IsFoldable()
182 SingletonContainer::Get<DisplayManager>().SetFoldDisplayMode(innerMode); in SetFoldDisplayMode()
187 return static_cast<uint32_t>(SingletonContainer::Get<DisplayManager>().GetFoldStatus()); in GetFoldStatus()
192 return static_cast<uint32_t>(SingletonContainer::Get<DisplayManager>().GetFoldDisplayMode()); in GetFoldDisplayMode()
198 …sptr<FoldCreaseRegion> region = SingletonContainer::Get<DisplayManager>().GetCurrentFoldCreaseRegi… in GetCurrentFoldCreaseRegion()
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display_manager.cpp177 sptr<Display> display = SingletonContainer::Get<DisplayManager>().GetDefaultDisplay(); in OnGetDefaultDisplay()
200 sptr<Display> display = SingletonContainer::Get<DisplayManager>().GetPrimaryDisplaySync(); in OnGetPrimaryDisplaySync()
214 sptr<Display> display = SingletonContainer::Get<DisplayManager>().GetDefaultDisplaySync(true); in OnGetDefaultDisplaySync()
361 SingletonContainer::Get<DisplayManager>().GetAllDisplayPhysicalResolution(); in OnGetAllDisplayPhysicalResolution()
434 ret = SingletonContainer::Get<DisplayManager>().RegisterDisplayListener(displayListener); in RegisterDisplayListenerWithType()
730 bool foldable = SingletonContainer::Get<DisplayManager>().IsFoldable(); in OnIsFoldable()
746 bool isCapture = SingletonContainer::Get<DisplayManager>().IsCaptured(); in OnIsCaptured()
762 FoldStatus status = SingletonContainer::Get<DisplayManager>().GetFoldStatus(); in OnGetFoldStatus()
776 FoldDisplayMode mode = SingletonContainer::Get<DisplayManager>().GetFoldDisplayMode(); in OnGetFoldDisplayMode()
799 SingletonContainer::Get<DisplayManager>().SetFoldDisplayModeFromJs(mode)); in OnSetFoldDisplayMode()
[all …]
/ohos5.0/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_touch_outside_test.cpp121 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(firstWindow->GetWindowId());
143 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(secondWindow->GetWindowId());
165 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(secondWindow->GetWindowId());
194 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(thirdWindow->GetWindowId());

123