Home
last modified time | relevance | path

Searched refs:getUpper (Results 1 – 25 of 48) 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()
93 one[ix].getUpper().compareTo(range.getUpper()) < 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);
189 scaleRatio(range.getUpper(), num, den));
[all …]
DMediaCodecInfo.java1277 int lmax = mInputChannelRanges[i].getUpper(); in getMaxInputChannelCount()
1401 if (!range.getLower().equals(range.getUpper())) { in limitSampleRates()
1564 if (mBitrateRange.getLower().equals(mBitrateRange.getUpper())) { in getDefaultFormat()
1720 mBlockCountRange.getUpper() / heightInBlocks, in getSupportedWidthsFor()
1721 (int)(mBlockAspectRatioRange.getUpper().doubleValue() in getSupportedWidthsFor()
1736 (int)(mAspectRatioRange.getUpper().doubleValue() * height)); in getSupportedWidthsFor()
1762 mBlockAspectRatioRange.getUpper().doubleValue())); in getSupportedHeightsFor()
1764 mBlockCountRange.getUpper() / widthInBlocks, in getSupportedHeightsFor()
1779 mAspectRatioRange.getUpper().doubleValue()), in getSupportedHeightsFor()
1811 Math.min(mBlocksPerSecondRange.getUpper() / (double) blockCount, in getSupportedFrameRatesFor()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DAudioCodecAttributes.java71 out.writeFloat(mBitrateRangeKbps.getUpper()); in writeToParcel()
74 out.writeFloat(mBandwidthRangeKhz.getUpper()); in writeToParcel()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryChargeCalculatorTest.java66 assertThat(batteryUsageStats.getDischargedPowerRange().getUpper()) in testDischargeTotals()
107 assertThat(batteryUsageStats.getDischargedPowerRange().getUpper()) in testDischargeTotals_chargeUahUnavailable()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRange.java78 mNestedTypeMarshaler.marshal(value.getUpper(), buffer); in marshal()
118 int upperSize = mNestedTypeMarshaler.calculateMarshalSize(value.getUpper()); in calculateMarshalSize()
/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java132 final long length = cycle.getUpper().toEpochSecond() - cycle.getLower().toEpochSecond(); in testSane()
138 assertEquals(lastStart, cycle.getUpper()); in testSane()
/frameworks/base/core/java/android/os/vibrator/
DVibratorFrequencyProfile.java100 return mFrequencyProfile.getFrequencyRangeHz().getUpper(); in getMaxFrequency()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java219 int width = vc.getSupportedWidths().getUpper(); in getSupportedSize()
220 int height = vc.getSupportedHeights().getUpper(); in getSupportedSize()
235 screenHeightAligned).getUpper().intValue(); in getSupportedSize()
259 .getUpper().intValue(); in getSupportedSize()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Capabilities.java47 mSupportedPreviewFpsRange.add(new int[] { fpsRange.getLower(), fpsRange.getUpper() }); in AndroidCamera2Capabilities()
76 mMaxExposureCompensation = ecRange.getUpper(); in AndroidCamera2Capabilities()
DAndroidCamera2Settings.java97 setPreviewFpsRange(previewFpsRange.getLower(), previewFpsRange.getUpper()); in AndroidCamera2Settings()
212 mPreviewFpsRangeMax == defaultFpsRange.getUpper()); in matchesTemplateDefault()
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/
DCameraCharacteristicAvailability.java58 return (zoomRatioRange != null) && (zoomRatioRange.getUpper() > 1.f); in supportsZoomRatio()
/frameworks/base/core/java/android/os/
DSystemVibrator.java489 Math.round(1 + (freqRange.getUpper() - freqRange.getLower()) / freqResolution); in frequencyProfileIntersection()
530 float intersectionUpper = firstRange.getUpper(); in frequencyRangeIntersection()
543 || (vibratorRange.getUpper() <= intersectionLower)) { in frequencyRangeIntersection()
555 intersectionUpper = Math.min(intersectionUpper, vibratorRange.getUpper()); in frequencyRangeIntersection()
/frameworks/base/services/people/java/com/android/server/people/prediction/
DSharesheetModelScorer.java81 Comparator.comparingLong(p -> p.second.getUpper())); in computeScore()
118 || mostRecentTimeSlot.getUpper() > recencyMinHeap.peek().second.getUpper()) { in computeScore()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DPowerMetrics.java49 mDrainedPower = (dischargedPowerRange.getLower() + dischargedPowerRange.getUpper()) / 2; in PowerMetrics()
/frameworks/base/media/java/android/media/tv/tuner/frontend/
DFrontendInfo.java87 (int) (long) mFrequencyRange.getLower(), (int) (long) mFrequencyRange.getUpper()); in getFrequencyRange()
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java1001 return range.getUpper(); in getSensitivityMaximumOrDefault()
1054 return range.getUpper(); in getExposureMaximumOrDefault()
1428 maxFps = fpsRanges[i].getUpper(); in getAeAvailableTargetFpsRangesChecked()
1466 candidateRange.getUpper() > targetRange.getUpper()) { in getAeMaxTargetFpsRange()
1631 compensationRange.getUpper() >= DEFAULT_RANGE.getUpper()); in getAeCompensationRangeChecked()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraConstrainedHighSpeedCaptureSessionImpl.java121 int requestListSize = fpsRange.getUpper() / previewFps; in createHighSpeedRequestList()
123 if (fpsRange.getUpper() > fpsRange.getLower()) { in createHighSpeedRequestList()
/frameworks/base/core/java/android/util/
DRange.java96 public T getUpper() { in getUpper() method in Range
/frameworks/base/services/people/java/com/android/server/people/data/
DEventIndex.java162 lastTimeSlot.getUpper() - offset); in getMostRecentActiveTimeSlot()
316 return timeSlot.getUpper() - timeSlot.getLower(); in getDuration()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRangeTest.java149 assertAction("upper", object, expected, object.getUpper()); in assertUpper()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleDataLoader.java110 long cycleEnd = historyTimeRange.getUpper(); in loadFourWeeksData()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventIndexTest.java156 assertEquals(expectedUpper, actualSlot.getUpper().longValue()); in assertTimeSlot()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java1120 - audioCodecAttributes.getBitrateRangeKbps().getUpper()) > THRESHOLD) { in updateMediaCapabilities()
1121 mAudioCodecBitrateKbps = audioCodecAttributes.getBitrateRangeKbps().getUpper(); in updateMediaCapabilities()
1126 - audioCodecAttributes.getBandwidthRangeKhz().getUpper()) > THRESHOLD) { in updateMediaCapabilities()
1128 audioCodecAttributes.getBandwidthRangeKhz().getUpper(); in updateMediaCapabilities()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java128 mISOmax = irange.getUpper(); in resume()
131 mExpMax = lrange.getUpper(); in resume()

12