Home
last modified time | relevance | path

Searched refs:displayManager (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DProximitySensor.java272 private DisplayManager displayManager; field in ProximitySensor.ProximityDisplayListener
275 ProximityDisplayListener(DisplayManager displayManager) { in ProximityDisplayListener() argument
276 this.displayManager = displayManager; in ProximityDisplayListener()
280 displayManager.registerDisplayListener(this, null); in register()
284 displayManager.unregisterDisplayListener(this); in unregister()
293 final Display display = displayManager.getDisplay(displayId); in onDisplayChanged()
DCallCardPresenter.java1088 DisplayManager displayManager = in sendAccessibilityEvent() local
1090 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in sendAccessibilityEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java347 DisplayManager displayManager = getContext().getSystemService(DisplayManager.class); in testGetCurrentUxRestrictions_UnreportedVirtualDisplay_UseDefaultDisplayRestriction() local
348 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in testGetCurrentUxRestrictions_UnreportedVirtualDisplay_UseDefaultDisplayRestriction()
355 displayManager); in testGetCurrentUxRestrictions_UnreportedVirtualDisplay_UseDefaultDisplayRestriction()
382 DisplayManager displayManager = getContext().getSystemService(DisplayManager.class); in testGetCurrentUxRestrictions_ReportedVirtualDisplay_ReturnsRestrictionsForPort() local
383 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in testGetCurrentUxRestrictions_ReportedVirtualDisplay_ReturnsRestrictionsForPort()
438 private void mockDisplay(DisplayManager displayManager, Display display, int displayId, in mockDisplay() argument
440 when(displayManager.getDisplay(displayId)).thenReturn(display); in mockDisplay()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DHdrFormatPreferenceController.java40 Context context, int hdrType, DisplayManager displayManager) { in HdrFormatPreferenceController() argument
43 mDisplayManager = displayManager; in HdrFormatPreferenceController()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/sideloaded/
DSideLoadedAppListener.java46 DisplayManager displayManager, in SideLoadedAppListener() argument
50 mDisplayManager = displayManager; in SideLoadedAppListener()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSystemActivityMonitoringServiceTest.java125 DisplayManager displayManager = getContext().getSystemService(DisplayManager.class); in testGetTopTasksOnMultiDisplay() local
126 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in testGetTopTasksOnMultiDisplay()
DCarOccupantZoneServiceTest.java198 private void mockDisplay(DisplayManager displayManager, Display display, int displayId, in mockDisplay() argument
200 when(displayManager.getDisplay(displayId)).thenReturn(display); in mockDisplay()
205 private void mockDisplay(DisplayManager displayManager, Display display, int displayId, in mockDisplay() argument
207 when(displayManager.getDisplay(displayId)).thenReturn(display); in mockDisplay()
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
DScaledLayout.java61 DisplayManager displayManager = in ScaledLayout() local
63 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in ScaledLayout()
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java189 DisplayManager displayManager = (DisplayManager) getApplicationContext().getSystemService( in setupGLSurface() local
194 displayManager.getDisplay(displayId).getDisplayInfo(displayInfo); in setupGLSurface()
/packages/services/Car/service/src/com/android/car/cluster/
DClusterHomeService.java143 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in initClusterDisplay() local
144 Display clusterDisplay = displayManager.getDisplay(clusterDisplayId); in initClusterDisplay()
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java143 DisplayManager displayManager = getTestContext().getSystemService(DisplayManager.class); in getClusterDisplayPort() local
144 Display defaultDisplay = displayManager.getDisplay(CLUSTER_DISPLAY_ID); in getClusterDisplayPort()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java139 DisplayManager displayManager = in TvViewUiManager() local
141 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in TvViewUiManager()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java278 UserManager userManager, DisplayManager displayManager) { in FixedActivityService() argument
282 mDm = displayManager; in FixedActivityService()
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java1340 final DisplayManager displayManager = (DisplayManager) MultiShrinkScroller in getRefreshRate() local
1342 return displayManager.getDisplay(Display.DEFAULT_DISPLAY).getRefreshRate(); in getRefreshRate()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java902 static int getDefaultDisplayPhysicalPort(DisplayManager displayManager) { in getDefaultDisplayPhysicalPort() argument
903 Display defaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in getDefaultDisplayPhysicalPort()
DCarOccupantZoneService.java247 public CarOccupantZoneService(Context context, DisplayManager displayManager, in CarOccupantZoneService() argument
250 mDisplayManager = displayManager; in CarOccupantZoneService()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java635 DisplayManager displayManager = (DisplayManager) getSystemService(Context.DISPLAY_SERVICE); in onCreate() local
636 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in onCreate()
1910 DisplayManager displayManager = in applyDisplayRefreshRate()
1912 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in applyDisplayRefreshRate()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java862 DisplayManager displayManager = getSystemService(DisplayManager.class); in getWindowContext() local
863 Display primaryDisplay = displayManager.getDisplay(DEFAULT_DISPLAY); in getWindowContext()