Home
last modified time | relevance | path

Searched refs:mDisplayManager (Results 1 – 12 of 12) 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.java61 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/
DMediaRouterJellybeanMr1.java61 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/
DOverlayDisplayWindow.java71 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/
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.java194 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/
DBridgeContext.java113 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/
DMediaRouter.java1616 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/
DActivityStackSupervisor.java173 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/
DViewRootImpl.java143 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/
DWindowManagerService.java628 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()