/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 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/Launcher3/src/com/android/launcher3/anim/ |
D | Interpolators.java | 152 float upperBound) { in clampToProgress() argument 153 if (upperBound < lowerBound) { in clampToProgress() 156 upperBound, lowerBound)); in clampToProgress() 159 if (t == lowerBound && t == upperBound) { in clampToProgress() 165 if (t > upperBound) { in clampToProgress() 168 return interpolator.getInterpolation((t - lowerBound) / (upperBound - lowerBound)); in clampToProgress() 178 float upperBound) { 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 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/TV/src/com/android/tv/dvr/ui/ |
D | SortedArrayAdapter.java | 135 int upperBound = Math.min(position + count, size()); in removeItems() local 136 for (int i = position; i < upperBound; i++) { in removeItems() 139 if (upperBound > size() - mExtraItemCount) { in removeItems() 140 mExtraItemCount -= upperBound - Math.max(size() - mExtraItemCount, position); in removeItems()
|
/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 89 upperBound, in SyncCursorPair() 95 upperBound, in SyncCursorPair() 101 ((upperBound < 0) ? upperBound : (upperBound + 999) / 1000), /*seconds*/ in SyncCursorPair()
|
D | SyncMessagesAction.java | 134 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/ |
D | Util.java | 127 int upperBound = (minSideLength == IImage.UNCONSTRAINED) ? 128 : in computeInitialSampleSize() local 131 if (upperBound < lowerBound) { in computeInitialSampleSize() 142 return upperBound; in computeInitialSampleSize()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | MpegTsDefaultAudioTrackRenderer.java | 610 long upperBound = mPresentationTimeUs + CURRENT_POSITION_FROM_PTS_LIMIT_US; in getPositionUs() local 611 if (mCurrentPositionUs > upperBound) { in getPositionUs() 612 mCurrentPositionUs = upperBound; in getPositionUs()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 200 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() local 204 if (upperBound < lowerBound) { in computeInitialSampleSize() 214 return upperBound; in computeInitialSampleSize()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 226 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() local 230 if (upperBound < lowerBound) { in computeInitialSampleSize() 240 return upperBound; in computeInitialSampleSize()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoritesTileAdapter.java | 622 final int upperBound = Math.max(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 | 826 final long upperBound = startTime + 7_200_000; // start timestamp + 2h 829 assertTrue(upperBound > expiry);
|
/packages/modules/RuntimeI18n/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 4032 Landroid/icu/text/PluralRules$RangeConstraint;->upperBound:D
|