Home
last modified time | relevance | path

Searched refs:DisplayManager (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/media/java/android/media/projection/
DMediaProjection.java22 import android.hardware.display.DisplayManager;
103 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in createVirtualDisplay()
104 int flags = isSecure ? DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE : 0; in createVirtualDisplay()
106 flags | DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR | in createVirtualDisplay()
107 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION, callback, handler); in createVirtualDisplay()
136 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in createVirtualDisplay()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java25 import android.hardware.display.DisplayManager;
69 private DisplayManager mDisplayManager;
80 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()
138 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testPrivatePresentationVirtualDisplay()
166 DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC in testPublicPresentationVirtualDisplay()
167 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testPublicPresentationVirtualDisplay()
219 DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE in testSecurePublicPresentationVirtualDisplay()
220 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC in testSecurePublicPresentationVirtualDisplay()
221 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testSecurePublicPresentationVirtualDisplay()
268 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered()
[all …]
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/
DDisplayManagerJellybeanMr1.java28 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplay(displayId); in getDisplay()
32 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplays(); in getDisplays()
36 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplays(category); in getDisplays()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java25 import android.hardware.display.DisplayManager;
377 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in applyVirtualDisplayFlags()
378 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR in applyVirtualDisplayFlags()
379 | DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in applyVirtualDisplayFlags()
382 flags &= ~(DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC | in applyVirtualDisplayFlags()
383 DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR); in applyVirtualDisplayFlags()
384 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY | in applyVirtualDisplayFlags()
385 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; in applyVirtualDisplayFlags()
388 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; in applyVirtualDisplayFlags()
389 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC | in applyVirtualDisplayFlags()
[all …]
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/
DMediaRouterJellybeanMr1.java20 import android.hardware.display.DisplayManager;
68 private final DisplayManager mDisplayManager;
79 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in ActiveScanWorkaround()
82 mScanWifiDisplaysMethod = DisplayManager.class.getMethod("scanWifiDisplays"); in ActiveScanWorkaround()
/frameworks/base/core/java/android/app/
DPresentation.java21 import android.hardware.display.DisplayManager;
22 import android.hardware.display.DisplayManager.DisplayListener;
147 private final DisplayManager mDisplayManager;
180 mDisplayManager = (DisplayManager)getContext().getSystemService(Context.DISPLAY_SERVICE); in Presentation()
DSystemServiceRegistry.java50 import android.hardware.display.DisplayManager;
301 registerService(Context.DISPLAY_SERVICE, DisplayManager.class, in registerService()
302 new CachedServiceFetcher<DisplayManager>() { in registerService()
304 public DisplayManager createService(ContextImpl ctx) { in registerService()
305 return new DisplayManager(ctx.getOuterContext()); in registerService()
/frameworks/base/services/core/java/com/android/server/display/
DVirtualDisplayAdapter.java20 import android.hardware.display.DisplayManager;
66 boolean secure = (flags & DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE) != 0; in createVirtualDisplayLocked()
306 if ((mFlags & DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC) == 0) { in getDisplayDeviceInfoLocked()
310 if ((mFlags & DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR) != 0) { in getDisplayDeviceInfoLocked()
316 if ((mFlags & DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE) != 0) { in getDisplayDeviceInfoLocked()
319 if ((mFlags & DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION) != 0) { in getDisplayDeviceInfoLocked()
322 if ((mFlags & DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC) != 0) { in getDisplayDeviceInfoLocked()
DOverlayDisplayWindow.java23 import android.hardware.display.DisplayManager;
71 private final DisplayManager mDisplayManager;
104 mDisplayManager = (DisplayManager)context.getSystemService( in OverlayDisplayWindow()
286 private final DisplayManager.DisplayListener mDisplayListener =
287 new DisplayManager.DisplayListener() {
DDisplayManagerService.java25 import android.hardware.display.DisplayManager;
1385 if ((flags & DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC) != 0) { in createVirtualDisplay()
1386 flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR; in createVirtualDisplay()
1388 if ((flags & DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY) != 0) { in createVirtualDisplay()
1389 flags &= ~DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR; in createVirtualDisplay()
1404 (flags & DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR) != 0) { in createVirtualDisplay()
1412 if ((flags & DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE) != 0) { in createVirtualDisplay()
DWifiDisplayAdapter.java26 import android.hardware.display.DisplayManager;
421 intent = new Intent(DisplayManager.ACTION_WIFI_DISPLAY_STATUS_CHANGED); in handleSendStatusChangeBroadcast()
423 intent.putExtra(DisplayManager.EXTRA_WIFI_DISPLAY_STATUS, in handleSendStatusChangeBroadcast()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java27 import android.hardware.display.DisplayManager;
39 public class BurnInProtectionHelper implements DisplayManager.DisplayListener,
115 DisplayManager displayManager = in BurnInProtectionHelper()
116 (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in BurnInProtectionHelper()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java24 import android.hardware.display.DisplayManager;
49 private final DisplayManager mDisplayManager;
62 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in DisplaySourceService()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java39 public final class DisplayManager { class
238 public DisplayManager(Context context) { in DisplayManager() method in DisplayManager
DDisplayManagerGlobal.java21 import android.hardware.display.DisplayManager.DisplayListener;
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java23 import android.hardware.display.DisplayManager;
80 ctx.getSystemService(DisplayManager.class).getDisplay( in create()
/frameworks/base/media/java/android/media/
DMediaRouter.java31 import android.hardware.display.DisplayManager;
68 static class Static implements DisplayManager.DisplayListener {
72 final DisplayManager mDisplayService;
120 mDisplayService = (DisplayManager) appContext.getSystemService(Context.DISPLAY_SERVICE); in Static()
150 new IntentFilter(DisplayManager.ACTION_WIFI_DISPLAY_STATUS_CHANGED)); in startMonitoringRoutes()
325 return mDisplayService.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION); in getAllPresentationDisplays()
2953 if (intent.getAction().equals(DisplayManager.ACTION_WIFI_DISPLAY_STATUS_CHANGED)) { in onReceive()
2955 DisplayManager.EXTRA_WIFI_DISPLAY_STATUS)); in onReceive()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java46 import android.hardware.display.DisplayManager;
132 private DisplayManager mDisplayManager;
225 mDisplayManager = (DisplayManager) getContext().getSystemService( in onBootPhase()
296 private final DisplayManager.DisplayListener mDisplayListener
297 = new DisplayManager.DisplayListener() {
/frameworks/base/tests/AccessoryDisplay/
DREADME34 The source application uses the DisplayManager APIs to create
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java38 import android.hardware.display.DisplayManager;
39 import android.hardware.display.DisplayManager.DisplayListener;
187 DisplayManager mDisplayManager;
868 mDisplayManager = (DisplayManager)getSystemService(Context.DISPLAY_SERVICE); in attach()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecents.java30 import android.hardware.display.DisplayManager;
419 mContext.getSystemService(DisplayManager.class).getDisplay(Display.DEFAULT_DISPLAY) in dockTopTask()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java67 import android.hardware.display.DisplayManager;
131 private final DisplayManager mDisplayManager;
215 mDisplayManager = new DisplayManager(this); in BridgeContext()
591 if (serviceClass.equals(DisplayManager.class)) { in getSystemServiceName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java31 import android.hardware.display.DisplayManager;
750 final DisplayManager displayManager = in updateDisplayInfo()
751 (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in updateDisplayInfo()
/frameworks/base/docs/html/sdk/api_diff/20/
DmissingSinces.txt86 NO DOC BLOCK: android.hardware.display.DisplayManager Field VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java37 import android.hardware.display.DisplayManager;
122 private DisplayManager mDisplayManager;
395 private final DisplayManager.DisplayListener mDisplayListener
396 = new DisplayManager.DisplayListener() {
1365 mDisplayManager = (DisplayManager) getContext().getSystemService( in onBootPhase()

12