Searched refs:prevBrightness (Results 1 – 2 of 2) sorted by relevance
332 float prevBrightness = brightness[idx]; in smoothCurve() local337 float maxBrightness = prevBrightness * permissibleRatio(currLux, prevLux); in smoothCurve()339 currBrightness, prevBrightness, maxBrightness); in smoothCurve()344 prevBrightness = newBrightness; in smoothCurve()349 prevBrightness = brightness[idx]; in smoothCurve()353 float minBrightness = prevBrightness * permissibleRatio(currLux, prevLux); in smoothCurve()355 currBrightness, minBrightness, prevBrightness); in smoothCurve()360 prevBrightness = newBrightness; in smoothCurve()
334 float prevBrightness = strategy.getBrightness(LUX_LEVELS[idx]); in assertStrategyAdaptsToUserDataPoints() local338 prevBrightness >= brightness); in assertStrategyAdaptsToUserDataPoints()339 prevBrightness = brightness; in assertStrategyAdaptsToUserDataPoints()355 prevBrightness = 0f; in assertStrategyAdaptsToUserDataPoints()359 prevBrightness <= brightness); in assertStrategyAdaptsToUserDataPoints()360 prevBrightness = brightness; in assertStrategyAdaptsToUserDataPoints()