Home
last modified time | relevance | path

Searched refs:lowerBound (Results 1 – 18 of 18) sorted by relevance

/frameworks/libs/systemui/animationlib/src/com/android/app/animation/
DInterpolators.java346 public static Interpolator clampToProgress(Interpolator interpolator, float lowerBound, 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()
374 if (progress < lowerBound) { in clampToProgress()
380 return interpolator.getInterpolation((progress - lowerBound) / (upperBound - lowerBound)); in clampToProgress()
[all …]
DInterpolatorsAndroidX.java352 public static Interpolator clampToProgress(Interpolator interpolator, float lowerBound, 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()
380 if (progress < lowerBound) { 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
39 mLowerBound = lowerBound; in PortFilter()
60 int lowerBound = NO_BOUND;
72 lowerBound = value;
87 lowerBound = Integer.parseInt(lowerBoundString);
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()
83 mLowerBound = lowerBound; in PhoneNumberRange()
134 private void validateLowerAndUpperBounds(String lowerBound, String upperBound) { in validateLowerAndUpperBounds() argument
135 if (lowerBound.length() != upperBound.length()) { in validateLowerAndUpperBounds()
138 if (!Pattern.matches("[0-9]*", lowerBound)) { in validateLowerAndUpperBounds()
144 if (Integer.parseInt(lowerBound) > Integer.parseInt(upperBound)) { in validateLowerAndUpperBounds()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DAssertHelpers.java89 public static void assertArrayWithinLowerBound(String message, float[] value, float lowerBound) in assertArrayWithinLowerBound() argument
94 message, value[i], lowerBound, i, Arrays.toString(value)), in assertArrayWithinLowerBound()
95 value[i] > lowerBound); in assertArrayWithinLowerBound() local
/frameworks/native/services/sensorservice/
DSensorDeviceUtils.cpp96 double lowerBound = 2.0 * sensor.maxRange / std::pow(2, 24); in resolutionForSensor() local
99 return std::max(sensor.resolution, static_cast<float>(lowerBound)); in resolutionForSensor()
/frameworks/base/core/java/android/view/
DWindowInsetsAnimation.java192 public Bounds(@NonNull Insets lowerBound, @NonNull Insets upperBound) { in Bounds() argument
193 mLowerBound = lowerBound; in Bounds()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java73 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 : in computeInitialSampleSize() local
77 return lowerBound; in computeInitialSampleSize()
80 return Math.max(sampleSize, lowerBound); in computeInitialSampleSize()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategyImpl.java670 Instant lowerBound = mCurrentConfigurationInternal.getAutoSuggestionLowerBound();
673 lowerBound);
683 Instant lowerBound = mCurrentConfigurationInternal.getManualSuggestionLowerBound();
687 && validateSuggestionAgainstLowerBound(newUnixEpochTime, suggestion, lowerBound);
693 @NonNull Instant lowerBound) {
696 if (lowerBound.toEpochMilli() > newUnixEpochTime.getUnixEpochTimeMillis()) {
698 + "suggestion=" + suggestion + ", lower bound=" + lowerBound);
/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
299 bandRange.lowerBound = lowerBound; in createAmFmBandRange()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java205 FrequencyBand bandType = Utils.getBand(range.lowerBound); in amfmConfigToBands()
207 Slogf.e(TAG, "Unknown frequency band at " + range.lowerBound + "kHz"); in amfmConfigToBands()
212 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
219 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DConversionUtils.java270 Utils.FrequencyBand bandType = Utils.getBand(config.ranges[i].lowerBound); in amfmConfigToBands()
272 Slogf.e(TAG, "Unknown frequency band at %d kHz", config.ranges[i].lowerBound); in amfmConfigToBands()
277 config.ranges[i].lowerBound, config.ranges[i].upperBound, in amfmConfigToBands()
286 config.ranges[i].lowerBound, config.ranges[i].upperBound, in amfmConfigToBands()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardBacklightController.java207 int lowerBound = Math.max(0, -(index + 1) - 1); in updateKeyboardBacklight() local
209 direction == Direction.DIRECTION_UP ? lowerBound : lowerBound + 1; in updateKeyboardBacklight()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java937 int lowerBound = rotation * 90 - 45 in isOrientationAngleAcceptableLocked() local
940 if (orientationAngle >= 315 && orientationAngle < lowerBound + 360) { in isOrientationAngleAcceptableLocked()
944 if (orientationAngle < lowerBound) { in isOrientationAngleAcceptableLocked()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.cpp1528 auto lowerBound = std::lower_bound(mKnownFrameRates.begin(), mKnownFrameRates.end(), frameRate, in findClosestKnownFrameRate() local
1531 const auto distance1 = std::abs(frameRate.getValue() - lowerBound->getValue()); in findClosestKnownFrameRate()
1532 const auto distance2 = std::abs(frameRate.getValue() - std::prev(lowerBound)->getValue()); in findClosestKnownFrameRate()
1533 return distance1 < distance2 ? *lowerBound : *std::prev(lowerBound); in findClosestKnownFrameRate()
/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
975 bandRange.lowerBound = lowerBound; in createAmFmBandRange()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java1094 public void setVisibleRangeHint(int lowerBound, int upperBound) { in setVisibleRangeHint() argument
1095 mVisibleWindowLowerBound = lowerBound; in setVisibleRangeHint()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...