Searched refs:lowerBound (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | MoreMath.java | 27 public static int clamp(int input, int lowerBound, int upperBound) { in clamp() argument 28 if (input < lowerBound) return lowerBound; in clamp() 37 public static float clamp(float input, float lowerBound, float upperBound) { in clamp() argument 38 if (input < lowerBound) return lowerBound; in clamp() 47 public static double clamp(double input, double lowerBound, double upperBound) { in clamp() argument 48 if (input < lowerBound) return lowerBound; in clamp()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TrimTimeBar.java | 155 private int clampScrubber(int scrubberLeft, int offset, int lowerBound, int upperBound) { in clampScrubber() argument 157 int min = lowerBound - offset; in clampScrubber() 257 int lowerBound = mTrimStartScrubberLeft + trimStartScrubberTipOffset(); in onTouchEvent() local 265 lowerBound, upperBound); in onTouchEvent() 275 lowerBound = mProgressBar.left; in onTouchEvent() 279 lowerBound, upperBound); in onTouchEvent() 289 lowerBound, upperBound); in onTouchEvent()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 125 int lowerBound = (maxNumOfPixels == IImage.UNCONSTRAINED) ? 1 : in computeInitialSampleSize() local 131 if (upperBound < lowerBound) { in computeInitialSampleSize() 133 return lowerBound; in computeInitialSampleSize() 140 return lowerBound; in computeInitialSampleSize()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 198 int lowerBound = (maxNumOfPixels < 0) ? 1 : in computeInitialSampleSize() local 204 if (upperBound < lowerBound) { in computeInitialSampleSize() 206 return lowerBound; in computeInitialSampleSize() 212 return lowerBound; in computeInitialSampleSize()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 74 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 : in computeInitialSampleSize() local 78 return lowerBound; in computeInitialSampleSize() 81 return Math.max(sampleSize, lowerBound); in computeInitialSampleSize()
|
/packages/apps/Camera/src/com/android/camera/ |
D | Util.java | 239 int lowerBound = (maxNumOfPixels < 0) ? 1 : in computeInitialSampleSize() local 245 if (upperBound < lowerBound) { in computeInitialSampleSize() 247 return lowerBound; in computeInitialSampleSize() 253 return lowerBound; in computeInitialSampleSize()
|
/packages/apps/Gallery2/src/com/android/camera/ |
D | Util.java | 240 int lowerBound = (maxNumOfPixels < 0) ? 1 : in computeInitialSampleSize() local 246 if (upperBound < lowerBound) { in computeInitialSampleSize() 248 return lowerBound; in computeInitialSampleSize() 254 return lowerBound; in computeInitialSampleSize()
|