Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DReduceBrightColorsTileTest.java67 private ReduceBrightColorsController mReduceBrightColorsController; field in ReduceBrightColorsTileTest
82 mReduceBrightColorsController, in setUp()
99 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(false); in testNotActive()
110 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(true); in testActive()
121 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(false); in testActive_clicked_featureIsActivated()
129 verify(mReduceBrightColorsController, times(1)) in testActive_clicked_featureIsActivated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DReduceBrightColorsTile.java54 private final ReduceBrightColorsController mReduceBrightColorsController; field in ReduceBrightColorsTile
72 mReduceBrightColorsController = reduceBrightColorsController; in ReduceBrightColorsTile()
73 mReduceBrightColorsController.observe(getLifecycle(), this); in ReduceBrightColorsTile()
99 mReduceBrightColorsController.setReduceBrightColorsActivated(!mState.value); in handleClick()
109 state.value = mReduceBrightColorsController.isReduceBrightColorsActivated(); in handleUpdateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java99 @Mock private ReduceBrightColorsController mReduceBrightColorsController; field in AutoTileManagerTest
167 mCastController, mReduceBrightColorsController, mDeviceControlsController, in createAutoTileManager()
238 InOrder inOrderReduceBrightColors = inOrder(mReduceBrightColorsController); in testChangeUserCallbacksStoppedAndStarted()
239 inOrderReduceBrightColors.verify(mReduceBrightColorsController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
240 inOrderReduceBrightColors.verify(mReduceBrightColorsController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
288 InOrder inOrderReduceBrightColors = inOrder(mReduceBrightColorsController); in testChangeUserSomeCallbacksNotAdded()
289 inOrderReduceBrightColors.verify(mReduceBrightColorsController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()
290 inOrderReduceBrightColors.verify(mReduceBrightColorsController).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java84 private final ReduceBrightColorsController mReduceBrightColorsController; field in AutoTileManager
112 mReduceBrightColorsController = reduceBrightColorsController; in AutoTileManager()
150 mReduceBrightColorsController.addCallback(mReduceBrightColorsCallback); in startControllersAndSettingsListeners()
175 mReduceBrightColorsController.removeCallback(mReduceBrightColorsCallback); in stopListening()
358 mHandler.post(() -> mReduceBrightColorsController.removeCallback(this));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java260 @Inject Lazy<ReduceBrightColorsController> mReduceBrightColorsController; field in Dependency
418 mProviders.put(ReduceBrightColorsController.class, mReduceBrightColorsController::get); in start()