Home
last modified time | relevance | path

Searched refs:displayListener (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/
DRotationChangeProvider.kt41 private val displayListener = RotationDisplayListener() constant
65 displayManager.registerDisplayListener(displayListener, mainHandler) in subscribeToRotation()
73 displayManager.unregisterDisplayListener(displayListener) in unsubscribeToRotation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DRotationChangeProviderTest.kt50 @Captor lateinit var displayListener: ArgumentCaptor<DisplayManager.DisplayListener> variable in com.android.systemui.unfold.updates.RotationChangeProviderTest
63 verify(displayManager).registerDisplayListener(displayListener.capture(), any()) in setup()
88 displayListener.allValues.forEach { it.onDisplayChanged(display.displayId) } in sendRotationUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/sender/
DMediaTttSenderCoordinator.kt136 chipbarCoordinator.registerListener(displayListener) in <lambda>()
245 private val displayListener = in <lambda>() constant in com.android.systemui.media.taptotransfer.sender.MediaTttSenderCoordinator
253 chipbarCoordinator.unregisterListener(displayListener) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java772 DisplayListener displayListener = displayListenerCaptor.getValue();
784 setBrightness(10, 10, displayListener);
796 setBrightness(10, 125, displayListener);
830 DisplayListener displayListener = displayListenerCaptor.getValue();
842 setBrightness(100, 100, displayListener);
853 setBrightness(100, 255, displayListener);
1386 DisplayListener displayListener = DisplayCaptor.getValue(); in testProximitySensorVoting() local
1404 displayListener.onDisplayAdded(DISPLAY_ID); in testProximitySensorVoting()
1410 displayListener.onDisplayChanged(DISPLAY_ID); in testProximitySensorVoting()
1416 displayListener.onDisplayAdded(DISPLAY_ID); in testProximitySensorVoting()
[all …]
DBrightnessTrackerTest.java270 DisplayManager.DisplayListener displayListener = mInjector.mDisplayListener; in testAdaptiveOnOff() local
280 mInjector.mDisplayListener = displayListener; in testAdaptiveOnOff()