/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/Launcher3/src/com/android/launcher3/anim/ |
D | Interpolators.java | 151 public static Interpolator clampToProgress(Interpolator interpolator, float lowerBound, in clampToProgress() argument 153 if (upperBound < lowerBound) { in clampToProgress() 156 upperBound, lowerBound)); in clampToProgress() 159 if (t == lowerBound && t == upperBound) { in clampToProgress() 162 if (t < lowerBound) { in clampToProgress() 168 return interpolator.getInterpolation((t - lowerBound) / (upperBound - lowerBound)); in clampToProgress() 177 public static Interpolator mapToProgress(Interpolator interpolator, float lowerBound, 179 return t -> Utilities.mapRange(interpolator.getInterpolation(t), lowerBound, upperBound);
|
/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/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 402 public static float mapBoundToRange(float t, float lowerBound, float upperBound, in mapBoundToRange() argument 404 return mapToRange(boundToRange(t, lowerBound, upperBound), lowerBound, upperBound, in mapBoundToRange() 515 public static int boundToRange(int value, int lowerBound, int upperBound) { in boundToRange() argument 516 return Math.max(lowerBound, Math.min(value, upperBound)); in boundToRange() 522 public static float boundToRange(float value, float lowerBound, float upperBound) { in boundToRange() argument 523 return Math.max(lowerBound, Math.min(value, upperBound)); in boundToRange() 529 public static long boundToRange(long value, long lowerBound, long upperBound) { in boundToRange() argument 530 return Math.max(lowerBound, Math.min(value, upperBound)); in boundToRange()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncCursorPair.java | 84 SyncCursorPair(final long lowerBound, final long upperBound) { in SyncCursorPair() argument 88 lowerBound, in SyncCursorPair() 94 lowerBound, in SyncCursorPair() 100 ((lowerBound < 0) ? lowerBound : (lowerBound + 999) / 1000), /*seconds*/ in SyncCursorPair()
|
D | SyncMessagesAction.java | 134 private SyncMessagesAction(final long lowerBound, final long upperBound, in SyncMessagesAction() argument 136 actionParameters.putLong(KEY_LOWER_BOUND, lowerBound); in SyncMessagesAction()
|
/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/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 73 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 : in computeInitialSampleSize() local 77 return lowerBound; in computeInitialSampleSize() 80 return Math.max(sampleSize, 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/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 224 int lowerBound = (maxNumOfPixels < 0) ? 1 : in computeInitialSampleSize() local 230 if (upperBound < lowerBound) { in computeInitialSampleSize() 232 return lowerBound; in computeInitialSampleSize() 238 return lowerBound; in computeInitialSampleSize()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoritesTileAdapter.java | 621 final int lowerBound = Math.min(oldPos, newPinPos); in getReflowedPinningOperations() local 623 for (int i = lowerBound; i <= upperBound; i++) { in getReflowedPinningOperations()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 827 final long lowerBound = startTime + 3_600_000; // start timestamp + 1h 830 assertTrue(lowerBound < expiry);
|
/packages/modules/RuntimeI18n/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 4028 Landroid/icu/text/PluralRules$RangeConstraint;->lowerBound:D
|