Searched refs:PRECISION (Results 1 – 4 of 4) sorted by relevance
49 static final float PRECISION = 100f; field in FloatingMenuTransparencyPreferenceController137 return Math.round(value * PRECISION); in convertTransparencyFloatToInt()141 return (float) value / PRECISION; in convertTransparencyIntToFloat()147 final float minValue = MIN_PROGRESS / PRECISION; in getTransparency()148 final float maxValue = MAX_PROGRESS / PRECISION; in getTransparency()
38 private static final float PRECISION = 0.002f; field in PathInterpolatorCompat.PathInterpolatorBase47 final int numPoints = (int) (pathLength / PRECISION) + 1; in PathInterpolatorBase()
24 …t static com.android.settings.accessibility.FloatingMenuTransparencyPreferenceController.PRECISION;112 final int defaultValue = Math.round(DEFAULT_TRANSPARENCY * PRECISION); in getSliderPosition_putOutOfBoundOpacityValue_defaultValue()
100 private static final double PRECISION = 0.001; field in BatteryUtilsTest258 .isWithin(PRECISION).of(PERCENT_SYSTEM_USAGE); in testCalculateBatteryPercent()