Home
last modified time | relevance | path

Searched refs:zoomRatioRange (Results 1 – 3 of 3) sorted by relevance

/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1887 Range<Float> zoomRatioRange = getValueFromKeyNonNull(key); in getZoomRatioRangeChecked() local
1888 if (zoomRatioRange == null) { in getZoomRatioRangeChecked()
1893 zoomRatioRange.getLower()), zoomRatioRange.getLower() <= 1.0); in getZoomRatioRangeChecked()
1895 zoomRatioRange.getUpper()), zoomRatioRange.getUpper() >= 1.0); in getZoomRatioRangeChecked()
1898 zoomRatioRange.getUpper().equals(zoomRatioRange.getLower()) || in getZoomRatioRangeChecked()
1899 zoomRatioRange.getUpper() - zoomRatioRange.getLower() > ZOOM_MIN_RANGE); in getZoomRatioRangeChecked()
1900 return zoomRatioRange; in getZoomRatioRangeChecked()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3728 Range<Float> zoomRatioRange = staticInfo.getZoomRatioRangeChecked(); in getCandidateZoomRatios() local
3729 zoomRatios.add(zoomRatioRange.getLower()); in getCandidateZoomRatios()
3730 if (zoomRatioRange.contains(1.0f) && in getCandidateZoomRatios()
3731 1.0f - zoomRatioRange.getLower() > ZOOM_RATIO_THRESHOLD && in getCandidateZoomRatios()
3732 zoomRatioRange.getUpper() - 1.0f > ZOOM_RATIO_THRESHOLD) { in getCandidateZoomRatios()
3735 zoomRatios.add(zoomRatioRange.getUpper()); in getCandidateZoomRatios()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java2782 final Range<Float> zoomRatioRange = mStaticInfo.getZoomRatioRangeChecked();
2823 float previousRatio = zoomRatioRange.getLower();
2828 float zoomFactor = zoomRatioRange.getLower() + (zoomRatioRange.getUpper() -
2829 zoomRatioRange.getLower()) * i / ZOOM_STEPS;