Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/util/
DMoreMath.java27 public static int clamp(int input, int lowerBound, int upperBound) { in clamp() argument
29 if (input > upperBound) return upperBound; in clamp()
37 public static float clamp(float input, float lowerBound, float upperBound) { in clamp() argument
39 if (input > upperBound) return upperBound; in clamp()
47 public static double clamp(double input, double lowerBound, double upperBound) { in clamp() argument
49 if (input > upperBound) return upperBound; in clamp()
/packages/apps/Gallery/src/com/android/camera/
DUtil.java127 int upperBound = (minSideLength == IImage.UNCONSTRAINED) ? 128 : in computeInitialSampleSize() local
131 if (upperBound < lowerBound) { in computeInitialSampleSize()
142 return upperBound; in computeInitialSampleSize()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java200 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() local
204 if (upperBound < lowerBound) { in computeInitialSampleSize()
214 return upperBound; in computeInitialSampleSize()
/packages/apps/Camera/src/com/android/camera/
DUtil.java185 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() local
189 if (upperBound < lowerBound) { in computeInitialSampleSize()
199 return upperBound; in computeInitialSampleSize()