Searched refs:convertLinearToGamma (Results 1 – 6 of 6) sorted by relevance
38 assertThat(BrightnessUtils.convertLinearToGamma(MIN_INT, MIN_INT, MAX_INT)) in linearToGamma_minValue_shouldReturnMin()46 assertThat(BrightnessUtils.convertLinearToGamma(MAX_INT, MIN_INT, MAX_INT)) in linearToGamma_maxValue_shouldReturnGammaSpaceMax()
72 public static final float convertLinearToGamma(float val) { in convertLinearToGamma() method in BrightnessUtils
79 final float target = BrightnessUtils.convertLinearToGamma(targetLinear); in setAnimationTarget()
1120 Math.round(100.0f * BrightnessUtils.convertLinearToGamma( in dumpConfigDiff()1123 Math.round(100.0f * BrightnessUtils.convertLinearToGamma(brightness))); in dumpConfigDiff()
118 public static final int convertLinearToGamma(int val, int min, int max) { in convertLinearToGamma() method in BrightnessUtils
3233 float gammaBrightness = BrightnessUtils.convertLinearToGamma(linearBrightness);