Home
last modified time | relevance | path

Searched refs:mDisplayListener (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/SampleRearViewCamera/src/com/google/android/car/rvc/
DRearViewCameraActivityBase.java42 private final DisplayListener mDisplayListener = new DisplayListener() { field in RearViewCameraActivityBase
65 mDisplayManager.registerDisplayListener(mDisplayListener, null); in onCreate()
72 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onDestroy()
/packages/apps/Settings/src/com/android/settings/display/
DBrightnessLevelPreferenceController.java84 private final DisplayListener mDisplayListener = new DisplayListener() { field in BrightnessLevelPreferenceController
141 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler, in onStart()
148 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onStop()
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java119 private final DisplayManager.DisplayListener mDisplayListener = new DisplayListener() { field in DisplayInterface.DefaultImpl
233 mDisplayManager.registerDisplayListener(mDisplayListener, service.getHandler()); in startDisplayStateMonitoring()
239 mDisplayManager.unregisterDisplayListener(mDisplayListener); in stopDisplayStateMonitoring()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java76 private DisplayManager.DisplayListener mDisplayListener; field in PresentTestFragment
108 mDisplayListener = new DisplayManager.DisplayListener() { in setupListeners()
186 mDisplayManager.registerDisplayListener(mDisplayListener, null); in onResume()
192 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onPause()
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DCarEvsCameraPreviewActivity.java102 private final DisplayListener mDisplayListener = new DisplayListener() { field in CarEvsCameraPreviewActivity
157 mDisplayManager.registerDisplayListener(mDisplayListener, null); in onCreate()
252 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onDestroy()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DNavigationFragment.java64 private final DisplayListener mDisplayListener = new DisplayListener() { field in NavigationFragment
124 mDisplayManager.registerDisplayListener(mDisplayListener, new Handler()); in onCreateView()
DClusterRenderingService.java102 private final DisplayListener mDisplayListener = new DisplayListener() { field in ClusterRenderingService
170 mDisplayProvider = new ClusterDisplayProvider(this, mDisplayListener); in onCreate()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java602 mService.mDisplayListener.onDisplayAdded(3); in testActiveOccupantConfigsAfterDisplayAdd()
627 mService.mDisplayListener.onDisplayRemoved(4); in testActiveOccupantConfigsAfterDisplayRemoval()
751 mService.mDisplayListener.onDisplayAdded(3); in testManagerGetAllDisplaysForOccupantAfterDisplayAdd()
783 mService.mDisplayListener.onDisplayRemoved(4); in testManagerGetAllDisplaysForOccupantAfterDisplayRemoval()
913 mService.mDisplayListener.onDisplayAdded(0); // displayid ignored in testManagerRegisterUnregister()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java535 private DisplayManager.DisplayListener mDisplayListener; field in CameraAppUI
918 .unregisterDisplayListener(mDisplayListener); in onDestroy()
930 mDisplayListener = new DisplayManager.DisplayListener() { in initDisplayListener()
957 .registerDisplayListener(mDisplayListener, null); in initDisplayListener()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java213 final DisplayManager.DisplayListener mDisplayListener = field in CarOccupantZoneService
273 mDisplayManager.registerDisplayListener(mDisplayListener, in init()
344 mDisplayManager.unregisterDisplayListener(mDisplayListener); in release()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java147 mDm.registerDisplayListener(mDisplayListener, null); in start()
172 mDm.unregisterDisplayListener(mDisplayListener); in cleanup()
1351 private final DisplayManager.DisplayListener mDisplayListener = field in ScanManager