/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 69 private DisplayManager mDisplayManager; field in VirtualDisplayTest 80 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp() 113 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay() 136 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay() 164 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPublicPresentationVirtualDisplay() 177 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testPublicPresentationVirtualDisplay() 217 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testSecurePublicPresentationVirtualDisplay() 231 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testSecurePublicPresentationVirtualDisplay() 263 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayRegistered() 267 findDisplay(mDisplayManager.getDisplays( in assertDisplayRegistered() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 147 private final DisplayManager mDisplayManager; field in Presentation 180 mDisplayManager = (DisplayManager)getContext().getSystemService(Context.DISPLAY_SERVICE); in Presentation() 209 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onStart() 224 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onStop()
|
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
D | MediaRouterJellybeanMr1.java | 61 private final DisplayManager mDisplayManager; field in MediaRouterJellybeanMr1.ActiveScanWorkaround 72 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in ActiveScanWorkaround() 110 mScanWifiDisplaysMethod.invoke(mDisplayManager); in run()
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/media/routing/ |
D | MediaRouterJellybeanMr1.java | 61 private final DisplayManager mDisplayManager; field in MediaRouterJellybeanMr1.ActiveScanWorkaround 72 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in ActiveScanWorkaround() 110 mScanWifiDisplaysMethod.invoke(mDisplayManager); in run()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 71 private final DisplayManager mDisplayManager; field in OverlayDisplayWindow 114 mDisplayManager = (DisplayManager)context.getSystemService( in OverlayDisplayWindow() 127 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show() 129 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show() 142 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dismiss()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | DisplaySourceService.java | 49 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/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 194 DisplayManager mDisplayManager; field in WallpaperService.Engine 868 mDisplayManager = (DisplayManager)getSystemService(Context.DISPLAY_SERVICE); in attach() 869 mDisplayManager.registerDisplayListener(mDisplayListener, mCaller.getHandler()); in attach() 870 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in attach() 1015 if (mDisplayManager != null) { in detach() 1016 mDisplayManager.unregisterDisplayListener(mDisplayListener); in detach()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 113 private final DisplayManager mDisplayManager; field in BridgeContext 162 mDisplayManager = new DisplayManager(this); in BridgeContext() 482 return mDisplayManager; in getSystemService()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouter.java | 1616 private final DisplayManagerCompat mDisplayManager; field in MediaRouter.GlobalMediaRouter 1644 mDisplayManager = DisplayManagerCompat.getInstance(applicationContext); in GlobalMediaRouter() 1696 return mDisplayManager.getDisplay(displayId); in getDisplay()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStackSupervisor.java | 173 DisplayManager mDisplayManager; field in ActivityStackSupervisor 350 mDisplayManager = in setWindowManager() 352 mDisplayManager.registerDisplayListener(this, null); in setWindowManager() 354 Display[] displays = mDisplayManager.getDisplays(); in setWindowManager() 4025 final Display display = mDisplayManager.getDisplay(displayId); in ActivityDisplay()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 143 final DisplayManager mDisplayManager; field in ViewRootImpl 391 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in ViewRootImpl() 450 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in setView() 3020 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dispatchDetachedFromWindow()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 628 final DisplayManager mDisplayManager; field in WindowManagerService 840 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in WindowManagerService() 841 Display[] displays = mDisplayManager.getDisplays(); in WindowManagerService() 11544 final Display display = mDisplayManager.getDisplay(displayId); in getDisplayContentLocked() 11590 final Display display = mDisplayManager.getDisplay(displayId); in handleDisplayAdded()
|