Home
last modified time | relevance | path

Searched refs:getAutoBrightnessAdjustment (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2Test.java293 mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), 0.0f); in adjustAutomaticBrightnessStateIfValid()
304 mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), 0.0f); in adjustAutomaticBrightnessStateIfValid()
332 mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), 0.0f); in updatePendingAutoBrightnessAdjustments()
391 assertEquals(0.5f, mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), in testVerifyNoAutoBrightnessAdjustmentsArePopulatedForNonDefaultDisplay()
DAutomaticBrightnessStrategyTest.java346 mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), 0.0f); in adjustAutomaticBrightnessStateIfValid()
355 mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), 0.0f); in adjustAutomaticBrightnessStateIfValid()
381 mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), 0.0f); in updatePendingAutoBrightnessAdjustments()
441 assertEquals(0.5f, mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), in testVerifyNoAutoBrightnessAdjustmentsArePopulatedForNonDefaultDisplay()
475 assertEquals(adjustment, mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), 0.0f); in isAutoBrightnessValid_returnsTrueWhenBrightnessIsValid_adjustsAutoBrightness()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java594 assertEquals(+0.6308f, strategy.getAutoBrightnessAdjustment(), 0.0001f /* tolerance */); in testGammaCorrectionLowChangeAtCenter()
628 assertEquals(+1.0f, strategy.getAutoBrightnessAdjustment(), 0.0001f /* tolerance */); in testGammaCorrectionHighChangeAtCenter()
640 assertEquals(0.0f, strategy.getAutoBrightnessAdjustment(), /* delta= */ 0.0001f); in testGammaCorrectionExtremeChangeAtCenter()
642 assertEquals(+1.0f, strategy.getAutoBrightnessAdjustment(), /* delta= */ 0.0001f); in testGammaCorrectionExtremeChangeAtCenter()
644 assertEquals(-1.0f, strategy.getAutoBrightnessAdjustment(), /* delta= */ 0.0001f); in testGammaCorrectionExtremeChangeAtCenter()
674 assertEquals(adjustment, strategy.getAutoBrightnessAdjustment(), 0.0001f /* tolerance */); in testGammaCorrectionChangeAtEdges()
682 assertEquals(adjustment, strategy.getAutoBrightnessAdjustment(), 0.0001f /* tolerance */); in testGammaCorrectionChangeAtEdges()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2.java325 float getAutoBrightnessAdjustment() { in getAutoBrightnessAdjustment() method in AutomaticBrightnessStrategy2
DAutomaticBrightnessStrategy.java427 float getAutoBrightnessAdjustment() { in getAutoBrightnessAdjustment() method in AutomaticBrightnessStrategy
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java296 public abstract float getAutoBrightnessAdjustment(); in getAutoBrightnessAdjustment() method in BrightnessMappingStrategy
660 public float getAutoBrightnessAdjustment() { in getAutoBrightnessAdjustment() method in BrightnessMappingStrategy.SimpleMappingStrategy
935 public float getAutoBrightnessAdjustment() { in getAutoBrightnessAdjustment() method in BrightnessMappingStrategy.PhysicalMappingStrategy
DAutomaticBrightnessController.java439 return mCurrentBrightnessMapper.getAutoBrightnessAdjustment(); in getAutomaticScreenBrightnessAdjustment()