Home
last modified time | relevance | path

Searched refs:minInt (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/com/android/internal/
DBrightnessSynchronizer.java106 public static float brightnessIntToFloat(int brightnessInt, int minInt, int maxInt, in brightnessIntToFloat() argument
113 return MathUtils.constrainedMap(minFloat, maxFloat, (float) minInt, (float) maxInt, in brightnessIntToFloat()
136 final float minInt = brightnessFloatToIntRange(minFloat, in brightnessFloatToIntRange() local
142 return brightnessFloatToIntRange(brightnessFloat, minFloat, maxFloat, minInt, maxInt); in brightnessFloatToIntRange()
152 float maxFloat, float minInt, float maxInt) { in brightnessFloatToIntRange() argument
158 return MathUtils.constrainedMap(minInt, maxInt, minFloat, maxFloat, brightnessFloat); in brightnessFloatToIntRange()