/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 198 assertNull(mInjector.mDisplayListener); in testNoColorSampling_WrongPixelFormat() 210 assertNull(mInjector.mDisplayListener); in testNoColorSampling_MissingComponent() 218 assertNull(mInjector.mDisplayListener); in testNoColorSampling_NoSupport() 225 assertNotNull(mInjector.mDisplayListener); in testColorSampling_FrameRateChange() 229 mInjector.mDisplayListener.onDisplayChanged(Display.DEFAULT_DISPLAY + 10); in testColorSampling_FrameRateChange() 232 mInjector.mDisplayListener.onDisplayChanged(Display.DEFAULT_DISPLAY); in testColorSampling_FrameRateChange() 246 assertNull(mInjector.mDisplayListener); in testAdaptiveOnOff() 251 assertNotNull(mInjector.mDisplayListener); in testAdaptiveOnOff() 254 DisplayManager.DisplayListener displayListener = mInjector.mDisplayListener; in testAdaptiveOnOff() 257 mInjector.mDisplayListener = null; in testAdaptiveOnOff() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 231 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onStart() 246 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onStop() 348 private final DisplayListener mDisplayListener = new DisplayListener() {
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 123 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show() 125 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show() 138 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dismiss() 290 private final DisplayManager.DisplayListener mDisplayListener = field in OverlayDisplayWindow
|
D | BrightnessTracker.java | 158 private DisplayListener mDisplayListener; field in BrightnessTracker 804 if (mColorSamplingEnabled && mDisplayListener == null) { in enableColorSampling() 805 mDisplayListener = new DisplayListener(); in enableColorSampling() 806 mInjector.registerDisplayListener(mContext, mDisplayListener, mBgHandler); in enableColorSampling() 816 if (mDisplayListener != null) { in disableColorSampling() 817 mInjector.unRegisterDisplayListener(mContext, mDisplayListener); in disableColorSampling() 818 mDisplayListener = null; in disableColorSampling()
|
/frameworks/opt/car/services/src/com/android/server/wm/ |
D | CarLaunchParamsModifier.java | 94 final DisplayManager.DisplayListener mDisplayListener = field in CarLaunchParamsModifier 138 mDisplayManager.registerDisplayListener(mDisplayListener, in init()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardDisplayManager.java | 60 private final DisplayManager.DisplayListener mDisplayListener = field in KeyguardDisplayManager 98 mDisplayService.registerDisplayListener(mDisplayListener, null /* handler */); in KeyguardDisplayManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/ |
D | SystemWindows.java | 73 private final DisplayController.OnDisplaysChangedListener mDisplayListener = field in SystemWindows 97 mDisplayController.addDisplayWindowListener(mDisplayListener); in SystemWindows()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 201 private final DisplayManager.DisplayListener mDisplayListener = field in DeviceStateMonitor 277 dm.registerDisplayListener(mDisplayListener, null); in DeviceStateMonitor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 117 private DisplayManager.DisplayListener mDisplayListener; field in ScreenDecorations 223 mDisplayListener = new DisplayManager.DisplayListener() { in startOnScreenDecorationsThread() 262 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in startOnScreenDecorationsThread()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 176 DisplayManager.DisplayListener mDisplayListener; field in AppStandbyControllerTests.MyInjector 262 mDisplayListener = listener; in registerDisplayListener() 297 if (mDisplayListener != null) { in setDisplayOn() 298 mDisplayListener.onDisplayChanged(Display.DEFAULT_DISPLAY); in setDisplayOn()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 1093 mIWallpaperEngine.mDisplayManager.registerDisplayListener(mDisplayListener, in attach() 1283 mIWallpaperEngine.mDisplayManager.unregisterDisplayListener(mDisplayListener); in detach() 1315 private final DisplayListener mDisplayListener = new DisplayListener() { field in WallpaperService.Engine
|
/frameworks/opt/car/services/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierTest.java | 369 mModifier.mDisplayListener.onDisplayRemoved(mDisplay11ForPassenger.getDisplayId()); in testPassengerDisplayRemoved()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 451 mInjector.registerDisplayListener(mDisplayListener, mHandler); in onBootPhase() 2219 private final DisplayManager.DisplayListener mDisplayListener field in AppStandbyController
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 800 private final DisplayManager.DisplayListener mDisplayListener = field in WallpaperManagerService 1651 mDisplayManager.registerDisplayListener(mDisplayListener, null /* handler */); in WallpaperManagerService()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 926 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); 1485 private final DisplayListener mDisplayListener = new DisplayListener() { field in ViewRootImpl 4687 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dispatchDetachedFromWindow()
|