Home
last modified time | relevance | path

Searched refs:getUpper (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/java/android/media/
DUtils.java43 if (lhs.getUpper().compareTo(rhs.getLower()) < 0) { in sortDistinctRanges()
45 } else if (lhs.getLower().compareTo(rhs.getUpper()) > 0) { in sortDistinctRanges()
66 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges()
70 one[ix].getUpper().compareTo(range.getUpper()) < 0) { in intersectSortedDistinctRanges()
77 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges()
98 if (lhs.getUpper().compareTo(rhs.getLower()) < 0) { in binarySearchDistinctRanges()
100 } else if (lhs.getLower().compareTo(rhs.getUpper()) > 0) { in binarySearchDistinctRanges()
137 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor);
148 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor);
166 scaleRatio(range.getUpper(), num, den));
[all …]
DMediaCodecInfo.java612 if (!range.getLower().equals(range.getUpper())) { in limitSampleRates()
723 if (mBitrateRange.getLower().equals(mBitrateRange.getUpper())) { in setDefaultFormat()
864 mBlockCountRange.getUpper() / heightInBlocks, in getSupportedWidthsFor()
865 (int)(mBlockAspectRatioRange.getUpper().doubleValue() in getSupportedWidthsFor()
880 (int)(mAspectRatioRange.getUpper().doubleValue() * height)); in getSupportedWidthsFor()
906 mBlockAspectRatioRange.getUpper().doubleValue())); in getSupportedHeightsFor()
908 mBlockCountRange.getUpper() / widthInBlocks, in getSupportedHeightsFor()
923 mAspectRatioRange.getUpper().doubleValue()), in getSupportedHeightsFor()
955 Math.min(mBlocksPerSecondRange.getUpper() / (double) blockCount, in getSupportedFrameRatesFor()
956 (double) mFrameRateRange.getUpper())); in getSupportedFrameRatesFor()
[all …]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRange.java81 mNestedTypeMarshaler.marshal(value.getUpper(), buffer); in marshal()
121 int upperSize = mNestedTypeMarshaler.calculateMarshalSize(value.getUpper()); in calculateMarshalSize()
/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/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java1137 legacyFps[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] = fpsRange.getUpper(); in convertAeFpsRangeToLegacy()
1313 if (bestRange.getUpper() < r.getUpper()) { in createRequestTemplate()
1315 } else if (bestRange.getUpper() == r.getUpper() && in createRequestTemplate()
DLegacyRequestMapper.java631 legacyFps[Parameters.PREVIEW_FPS_MAX_INDEX] = fpsRange.getUpper(); in convertAeFpsRangeToLegacy()
/frameworks/base/core/java/android/util/
DRange.java95 public T getUpper() { in getUpper() method in Range
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRangeTest.java149 assertAction("upper", object, expected, object.getUpper()); in assertUpper()
/frameworks/base/api/
Dsystem-current.txt33987 method public T getUpper();
Dcurrent.txt31754 method public T getUpper();