Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java69 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/
DPresentation.java147 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/
DMediaRouterJellybeanMr1.java68 private final DisplayManager mDisplayManager; field in MediaRouterJellybeanMr1.ActiveScanWorkaround
79 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in ActiveScanWorkaround()
117 mScanWifiDisplaysMethod.invoke(mDisplayManager); in run()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java71 private final DisplayManager mDisplayManager; field in OverlayDisplayWindow
104 mDisplayManager = (DisplayManager)context.getSystemService( in OverlayDisplayWindow()
119 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show()
121 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show()
134 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/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DOverlayDisplayWindow.java185 private final DisplayManager mDisplayManager; field in OverlayDisplayWindow.JellybeanMr1Impl
212 mDisplayManager = (DisplayManager)context.getSystemService( in JellybeanMr1Impl()
226 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show()
228 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show()
242 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dismiss()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java188 DisplayManager mDisplayManager; field in WallpaperService.Engine
869 mDisplayManager = (DisplayManager)getSystemService(Context.DISPLAY_SERVICE); in attach()
870 mDisplayManager.registerDisplayListener(mDisplayListener, mCaller.getHandler()); in attach()
871 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in attach()
1017 if (mDisplayManager != null) { in detach()
1018 mDisplayManager.unregisterDisplayListener(mDisplayListener); in detach()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java132 private DisplayManager mDisplayManager; field in UsageStatsService
225 mDisplayManager = (DisplayManager) getContext().getSystemService( in onBootPhase()
229 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onBootPhase()
245 return mDisplayManager in isDisplayOn()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java131 private final DisplayManager mDisplayManager; field in BridgeContext
215 mDisplayManager = new DisplayManager(this); in BridgeContext()
563 return mDisplayManager; in getSystemService()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouter.java1896 private final DisplayManagerCompat mDisplayManager; field in MediaRouter.GlobalMediaRouter
1927 mDisplayManager = DisplayManagerCompat.getInstance(applicationContext); in GlobalMediaRouter()
1979 return mDisplayManager.getDisplay(displayId); in getDisplay()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java122 private DisplayManager mDisplayManager; field in DeviceIdleController
1364 mDisplayManager = (DisplayManager) getContext().getSystemService( in onBootPhase()
1422 mDisplayManager.registerDisplayListener(mDisplayListener, null); in onBootPhase()
1751 mCurDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateDisplayLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java294 DisplayManager mDisplayManager; field in ActivityStackSupervisor
539 mDisplayManager = in setWindowManager()
541 mDisplayManager.registerDisplayListener(this, null); in setWindowManager()
543 Display[] displays = mDisplayManager.getDisplays(); in setWindowManager()
4322 final Display display = mDisplayManager.getDisplay(displayId); in ActivityDisplay()
/frameworks/base/core/java/android/view/
DViewRootImpl.java170 final DisplayManager mDisplayManager; field in ViewRootImpl
446 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in ViewRootImpl()
553 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in setView()
3296 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dispatchDetachedFromWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java721 final DisplayManager mDisplayManager; field in WindowManagerService
975 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in WindowManagerService()
976 mDisplays = mDisplayManager.getDisplays(); in WindowManagerService()
10927 final Display display = mDisplayManager.getDisplay(displayId); in getDisplayContentLocked()
10973 final Display display = mDisplayManager.getDisplay(displayId); in handleDisplayAdded()