Home
last modified time | relevance | path

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

/frameworks/libs/systemui/animationlib/src/com/android/app/animation/
DInterpolators.java347 float upperBound) { in clampToProgress() argument
348 if (upperBound < lowerBound) { in clampToProgress()
351 upperBound, lowerBound)); in clampToProgress()
353 return t -> clampToProgress(interpolator, t, lowerBound, upperBound); in clampToProgress()
364 Interpolator interpolator, float progress, float lowerBound, float upperBound) { in clampToProgress() argument
365 if (upperBound < lowerBound) { in clampToProgress()
368 upperBound, lowerBound)); in clampToProgress()
371 if (progress == lowerBound && progress == upperBound) { in clampToProgress()
377 if (progress > upperBound) { in clampToProgress()
380 return interpolator.getInterpolation((progress - lowerBound) / (upperBound - lowerBound)); in clampToProgress()
[all …]
DInterpolatorsAndroidX.java353 float upperBound) { in clampToProgress() argument
354 if (upperBound < lowerBound) { in clampToProgress()
357 upperBound, lowerBound)); in clampToProgress()
359 return t -> clampToProgress(interpolator, t, lowerBound, upperBound); in clampToProgress()
370 Interpolator interpolator, float progress, float lowerBound, float upperBound) { in clampToProgress() argument
371 if (upperBound < lowerBound) { in clampToProgress()
374 upperBound, lowerBound)); in clampToProgress()
377 if (progress == lowerBound && progress == upperBound) { in clampToProgress()
383 if (progress > upperBound) { in clampToProgress()
386 return interpolator.getInterpolation((progress - lowerBound) / (upperBound - lowerBound)); in clampToProgress()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DPortFilter.java38 private PortFilter(int lowerBound, int upperBound) { in PortFilter() argument
40 mUpperBound = upperBound; in PortFilter()
61 int upperBound = NO_BOUND;
73 upperBound = value;
97 upperBound = Integer.parseInt(upperBoundString);
107 return new PortFilter(lowerBound, upperBound);
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberRange.java73 @NonNull String lowerBound, @NonNull String upperBound) { in PhoneNumberRange() argument
74 validateLowerAndUpperBounds(lowerBound, upperBound); in PhoneNumberRange()
84 mUpperBound = upperBound; in PhoneNumberRange()
134 private void validateLowerAndUpperBounds(String lowerBound, String upperBound) { in validateLowerAndUpperBounds() argument
135 if (lowerBound.length() != upperBound.length()) { in validateLowerAndUpperBounds()
141 if (!Pattern.matches("[0-9]*", upperBound)) { in validateLowerAndUpperBounds()
144 if (Integer.parseInt(lowerBound) > Integer.parseInt(upperBound)) { in validateLowerAndUpperBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleNotificationIdentifier.kt76 when (val type = upperBound(type, extractPersonTypeInfo(entry.sbn))) { in getPeopleNotificationType()
78 else -> upperBound(type, getPeopleTypeOfSummary(entry)) in getPeopleNotificationType()
97 private fun upperBound( in upperBound() method
126 groupType = upperBound(groupType, childType) in extractPersonTypeInfo()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DAssertHelpers.java105 public static void assertArrayWithinUpperBound(String message, float[] value, float upperBound) in assertArrayWithinUpperBound() argument
110 message, value[i], upperBound, i, Arrays.toString(value)), in assertArrayWithinUpperBound()
111 value[i] < upperBound); in assertArrayWithinUpperBound()
/frameworks/base/core/java/android/view/
DWindowInsetsAnimation.java192 public Bounds(@NonNull Insets lowerBound, @NonNull Insets upperBound) { in Bounds() argument
194 mUpperBound = upperBound; in Bounds()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DConvertTest.java297 private static AmFmBandRange createAmFmBandRange(int lowerBound, int upperBound, int spacing) { in createAmFmBandRange() argument
300 bandRange.upperBound = upperBound; in createAmFmBandRange()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java956 int upperBound = rotation * 90 + 45 in isOrientationAngleAcceptableLocked() local
959 if (orientationAngle <= 45 && orientationAngle > upperBound) { in isOrientationAngleAcceptableLocked()
963 if (orientationAngle > upperBound) { in isOrientationAngleAcceptableLocked()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java212 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
219 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DConversionUtilsTest.java973 private static AmFmBandRange createAmFmBandRange(int lowerBound, int upperBound, int spacing) { in createAmFmBandRange() argument
976 bandRange.upperBound = upperBound; in createAmFmBandRange()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DConversionUtils.java277 config.ranges[i].lowerBound, config.ranges[i].upperBound, in amfmConfigToBands()
286 config.ranges[i].lowerBound, config.ranges[i].upperBound, in amfmConfigToBands()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java1094 public void setVisibleRangeHint(int lowerBound, int upperBound) { in setVisibleRangeHint() argument
1096 mVisibleWindowUpperBound = upperBound; in setVisibleRangeHint()
/frameworks/native/libs/binder/
DParcel.cpp1847 status_t Parcel::validateReadData(size_t upperBound) const in validateReadData()
1862 upperBound > kernelFields->mObjects[kernelFields->mNextObjectHint]) { in validateReadData()
1876 upperBound > kernelFields->mObjects[nextObject]); in validateReadData()
1912 (void)upperBound; in validateReadData()