Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java198 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/
DPresentation.java231 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/
DOverlayDisplayWindow.java123 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
DBrightnessTracker.java158 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/
DCarLaunchParamsModifier.java94 final DisplayManager.DisplayListener mDisplayListener = field in CarLaunchParamsModifier
138 mDisplayManager.registerDisplayListener(mDisplayListener, in init()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardDisplayManager.java60 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/
DSystemWindows.java73 private final DisplayController.OnDisplaysChangedListener mDisplayListener = field in SystemWindows
97 mDisplayController.addDisplayWindowListener(mDisplayListener); in SystemWindows()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java201 private final DisplayManager.DisplayListener mDisplayListener = field in DeviceStateMonitor
277 dm.registerDisplayListener(mDisplayListener, null); in DeviceStateMonitor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java117 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/
DAppStandbyControllerTests.java176 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/
DWallpaperService.java1093 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/
DCarLaunchParamsModifierTest.java369 mModifier.mDisplayListener.onDisplayRemoved(mDisplay11ForPassenger.getDisplayId()); in testPassengerDisplayRemoved()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java451 mInjector.registerDisplayListener(mDisplayListener, mHandler); in onBootPhase()
2219 private final DisplayManager.DisplayListener mDisplayListener field in AppStandbyController
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java800 private final DisplayManager.DisplayListener mDisplayListener = field in WallpaperManagerService
1651 mDisplayManager.registerDisplayListener(mDisplayListener, null /* handler */); in WallpaperManagerService()
/frameworks/base/core/java/android/view/
DViewRootImpl.java926 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler);
1485 private final DisplayListener mDisplayListener = new DisplayListener() { field in ViewRootImpl
4687 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dispatchDetachedFromWindow()