Home
last modified time | relevance | path

Searched refs:mDisplayManager (Results 1 – 13 of 13) 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/base/core/java/android/service/wallpaper/
DWallpaperService.java187 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()
1016 if (mDisplayManager != null) { in detach()
1017 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
1365 mDisplayManager = (DisplayManager) getContext().getSystemService( in onBootPhase()
1423 mDisplayManager.registerDisplayListener(mDisplayListener, null); in onBootPhase()
1752 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()
4238 final Display display = mDisplayManager.getDisplay(displayId); in ActivityDisplay()
/frameworks/base/core/java/android/view/
DViewRootImpl.java169 final DisplayManager mDisplayManager; field in ViewRootImpl
445 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in ViewRootImpl()
552 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in setView()
3297 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dispatchDetachedFromWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java712 final DisplayManager mDisplayManager; field in WindowManagerService
966 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in WindowManagerService()
967 mDisplays = mDisplayManager.getDisplays(); in WindowManagerService()
10723 final Display display = mDisplayManager.getDisplay(displayId); in getDisplayContentLocked()
10769 final Display display = mDisplayManager.getDisplay(displayId); in handleDisplayAdded()