Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessMirrorHandler.kt21 var mirrorController: MirrorController? = null variable
34 mirrorController?.addCallback(brightnessMirrorListener) in onQsPanelAttached()
38 mirrorController?.removeCallback(brightnessMirrorListener) in onQsPanelDettached()
42 mirrorController?.removeCallback(brightnessMirrorListener) in setController()
43 mirrorController = controller in setController()
44 mirrorController?.addCallback(brightnessMirrorListener) in setController()
49 brightnessController.setMirror(mirrorController) in updateBrightnessMirror()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/
DBrightnessSliderControllerTest.kt61 private lateinit var mirrorController: BrightnessMirrorController variable in com.android.systemui.settings.brightness.BrightnessSliderControllerTest
87 whenever(mirrorController.getToggleSlider()).thenReturn(mirror) in setUp()
132 whenever(mirrorController.getToggleSlider()).thenReturn(null) in testNullMirrorNotTrackingTouch()
134 mController.setMirrorControllerAndMirror(mirrorController) in testNullMirrorNotTrackingTouch()
149 mController.setMirrorControllerAndMirror(mirrorController) in testSettingMirrorControllerReliesValuesAndSetsTouchTracking()
184 mController.setMirrorControllerAndMirror(mirrorController) in testMirrorEventWithMirror()
216 mController.setMirrorControllerAndMirror(mirrorController) in testSeekBarTrackingStarted()
222 verify(mirrorController).showMirror() in testSeekBarTrackingStarted()
223 verify(mirrorController).setLocationAndSize(brightnessSliderView) in testSeekBarTrackingStarted()
234 mController.setMirrorControllerAndMirror(mirrorController) in testSeekBarTrackingStopped()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/ui/adapter/
DFakeQSSceneAdapter.kt81 override fun setBrightnessMirrorController(mirrorController: MirrorController?) { in setBrightnessMirrorController()
82 brightnessMirrorController = mirrorController in setBrightnessMirrorController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/adapter/
DQSSceneAdapter.kt98 fun setBrightnessMirrorController(mirrorController: MirrorController?) in <lambda>()
396 override fun setBrightnessMirrorController(mirrorController: MirrorController?) { in setBrightnessMirrorController()
397 qsImpl.value?.setBrightnessMirrorController(mirrorController) in setBrightnessMirrorController()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/adapter/
DQSSceneAdapterImplTest.kt594 val mirrorController = mock<MirrorController>() in <lambda>() constant
595 underTest.setBrightnessMirrorController(mirrorController) in <lambda>()
597 verify(qsImpl!!).setBrightnessMirrorController(mirrorController) in <lambda>()