Home
last modified time | relevance | path

Searched refs:minBrightness (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java351 float minBrightness = strategy.getBrightness(LUX_LEVELS[0]); in assertStrategyAdaptsToUserDataPoints() local
352 strategy.addUserDataPoint(LUX_LEVELS[idx], minBrightness + 0.01f); in assertStrategyAdaptsToUserDataPoints()
366 minBrightness = (float) MathUtils.pow(minBrightness, MAXIMUM_GAMMA); // Gamma correction. in assertStrategyAdaptsToUserDataPoints()
367 assertEquals(minBrightness, strategy.getBrightness(LUX_LEVELS[0]), 0.01 /*tolerance*/); in assertStrategyAdaptsToUserDataPoints()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java353 float minBrightness = prevBrightness * permissibleRatio(currLux, prevLux); in smoothCurve() local
355 currBrightness, minBrightness, prevBrightness); in smoothCurve()