Searched refs:autoBrightnessState (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | NormalBrightnessModeControllerTest.java | 107 public void testReturnsCorrectMaxBrightness(float ambientLux, int autoBrightnessState, in testReturnsCorrectMaxBrightness() argument 110 setupController(ambientLux, autoBrightnessState, maxBrightnessConfig); in testReturnsCorrectMaxBrightness() 115 private void setupController(float ambientLux, int autoBrightnessState, in setupController() argument 118 mController.setAutoBrightnessState(autoBrightnessState); in setupController()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategy2.java | 118 final int autoBrightnessState = mIsAutoBrightnessEnabled in setAutoBrightnessState() local 126 policy, targetDisplayState, mBrightnessConfiguration, autoBrightnessState); in setAutoBrightnessState() 363 BrightnessConfiguration brightnessConfiguration, int autoBrightnessState) { in accommodateUserBrightnessChanges() argument 376 mAutomaticBrightnessController.configure(autoBrightnessState, in accommodateUserBrightnessChanges()
|
D | AutomaticBrightnessStrategy.java | 144 final int autoBrightnessState = mIsAutoBrightnessEnabled in setAutoBrightnessState() local 152 policy, targetDisplayState, mBrightnessConfiguration, autoBrightnessState); in setAutoBrightnessState() 465 BrightnessConfiguration brightnessConfiguration, int autoBrightnessState) { in accommodateUserBrightnessChanges() argument 478 mAutomaticBrightnessController.configure(autoBrightnessState, in accommodateUserBrightnessChanges()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategy2Test.java | 257 int autoBrightnessState = AutomaticBrightnessController.AUTO_BRIGHTNESS_ENABLED; in accommodateUserBrightnessChangesWorksAsExpected() local 263 autoBrightnessState); in accommodateUserBrightnessChangesWorksAsExpected() 264 verify(mAutomaticBrightnessController).configure(autoBrightnessState, in accommodateUserBrightnessChangesWorksAsExpected() 279 autoBrightnessState); in accommodateUserBrightnessChangesWorksAsExpected()
|
D | AutomaticBrightnessStrategyTest.java | 310 int autoBrightnessState = AutomaticBrightnessController.AUTO_BRIGHTNESS_ENABLED; in accommodateUserBrightnessChangesWorksAsExpected() local 316 autoBrightnessState); in accommodateUserBrightnessChangesWorksAsExpected() 317 verify(mAutomaticBrightnessController).configure(autoBrightnessState, in accommodateUserBrightnessChangesWorksAsExpected() 332 autoBrightnessState); in accommodateUserBrightnessChangesWorksAsExpected()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 1418 final int autoBrightnessState = mAutomaticBrightnessStrategy.isAutoBrightnessEnabled() in updatePowerStateInternal() local 1424 mBrightnessRangeController.setAutoBrightnessEnabled(autoBrightnessState); in updatePowerStateInternal()
|