/frameworks/support/compat/java/android/support/v4/hardware/display/ |
D | DisplayManagerCompat.java | 135 private final DisplayManager mDisplayManager; field in DisplayManagerCompat.DisplayManagerCompatApi17Impl 138 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in DisplayManagerCompatApi17Impl() 143 return mDisplayManager.getDisplay(displayId); in getDisplay() 148 return mDisplayManager.getDisplays(); in getDisplays() 153 return mDisplayManager.getDisplays(category); in getDisplays()
|
/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 | 158 private final DisplayManager mDisplayManager; field in Presentation 192 mDisplayManager = (DisplayManager)getContext().getSystemService(DISPLAY_SERVICE); in Presentation() 230 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onStart() 245 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onStop()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 79 private final DisplayManager mDisplayManager; field in Vr2dDisplay 110 mDisplayManager = displayManager; in Vr2dDisplay() 281 Log.d(TAG, "Request to start VD, DM:" + mDisplayManager); in startVirtualDisplay() 284 if (mDisplayManager == null) { in startVirtualDisplay() 300 mVirtualDisplay = mDisplayManager.createVirtualDisplay(null /* projection */, in startVirtualDisplay()
|
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
D | MediaRouterJellybeanMr1.java | 70 private final DisplayManager mDisplayManager; field in MediaRouterJellybeanMr1.ActiveScanWorkaround 81 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in ActiveScanWorkaround() 119 mScanWifiDisplaysMethod.invoke(mDisplayManager); in run()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 72 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/ |
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/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | OverlayDisplayWindow.java | 196 private final DisplayManager mDisplayManager; field in OverlayDisplayWindow.JellybeanMr1Impl 223 mDisplayManager = (DisplayManager)context.getSystemService( in JellybeanMr1Impl() 237 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show() 239 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show() 253 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dismiss()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 201 DisplayManager mDisplayManager; field in WallpaperService.Engine 966 mDisplayManager = (DisplayManager)getSystemService(Context.DISPLAY_SERVICE); in attach() 967 mDisplayManager.registerDisplayListener(mDisplayListener, mCaller.getHandler()); in attach() 968 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in attach() 1114 if (mDisplayManager != null) { in detach() 1115 mDisplayManager.unregisterDisplayListener(mDisplayListener); in detach()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 145 private DisplayManager mDisplayManager; field in UsageStatsService 246 mDisplayManager = (DisplayManager) getContext().getSystemService( in onBootPhase() 250 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onBootPhase() 279 return mDisplayManager in isDisplayOn()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 158 private final DisplayManager mDisplayManager; field in BridgeContext 243 mDisplayManager = new DisplayManager(this); in BridgeContext() 636 return mDisplayManager; in getSystemService()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouter.java | 1944 private final DisplayManagerCompat mDisplayManager; field in MediaRouter.GlobalMediaRouter 1976 mDisplayManager = DisplayManagerCompat.getInstance(applicationContext); in GlobalMediaRouter() 2029 return mDisplayManager.getDisplay(displayId); in getDisplay()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStackSupervisor.java | 313 DisplayManager mDisplayManager; field in ActivityStackSupervisor 662 mDisplayManager = in setWindowManager() 664 mDisplayManager.registerDisplayListener(this, null); in setWindowManager() 667 Display[] displays = mDisplayManager.getDisplays(); in setWindowManager() 3951 if (mDisplayManager == null) { in getActivityDisplayOrCreateLocked() 3955 final Display display = mDisplayManager.getDisplay(displayId); in getActivityDisplayOrCreateLocked() 4676 final Display display = mDisplayManager.getDisplay(displayId); in ActivityDisplay()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 215 final Display display = mService.mDisplayManager.getDisplay(displayId); in getDisplayContentOrCreate()
|
D | WindowManagerService.java | 725 final DisplayManager mDisplayManager; field in WindowManagerService 1068 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in WindowManagerService() 1069 mDisplays = mDisplayManager.getDisplays(); in WindowManagerService() 7007 final Display display = mDisplayManager.getDisplay(displayId); in onDisplayAdded()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 228 final DisplayManager mDisplayManager; field in ViewRootImpl 512 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in ViewRootImpl() 638 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in setView() 3516 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dispatchDetachedFromWindow()
|