Searched refs:currentBrightness (Results 1 – 1 of 1) sorted by relevance
375 float currentBrightness) { in inferAutoBrightnessAdjustment() argument380 if (currentBrightness <= 0.1f || currentBrightness >= 0.9f) { in inferAutoBrightnessAdjustment()381 adjustment = (desiredBrightness - currentBrightness); in inferAutoBrightnessAdjustment()390 gamma = MathUtils.log(desiredBrightness) / MathUtils.log(currentBrightness); in inferAutoBrightnessAdjustment()398 Slog.d(TAG, "inferAutoBrightnessAdjustment: " + currentBrightness + "^" + gamma + "=" + in inferAutoBrightnessAdjustment()399 MathUtils.pow(currentBrightness, gamma) + " == " + desiredBrightness); in inferAutoBrightnessAdjustment()