/frameworks/base/media/java/android/media/ |
D | Utils.java | 66 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 …]
|
D | MediaCodecInfo.java | 1277 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/ |
D | AudioCodecAttributes.java | 71 out.writeFloat(mBitrateRangeKbps.getUpper()); in writeToParcel() 74 out.writeFloat(mBandwidthRangeKhz.getUpper()); in writeToParcel()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryChargeCalculatorTest.java | 66 assertThat(batteryUsageStats.getDischargedPowerRange().getUpper()) in testDischargeTotals() 107 assertThat(batteryUsageStats.getDischargedPowerRange().getUpper()) in testDischargeTotals_chargeUahUnavailable()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRange.java | 78 mNestedTypeMarshaler.marshal(value.getUpper(), buffer); in marshal() 118 int upperSize = mNestedTypeMarshaler.calculateMarshalSize(value.getUpper()); in calculateMarshalSize()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 132 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/ |
D | VibratorFrequencyProfile.java | 100 return mFrequencyProfile.getFrequencyRangeHz().getUpper(); in getMaxFrequency()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenMediaRecorder.java | 219 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/ |
D | AndroidCamera2Capabilities.java | 47 mSupportedPreviewFpsRange.add(new int[] { fpsRange.getLower(), fpsRange.getUpper() }); in AndroidCamera2Capabilities() 76 mMaxExposureCompensation = ecRange.getUpper(); in AndroidCamera2Capabilities()
|
D | AndroidCamera2Settings.java | 97 setPreviewFpsRange(previewFpsRange.getLower(), previewFpsRange.getUpper()); in AndroidCamera2Settings() 212 mPreviewFpsRangeMax == defaultFpsRange.getUpper()); in matchesTemplateDefault()
|
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/ |
D | CameraCharacteristicAvailability.java | 58 return (zoomRatioRange != null) && (zoomRatioRange.getUpper() > 1.f); in supportsZoomRatio()
|
/frameworks/base/core/java/android/os/ |
D | SystemVibrator.java | 489 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/ |
D | SharesheetModelScorer.java | 81 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/ |
D | PowerMetrics.java | 49 mDrainedPower = (dischargedPowerRange.getLower() + dischargedPowerRange.getUpper()) / 2; in PowerMetrics()
|
/frameworks/base/media/java/android/media/tv/tuner/frontend/ |
D | FrontendInfo.java | 87 (int) (long) mFrequencyRange.getLower(), (int) (long) mFrequencyRange.getUpper()); in getFrequencyRange()
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 462 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/ |
D | StaticMetadata.java | 1001 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/ |
D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 121 int requestListSize = fpsRange.getUpper() / previewFps; in createHighSpeedRequestList() 123 if (fpsRange.getUpper() > fpsRange.getLower()) { in createHighSpeedRequestList()
|
/frameworks/base/core/java/android/util/ |
D | Range.java | 96 public T getUpper() { in getUpper() method in Range
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventIndex.java | 162 lastTimeSlot.getUpper() - offset); in getMostRecentActiveTimeSlot() 316 return timeSlot.getUpper() - timeSlot.getLower(); in getDuration()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RangeTest.java | 149 assertAction("upper", object, expected, object.getUpper()); in assertUpper()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoader.java | 110 long cycleEnd = historyTimeRange.getUpper(); in loadFourWeeksData()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | EventIndexTest.java | 156 assertEquals(expectedUpper, actualSlot.getUpper().longValue()); in assertTimeSlot()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 1120 - 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/ |
D | CameraOps.java | 128 mISOmax = irange.getUpper(); in resume() 131 mExpMax = lrange.getUpper(); in resume()
|