Searched refs:convertLinearToGamma (Results 1 – 7 of 7) 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
361 float userPerceptionBrightness = BrightnessUtils.convertLinearToGamma(linearBrightness); in brightnessFloatToIntSetting()
118 public static final int convertLinearToGamma(int val, int min, int max) { in convertLinearToGamma() method in BrightnessUtils
96 final float target = BrightnessUtils.convertLinearToGamma(targetLinear); in setAnimationTarget()
1141 Math.round(100.0f * BrightnessUtils.convertLinearToGamma( in dumpConfigDiff()1144 Math.round(100.0f * BrightnessUtils.convertLinearToGamma(brightness))); in dumpConfigDiff()
3609 float gammaBrightness = BrightnessUtils.convertLinearToGamma(linearBrightness);