Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DColorModePreference.java35 private DisplayManager mDisplayManager; field in ColorModePreference
43 mDisplayManager = getContext().getSystemService(DisplayManager.class); in ColorModePreference()
51 mDisplayManager.registerDisplayListener(this, new Handler(Looper.getMainLooper())); in startListening()
55 mDisplayManager.unregisterDisplayListener(this); in stopListening()
77 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DColorModePreference.java36 private DisplayManager mDisplayManager; field in ColorModePreference
65 mDisplayManager = getContext().getSystemService(DisplayManager.class); in ColorModePreference()
73 mDisplayManager.registerDisplayListener(this, new Handler(Looper.getMainLooper())); in startListening()
77 mDisplayManager.unregisterDisplayListener(this); in stopListening()
99 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported()
/packages/apps/Settings/src/com/android/settings/development/
DColorModePreference.java36 private DisplayManager mDisplayManager; field in ColorModePreference
65 mDisplayManager = getContext().getSystemService(DisplayManager.class); in ColorModePreference()
73 mDisplayManager.registerDisplayListener(this, new Handler(Looper.getMainLooper())); in startListening()
77 mDisplayManager.unregisterDisplayListener(this); in stopListening()
99 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterDisplayProvider.java49 private final DisplayManager mDisplayManager; field in ClusterDisplayProvider
56 mDisplayManager = context.getSystemService(DisplayManager.class); in ClusterDisplayProvider()
58 Display clusterDisplay = getInstrumentClusterDisplay(mDisplayManager); in ClusterDisplayProvider()
80 mDisplayManager.registerDisplayListener(new DisplayListener() { in trackClusterDisplay()
89 Display display = mDisplayManager.getDisplay(displayId); in trackClusterDisplay()
DNavigationFragment.java45 private DisplayManager mDisplayManager; field in NavigationFragment
123 mDisplayManager = getActivity().getSystemService(DisplayManager.class); in onCreateView()
124 mDisplayManager.registerDisplayListener(mDisplayListener, new Handler()); in onCreateView()
187 return mDisplayManager.createVirtualDisplay("Cluster-App-VD", width, height, 160, surface, in createVirtualDisplay()
DNetworkedVirtualDisplay.java60 private final DisplayManager mDisplayManager; field in NetworkedVirtualDisplay
94 mDisplayManager = context.getSystemService(DisplayManager.class); in NetworkedVirtualDisplay()
102 final Display display = mDisplayManager.getDisplay(i); in NetworkedVirtualDisplay()
115 mDisplayManager.registerDisplayListener(displayListener, new Handler()); in NetworkedVirtualDisplay()
159 return mDisplayManager.createVirtualDisplay(getDisplayName(), mWidth, mHeight, mDpi, in createVirtualDisplay()
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java80 private final DisplayManager mDisplayManager; field in DisplayInterface.DefaultImpl
122 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in DefaultImpl()
161 Display disp = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in isMainDisplayOn()
192 mDisplayManager.registerDisplayListener(mDisplayListener, service.getHandler()); in startDisplayStateMonitoring()
198 mDisplayManager.unregisterDisplayListener(mDisplayListener); in stopDisplayStateMonitoring()
250 Display[] displays = mDisplayManager.getDisplays(); in reconfigureSecondaryDisplays()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java103 private DisplayManager mDisplayManager; field in WifiDisplaySettings
139 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in onCreate()
264 mWifiDisplayStatus = mDisplayManager.getWifiDisplayStatus(); in update()
356 mDisplayManager.pauseWifiDisplay(); in buildCertificationMenu()
365 mDisplayManager.resumeWifiDisplay(); in buildCertificationMenu()
574 mDisplayManager.connectWifiDisplay(display.getDeviceAddress()); in pairWifiDisplay()
590 mDisplayManager.renameWifiDisplay(display.getDeviceAddress(), name); in showWifiDisplayOptionsDialog()
596 mDisplayManager.forgetWifiDisplay(display.getDeviceAddress()); in showWifiDisplayOptionsDialog()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java63 private DisplayManager mDisplayManager; field in PresentTestFragment
90 mDisplayManager = (DisplayManager) getContext().getSystemService(Context.DISPLAY_SERVICE); in onCreateView()
186 mDisplayManager.registerDisplayListener(mDisplayListener, null); in onResume()
192 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onPause()
298 Display[] displays = mDisplayManager.getDisplays(displayCategory); in updateShownDisplays()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java103 private DisplayManager mDisplayManager; field in WifiDisplaySettings
140 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in onCreate()
265 mWifiDisplayStatus = mDisplayManager.getWifiDisplayStatus(); in update()
357 mDisplayManager.pauseWifiDisplay(); in buildCertificationMenu()
366 mDisplayManager.resumeWifiDisplay(); in buildCertificationMenu()
575 mDisplayManager.connectWifiDisplay(display.getDeviceAddress()); in pairWifiDisplay()
591 mDisplayManager.renameWifiDisplay(display.getDeviceAddress(), name); in showWifiDisplayOptionsDialog()
597 mDisplayManager.forgetWifiDisplay(display.getDeviceAddress()); in showWifiDisplayOptionsDialog()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java129 private final DisplayManager mDisplayManager; field in CarUxRestrictionsManagerService
157 mDisplayManager = mContext.getSystemService(DisplayManager.class); in CarUxRestrictionsManagerService()
873 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in getDefaultDisplayPhysicalPort()
884 for (Display display : mDisplayManager.getDisplays()) { in initPhysicalPort()
977 Display display = mDisplayManager.getDisplay(displayId); in getPhysicalPort()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java97 private final DisplayManager mDisplayManager; field in CarPackageManagerService
196 mDisplayManager = mContext.getSystemService(DisplayManager.class); in CarPackageManagerService()
433 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in doHandleInit()
973 for (Display display : mDisplayManager.getDisplays()) { in getPhysicalDisplays()