Home
last modified time | relevance | path

Searched refs:upperBound (Results 1 – 11 of 11) 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/Gallery2/src/com/android/gallery3d/app/
DTrimTimeBar.java155 private int clampScrubber(int scrubberLeft, int offset, int lowerBound, int upperBound) { in clampScrubber() argument
156 int max = upperBound - offset; in clampScrubber()
258 int upperBound = mTrimEndScrubberLeft + trimEndScrubberTipOffset(); in onTouchEvent() local
265 lowerBound, upperBound); in onTouchEvent()
279 lowerBound, upperBound); in onTouchEvent()
285 upperBound = mProgressBar.right; in onTouchEvent()
289 lowerBound, upperBound); in onTouchEvent()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncCursorPair.java84 SyncCursorPair(final long lowerBound, final long upperBound) { in SyncCursorPair() argument
89 upperBound, in SyncCursorPair()
95 upperBound, in SyncCursorPair()
101 ((upperBound < 0) ? upperBound : (upperBound + 999) / 1000), /*seconds*/ in SyncCursorPair()
DSyncMessagesAction.java134 private SyncMessagesAction(final long lowerBound, final long upperBound, in SyncMessagesAction() argument
137 actionParameters.putLong(KEY_UPPER_BOUND, upperBound); in SyncMessagesAction()
/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/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/
DAc3TrackRenderer.java458 long upperBound = mPresentationTimeUs + CURRENT_POSITION_FROM_PTS_LIMIT_US; in getPositionUs() local
459 if (mCurrentPositionUs > upperBound) { in getPositionUs()
460 mCurrentPositionUs = upperBound; in getPositionUs()
/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/Dialer/src/com/android/dialer/list/
DPhoneFavoritesTileAdapter.java632 final int upperBound = Math.max(oldPos, newPinPos); in getReflowedPinningOperations() local
633 for (int i = lowerBound; i <= upperBound; i++) { in getReflowedPinningOperations()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java226 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() local
230 if (upperBound < lowerBound) { in computeInitialSampleSize()
240 return upperBound; in computeInitialSampleSize()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...