Home
last modified time | relevance | path

Searched refs:getLower (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/media/java/android/media/
DUtils.java66 if (lhs.getUpper().compareTo(rhs.getLower()) < 0) { in sortDistinctRanges()
68 } else if (lhs.getLower().compareTo(rhs.getUpper()) > 0) { in sortDistinctRanges()
89 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges()
100 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges()
121 if (lhs.getUpper().compareTo(rhs.getLower()) < 0) { in binarySearchDistinctRanges()
123 } else if (lhs.getLower().compareTo(rhs.getUpper()) > 0) { in binarySearchDistinctRanges()
160 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor);
171 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor);
188 scaleRatio(range.getLower(), num, den),
194 divUp(range.getLower(), align) * align,
DMediaCodecInfo.java1169 int lmin = mInputChannelRanges[i].getLower(); in getMinInputChannelCount()
1263 mSampleRates[i] = mSampleRateRanges[i].getLower(); in createDiscreteSampleRates()
1274 if (!range.getLower().equals(range.getUpper())) { in limitSampleRates()
1437 if (mBitrateRange.getLower().equals(mBitrateRange.getUpper())) { in getDefaultFormat()
1438 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitrateRange.getLower()); in getDefaultFormat()
1589 Utils.divUp(mBlockCountRange.getLower(), heightInBlocks), in getSupportedWidthsFor()
1590 (int)Math.ceil(mBlockAspectRatioRange.getLower().doubleValue() in getSupportedWidthsFor()
1607 (int)Math.ceil(mAspectRatioRange.getLower().doubleValue() in getSupportedWidthsFor()
1633 Utils.divUp(mBlockCountRange.getLower(), widthInBlocks), in getSupportedHeightsFor()
1639 mBlockAspectRatioRange.getLower().doubleValue())); in getSupportedHeightsFor()
[all …]
/frameworks/base/services/people/java/com/android/server/people/data/
DEventIndex.java161 return Range.create(lastTimeSlot.getLower() - offset, in getMostRecentActiveTimeSlot()
316 return timeSlot.getUpper() - timeSlot.getLower(); in getDuration()
327 return (int) ((toSlot.getLower() - fromSlot.getLower()) / getDuration(fromSlot)); in diffTimeSlots()
337 long startTime = latestTimeSlot.getLower(); in getActiveTimeSlotsForType()
372 } else if (longerSlot.getLower() < shorterSlot.getLower()) { in combineTimeSlotLists()
/frameworks/base/telephony/java/android/telephony/ims/
DAudioCodecAttributes.java70 out.writeFloat(mBitrateRangeKbps.getLower()); in writeToParcel()
73 out.writeFloat(mBandwidthRangeKhz.getLower()); in writeToParcel()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryChargeCalculatorTest.java63 assertThat(batteryUsageStats.getDischargedPowerRange().getLower()) in testDischargeTotals()
102 assertThat(batteryUsageStats.getDischargedPowerRange().getLower()) in testDischargeTotals_chargeUahUnavailable()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java462 mHue.getLower() + (mHue.getUpper() - mHue.getLower()) / 2f, in getCenter()
463 mSaturation.getLower() + (mSaturation.getUpper() - mSaturation.getLower()) / 2f, in getCenter()
464 mLightness.getLower() + (mLightness.getUpper() - mLightness.getLower()) / 2f in getCenter()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRange.java77 mNestedTypeMarshaler.marshal(value.getLower(), buffer); in marshal()
117 int lowerSize = mNestedTypeMarshaler.calculateMarshalSize(value.getLower()); in calculateMarshalSize()
/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java132 final long length = cycle.getUpper().toEpochSecond() - cycle.getLower().toEpochSecond(); in testSane()
140 lastStart = cycle.getLower(); in testSane()
/frameworks/av/services/mediatranscoding/tests/TranscodingUidPolicyTestApp/src/com/android/tests/transcoding/
DResourcePolicyTestActivity.java71 int width = vcaps.getSupportedWidths().getLower(); in getTestFormat()
72 int height = vcaps.getSupportedHeightsFor(width).getLower(); in getTestFormat()
73 int bitrate = vcaps.getBitrateRange().getLower(); in getTestFormat()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Capabilities.java47 mSupportedPreviewFpsRange.add(new int[] { fpsRange.getLower(), fpsRange.getUpper() }); in AndroidCamera2Capabilities()
75 mMinExposureCompensation = ecRange.getLower(); in AndroidCamera2Capabilities()
DAndroidCamera2Settings.java97 setPreviewFpsRange(previewFpsRange.getLower(), previewFpsRange.getUpper()); in AndroidCamera2Settings()
211 (defaultFpsRange != null && mPreviewFpsRangeMin == defaultFpsRange.getLower() && in matchesTemplateDefault()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java968 return range.getLower(); in getSensitivityMinimumOrDefault()
1021 return range.getLower(); in getExposureMinimumOrDefault()
1427 minFps = fpsRanges[i].getLower(); in getAeAvailableTargetFpsRangesChecked()
1459 if (candidateRange.getLower() > targetRange.getLower()) { in getAeMaxTargetFpsRange()
1465 if (candidateRange.getLower() >= targetRange.getLower() && in getAeMaxTargetFpsRange()
1630 compensationRange.getLower() <= DEFAULT_RANGE.getLower() && in getAeCompensationRangeChecked()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DPowerMetrics.java49 mDrainedPower = (dischargedPowerRange.getLower() + dischargedPowerRange.getUpper()) / 2; in PowerMetrics()
/frameworks/base/core/java/android/util/
DRange.java87 public T getLower() { in getLower() method in Range
/frameworks/base/services/people/java/com/android/server/people/prediction/
DSharesheetModelScorer.java95 getFreqDecayedOnElapsedTime(now - timeSlot.getLower())); in computeScore()
106 getFreqDecayedOnElapsedTime(now - timeSlot.getLower())); in computeScore()
/frameworks/base/core/tests/coretests/src/android/os/
DVibratorInfoTest.java244 assertEquals(50, info.getAbsoluteFrequency(info.getFrequencyRange().getLower()), in testAbsoluteFrequency_validRangeReturnsOriginalValue()
271 assertEquals(0.1f, info.getMaxAmplitude(info.getFrequencyRange().getLower()), in testGetMaxAmplitude_validMappingReturnsMappedValues()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRangeTest.java153 assertAction("lower", object, expected, object.getLower()); in assertLower()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventIndexTest.java155 assertEquals(expectedLower, actualSlot.getLower().longValue()); in assertTimeSlot()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java286 final long start = cycle.getLower().toInstant().toEpochMilli(); in getRemainingDailyBudget()
307 final long cycleStart = policy.cycleIterator().next().getLower() in getUserPolicyOpportunisticQuotaBytes()
/frameworks/base/core/java/android/os/
DVibratorInfo.java564 return Float.compare(mRelativeFrequencyRange.getLower(), in isEmpty()
578 float relativeMinFrequency = mRelativeFrequencyRange.getLower(); in toHertz()
DBatteryUsageStats.java538 PowerCalculator.printPowerMah(pw, dischargedPowerRange.getLower()); in dump()
539 if (!dischargedPowerRange.getLower().equals(dischargedPowerRange.getUpper())) { in dump()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java129 mISOmin = irange.getLower(); in resume()
132 mExpMin = lrange.getLower(); in resume()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java731 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) { in getMaxPreviewSizeForFpsRange()
740 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in getMaxPreviewSizeForFpsRange()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java125 mISOmin = irange.getLower(); in resume()
128 mExpMin = lrange.getLower(); in resume()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java128 start = cycle.getLower().toInstant().toEpochMilli(); in getDataUsageInfo()

12