Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/
DBrightnessSynchronizer.java107 float minFloat, float maxFloat) { in brightnessIntToFloat() argument
113 return MathUtils.constrainedMap(minFloat, maxFloat, (float) minInt, (float) maxInt, in brightnessIntToFloat()
134 final float maxFloat = pm.getBrightnessConstraint( in brightnessFloatToIntRange() local
139 final float maxInt = brightnessFloatToIntRange(maxFloat, in brightnessFloatToIntRange()
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()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dtypedefs.h146 #define maxFloat FLT_MAX
150 #define maxFloat DBL_MAX macro
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2744 float maxFloat = mPowerManager.getBrightnessConstraint( in interceptKeyBeforeDispatching() local
2746 float stepFloat = (maxFloat - minFloat) / BRIGHTNESS_STEPS * direction; in interceptKeyBeforeDispatching()
2754 brightnessFloat = Math.min(maxFloat, brightnessFloat); in interceptKeyBeforeDispatching()