Home
last modified time | relevance | path

Searched refs:mDisplayManager (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java70 private DisplayManager mDisplayManager; field in VirtualDisplayTest
81 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()
114 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay()
137 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay()
165 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPublicPresentationVirtualDisplay()
178 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testPublicPresentationVirtualDisplay()
218 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testSecurePublicPresentationVirtualDisplay()
232 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testSecurePublicPresentationVirtualDisplay()
264 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayRegistered()
268 findDisplay(mDisplayManager.getDisplays( in assertDisplayRegistered()
[all …]
/frameworks/base/core/java/android/app/
DPresentation.java156 private final DisplayManager mDisplayManager; field in Presentation
190 mDisplayManager = (DisplayManager)getContext().getSystemService(DISPLAY_SERVICE); in Presentation()
224 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onStart()
239 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onStop()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java74 private final DisplayManager mDisplayManager; field in Vr2dDisplay
105 mDisplayManager = displayManager; in Vr2dDisplay()
277 Log.d(TAG, "Request to start VD, DM:" + mDisplayManager); in startVirtualDisplay()
280 if (mDisplayManager == null) { in startVirtualDisplay()
298 mVirtualDisplay = mDisplayManager.createVirtualDisplay(null /* projection */, in startVirtualDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNavigationBarController.java62 private final DisplayManager mDisplayManager; field in NavigationBarController
72 mDisplayManager = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in NavigationBarController()
86 Display display = mDisplayManager.getDisplay(displayId); in onDisplayReady()
99 Display[] displays = mDisplayManager.getDisplays(); in createNavigationBars()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java72 private final DisplayManager mDisplayManager; field in OverlayDisplayWindow
107 mDisplayManager = (DisplayManager)context.getSystemService( in OverlayDisplayWindow()
122 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show()
124 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show()
137 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dismiss()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java49 private final DisplayManager mDisplayManager; field in DisplaySourceService
62 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in DisplaySourceService()
206 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay( in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java70 private final DisplayManager mDisplayManager; field in BrightnessController
281 mDisplayManager = context.getSystemService(DisplayManager.class); in BrightnessController()
404 mDisplayManager.setTemporaryBrightness(brightness); in setBrightness()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1052 mIWallpaperEngine.mDisplayManager.registerDisplayListener(mDisplayListener, in attach()
1240 if (mIWallpaperEngine.mDisplayManager != null) { in detach()
1241 mIWallpaperEngine.mDisplayManager.unregisterDisplayListener(mDisplayListener); in detach()
1311 final DisplayManager mDisplayManager; field in WallpaperService.IWallpaperEngineWrapper
1332 mDisplayManager = getSystemService(DisplayManager.class); in IWallpaperEngineWrapper()
1333 mDisplay = mDisplayManager.getDisplay(mDisplayId); in IWallpaperEngineWrapper()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java580 mDisplayManager.getDisplay(DEFAULT_DISPLAY).getDisplayInfo(displayInfo); in generateCrop()
797 private final DisplayManager mDisplayManager; field in WallpaperManagerService
1006 Display display = mDisplayManager.getDisplay(displayId); in getMaximumSizeDimension()
1009 display = mDisplayManager.getDisplay(DEFAULT_DISPLAY); in getMaximumSizeDimension()
1210 final Display[] displays = mDisplayManager.getDisplays(); in appendConnectorWithCondition()
1259 final Display display = mDisplayManager.getDisplay(displayId); in getDisplayConnectorOrCreate()
1647 mDisplayManager = mContext.getSystemService(DisplayManager.class); in WallpaperManagerService()
1648 mDisplayManager.registerDisplayListener(mDisplayListener, null /* handler */); in WallpaperManagerService()
2041 return mDisplayManager.getDisplay(displayId) != null; in isValidDisplay()
/frameworks/base/services/core/java/com/android/server/wm/
DRootActivityContainer.java166 DisplayManager mDisplayManager; field in RootActivityContainer
239 mDisplayManager = mService.mContext.getSystemService(DisplayManager.class); in setWindowManager()
240 mDisplayManager.registerDisplayListener(this, mService.mUiHandler); in setWindowManager()
243 final Display[] displays = mDisplayManager.getDisplays(); in setWindowManager()
305 if (mDisplayManager == null) { in getActivityDisplayOrCreate()
309 final Display display = mDisplayManager.getDisplay(displayId); in getActivityDisplayOrCreate()
DWindowManagerService.java798 final DisplayManager mDisplayManager; field in WindowManagerService
1055 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in WindowManagerService()
1667 final Display display = mDisplayManager.getDisplay(displayId); in getDisplayContentOrCreate()
6780 final Display display = mDisplayManager.getDisplay(displayId); in checkCallerOwnsDisplay()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java177 final Display display = mWindowManagerService.mDisplayManager.getDisplay(DEFAULT_DISPLAY);
DActivityTestsBase.java512 mRootActivityContainer.mDisplayManager = in initRootActivityContainerMocks()
702 supervisor.mRootActivityContainer.mDisplayManager.getDisplay(displayId)); in create()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java1585 private DisplayManager mDisplayManager; field in AppStandbyController.Injector
1609 mDisplayManager = (DisplayManager) mContext.getSystemService( in onBootPhase()
1672 return mDisplayManager in isDefaultDisplayOn()
1677 mDisplayManager.registerDisplayListener(listener, handler); in registerDisplayListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java116 private DisplayManager mDisplayManager; field in ScreenDecorations
399 mDisplayManager = (DisplayManager) mContext.getSystemService( in startOnScreenDecorationsThread()
401 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in startOnScreenDecorationsThread()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java160 private final DisplayManager mDisplayManager; field in BridgeContext
243 mDisplayManager = new DisplayManager(this); in BridgeContext()
605 return mDisplayManager; in getSystemService()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3877 private final DisplayManager mDisplayManager; field in AccessibilityManagerService.AccessibilityDisplayListener
3881 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in AccessibilityDisplayListener()
3882 mDisplayManager.registerDisplayListener(this, handler); in AccessibilityDisplayListener()
3893 final Display[] displays = mDisplayManager.getDisplays(); in initializeDisplayList()
3911 final Display display = mDisplayManager.getDisplay(displayId); in onDisplayAdded()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java379 DisplayManager mDisplayManager; field in PhoneWindowManager
1754 mDisplayManager = mContext.getSystemService(DisplayManager.class); in init()
2512 final Display targetDisplay = mDisplayManager.getDisplay(displayId); in getDisplayContext()
4223 : mDisplayManager.getDisplay(displayId); in shouldDispatchInputWhenNonInteractive()
/frameworks/base/core/java/android/view/
DViewRootImpl.java310 final DisplayManager mDisplayManager; field in ViewRootImpl
648 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in ViewRootImpl()
790 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler);
4352 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dispatchDetachedFromWindow()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt8263 Landroid/app/Presentation;->mDisplayManager:Landroid/hardware/display/DisplayManager;
64794 Landroid/service/wallpaper/WallpaperService$Engine;->mDisplayManager:Landroid/hardware/display/Disp…
79160 Landroid/view/ViewRootImpl;->mDisplayManager:Landroid/hardware/display/DisplayManager;