Home
last modified time | relevance | path

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

/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DOverlayDisplayMonitor.java54 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in init()
62 DisplayManager.DisplayListener mDisplayListener = new DisplayManager.DisplayListener() { field in OverlayDisplayMonitor
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSkinThermalStatusObserverTest.java72 assertNull(mInjector.mDisplayListener); in testRegisterListenersOnObserve()
77 assertEquals(mObserver, mInjector.mDisplayListener); in testRegisterListenersOnObserve()
89 assertNull(mInjector.mDisplayListener); in testFailToRegisterThermalListenerOnObserve()
227 private DisplayManager.DisplayListener mDisplayListener; field in SkinThermalStatusObserverTest.RegisteringFakesInjector
256 mDisplayListener = listener; in registerDisplayListener()
/frameworks/base/core/java/android/app/
DPresentation.java263 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onStart()
268 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onStop()
338 private final DisplayListener mDisplayListener = new DisplayListener() { field in Presentation
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java211 assertNull(mInjector.mDisplayListener); in testNoColorSampling_WrongPixelFormat()
223 assertNull(mInjector.mDisplayListener); in testNoColorSampling_MissingComponent()
231 assertNull(mInjector.mDisplayListener); in testNoColorSampling_NoSupport()
238 assertNotNull(mInjector.mDisplayListener); in testColorSampling_FrameRateChange()
242 mInjector.mDisplayListener.onDisplayChanged(Display.DEFAULT_DISPLAY + 10); in testColorSampling_FrameRateChange()
245 mInjector.mDisplayListener.onDisplayChanged(Display.DEFAULT_DISPLAY); in testColorSampling_FrameRateChange()
259 assertNull(mInjector.mDisplayListener); in testAdaptiveOnOff()
264 assertNotNull(mInjector.mDisplayListener); in testAdaptiveOnOff()
267 DisplayManager.DisplayListener displayListener = mInjector.mDisplayListener; in testAdaptiveOnOff()
270 mInjector.mDisplayListener = null; in testAdaptiveOnOff()
[all …]
DBrightnessSynchronizerTest.java73 private DisplayListener mDisplayListener; field in BrightnessSynchronizerTest
227 mDisplayListener = mDisplayListenerCaptor.getValue(); in start()
247 if (mDisplayListener != null) { in putFloatSetting()
248 mDisplayListener.onDisplayChanged(Display.DEFAULT_DISPLAY); in putFloatSetting()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java46 private final DisplayManager.DisplayListener mDisplayListener = field in TouchLatencyActivity
157 mDisplayManager.registerDisplayListener(mDisplayListener, new Handler()); in configureDisplayListener()
214 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onDestroy()
/frameworks/base/services/core/java/com/android/server/input/
DPointerIconCache.java70 private final DisplayManager.DisplayListener mDisplayListener = field in PointerIconCache
102 displayManager.registerDisplayListener(mDisplayListener, mUiThreadHandler); in systemRunning()
105 mDisplayListener.onDisplayAdded(displays[i].getDisplayId()); in systemRunning()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java126 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show()
128 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show()
141 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dismiss()
293 private final DisplayManager.DisplayListener mDisplayListener = field in OverlayDisplayWindow
DBrightnessTracker.java162 private DisplayListener mDisplayListener; field in BrightnessTracker
862 if (mColorSamplingEnabled && mDisplayListener == null) { in enableColorSampling()
863 mDisplayListener = new DisplayListener(); in enableColorSampling()
864 mInjector.registerDisplayListener(mContext, mDisplayListener, mBgHandler); in enableColorSampling()
874 if (mDisplayListener != null) { in disableColorSampling()
875 mInjector.unRegisterDisplayListener(mContext, mDisplayListener); in disableColorSampling()
876 mDisplayListener = null; in disableColorSampling()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/
DAccessibilityMenuService.java92 private final DisplayManager.DisplayListener mDisplayListener = field in AccessibilityMenuService
218 mDisplayManager.registerDisplayListener(mDisplayListener, null); in onServiceConnected()
380 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onUnbind()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DSystemWindows.java72 private final DisplayController.OnDisplaysChangedListener mDisplayListener = field in SystemWindows
93 mDisplayController.addDisplayWindowListener(mDisplayListener); in SystemWindows()
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarLaunchParamsModifierUpdatableImpl.java92 return mDisplayListener; in getDisplayListener()
95 private final DisplayManager.DisplayListener mDisplayListener = field in CarLaunchParamsModifierUpdatableImpl
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/
DGraphicsActivity.java115 DisplayManager.DisplayListener mDisplayListener = new DisplayManager.DisplayListener() { field in GraphicsActivity
341 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onCreate()
355 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onDestroy()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java214 private final DisplayManager.DisplayListener mDisplayListener = field in DeviceStateMonitor
283 dm.registerDisplayListener(mDisplayListener, null); in DeviceStateMonitor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java145 DisplayTracker.Callback mDisplayListener; field in ScreenDecorations
507 mDisplayListener = new DisplayTracker.Callback() { in startOnScreenDecorationsThread()
581 mDisplayTracker.addDisplayChangeCallback(mDisplayListener, new HandlerExecutor(mHandler)); in startOnScreenDecorationsThread()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java242 DisplayManager.DisplayListener mDisplayListener; field in AppStandbyControllerTests.MyInjector
358 mDisplayListener = listener; in registerDisplayListener()
398 if (mDisplayListener != null) { in setDisplayOn()
399 mDisplayListener.onDisplayChanged(Display.DEFAULT_DISPLAY); in setDisplayOn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DLinkBandwidthEstimator.java256 private final DisplayManager.DisplayListener mDisplayListener = field in LinkBandwidthEstimator
310 dm.registerDisplayListener(mDisplayListener, null); in LinkBandwidthEstimator()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1571 mIWallpaperEngine.mDisplayManager.registerDisplayListener(mDisplayListener, in attach()
2340 mIWallpaperEngine.mDisplayManager.unregisterDisplayListener(mDisplayListener); in detach()
2386 private final DisplayListener mDisplayListener = field in WallpaperService.Engine
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DScreenDecorationsTest.java1222 mScreenDecorations.mDisplayListener.onDisplayChanged(1); in testSupportHwcLayer_SwitchFrom_NotSupport()
1249 mScreenDecorations.mDisplayListener.onDisplayChanged(1); in testNotSupportHwcLayer_SwitchFrom_Support()
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java958 private final DisplayManager.DisplayListener mDisplayListener = field in DisplayModeDirector.SettingsObserver
1019 mInjector.registerDisplayListener(mDisplayListener, mHandler); in observe()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java694 mInjector.registerDisplayListener(mDisplayListener, mHandler); in onBootPhase()
2975 private final DisplayManager.DisplayListener mDisplayListener field in AppStandbyController
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java642 private final DisplayManager.DisplayListener mDisplayListener = field in WallpaperManagerService
1516 displayManager.registerDisplayListener(mDisplayListener, null /* handler */); in WallpaperManagerService()
/frameworks/base/core/java/android/view/
DViewRootImpl.java1809 mDisplayListener,
1846 .unregisterDisplayListener(mDisplayListener);
2324 private final DisplayListener mDisplayListener = new DisplayListener() { field in ViewRootImpl
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1098 private DisplayListener mDisplayListener = field in AudioService
1576 mDisplayManager.registerDisplayListener(mDisplayListener, mAudioHandler); in initExternalEventReceivers()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8259 Landroid/app/Presentation;->mDisplayListener:Landroid/hardware/display/DisplayManager$DisplayListen…
50238 Landroid/service/wallpaper/WallpaperService$Engine;->mDisplayListener:Landroid/hardware/display/Dis…
64087 Landroid/view/ViewRootImpl;->mDisplayListener:Landroid/hardware/display/DisplayManager$DisplayListe…