/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategy2Test.java | 293 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()
|
D | AutomaticBrightnessStrategyTest.java | 346 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/ |
D | BrightnessMappingStrategyTest.java | 594 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/ |
D | AutomaticBrightnessStrategy2.java | 325 float getAutoBrightnessAdjustment() { in getAutoBrightnessAdjustment() method in AutomaticBrightnessStrategy2
|
D | AutomaticBrightnessStrategy.java | 427 float getAutoBrightnessAdjustment() { in getAutoBrightnessAdjustment() method in AutomaticBrightnessStrategy
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 296 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
|
D | AutomaticBrightnessController.java | 439 return mCurrentBrightnessMapper.getAutoBrightnessAdjustment(); in getAutomaticScreenBrightnessAdjustment()
|