Searched refs:prevBrightness (Results 1 – 2 of 2) sorted by relevance
476 float prevBrightness = brightness[idx]; in smoothCurve() local482 prevBrightness * permissibleRatio(currLux, prevLux), in smoothCurve()483 prevBrightness + MIN_PERMISSABLE_INCREASE); in smoothCurve()485 currBrightness, prevBrightness, maxBrightness); in smoothCurve()490 prevBrightness = newBrightness; in smoothCurve()495 prevBrightness = brightness[idx]; in smoothCurve()499 float minBrightness = prevBrightness * permissibleRatio(currLux, prevLux); in smoothCurve()501 currBrightness, minBrightness, prevBrightness); in smoothCurve()506 prevBrightness = newBrightness; in smoothCurve()
477 float prevBrightness = strategy.getBrightness(LUX_LEVELS[idx]); in assertStrategyAdaptsToUserDataPoints() local481 prevBrightness >= brightness); in assertStrategyAdaptsToUserDataPoints()482 prevBrightness = brightness; in assertStrategyAdaptsToUserDataPoints()498 prevBrightness = 0f; in assertStrategyAdaptsToUserDataPoints()502 prevBrightness <= brightness); in assertStrategyAdaptsToUserDataPoints()503 prevBrightness = brightness; in assertStrategyAdaptsToUserDataPoints()