Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DColorModePreference.java34 private DisplayManager mDisplayManager; field in ColorModePreference
42 mDisplayManager = getContext().getSystemService(DisplayManager.class); in ColorModePreference()
50 mDisplayManager.registerDisplayListener(this, new Handler(Looper.getMainLooper())); in startListening()
54 mDisplayManager.unregisterDisplayListener(this); in stopListening()
76 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported()
/packages/apps/Settings/src/com/android/settings/development/
DColorModePreference.java34 private DisplayManager mDisplayManager; field in ColorModePreference
42 mDisplayManager = getContext().getSystemService(DisplayManager.class); in ColorModePreference()
50 mDisplayManager.registerDisplayListener(this, new Handler(Looper.getMainLooper())); in startListening()
54 mDisplayManager.unregisterDisplayListener(this); in stopListening()
76 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported()
/packages/services/Car/service/src/com/android/car/
DSystemInterface.java49 private final DisplayManager mDisplayManager; field in SystemInterface.SystemInterfaceImpl
58 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in SystemInterfaceImpl()
72 mDisplayManager.registerDisplayListener(mDisplayListener, service.getHandler()); in startDisplayStateMonitoring()
77 mDisplayManager.unregisterDisplayListener(mDisplayListener); in stopDisplayStateMonitoring()
97 Display disp = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in isMainDisplayOn()
/packages/apps/Dialer/java/com/android/incallui/
DProximitySensor.java258 private DisplayManager mDisplayManager; field in ProximitySensor.ProximityDisplayListener
262 mDisplayManager = displayManager; in ProximityDisplayListener()
266 mDisplayManager.registerDisplayListener(this, null); in register()
270 mDisplayManager.unregisterDisplayListener(this); in unregister()
279 final Display display = mDisplayManager.getDisplay(displayId); in onDisplayChanged()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java93 private DisplayManager mDisplayManager; field in WifiDisplaySettings
129 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in onCreate()
253 mWifiDisplayStatus = mDisplayManager.getWifiDisplayStatus(); in update()
345 mDisplayManager.pauseWifiDisplay(); in buildCertificationMenu()
354 mDisplayManager.resumeWifiDisplay(); in buildCertificationMenu()
563 mDisplayManager.connectWifiDisplay(display.getDeviceAddress()); in pairWifiDisplay()
579 mDisplayManager.renameWifiDisplay(display.getDeviceAddress(), name); in showWifiDisplayOptionsDialog()
585 mDisplayManager.forgetWifiDisplay(display.getDeviceAddress()); in showWifiDisplayOptionsDialog()