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.java1880 Range<Float> zoomRatioRange = getValueFromKeyNonNull(key); in getZoomRatioRangeChecked() local
1881 if (zoomRatioRange == null) { in getZoomRatioRangeChecked()
1886 zoomRatioRange.getLower()), zoomRatioRange.getLower() <= 1.0); in getZoomRatioRangeChecked()
1888 zoomRatioRange.getUpper()), zoomRatioRange.getUpper() >= 1.0); in getZoomRatioRangeChecked()
1891 zoomRatioRange.getUpper().equals(zoomRatioRange.getLower()) || in getZoomRatioRangeChecked()
1892 zoomRatioRange.getUpper() - zoomRatioRange.getLower() > ZOOM_MIN_RANGE); in getZoomRatioRangeChecked()
1893 return zoomRatioRange; in getZoomRatioRangeChecked()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3508 Range<Float> zoomRatioRange = staticInfo.getZoomRatioRangeChecked(); in getCandidateZoomRatios() local
3509 zoomRatios.add(zoomRatioRange.getLower()); in getCandidateZoomRatios()
3510 if (zoomRatioRange.contains(1.0f) && in getCandidateZoomRatios()
3511 1.0f - zoomRatioRange.getLower() > ZOOM_RATIO_THRESHOLD && in getCandidateZoomRatios()
3512 zoomRatioRange.getUpper() - 1.0f > ZOOM_RATIO_THRESHOLD) { in getCandidateZoomRatios()
3515 zoomRatios.add(zoomRatioRange.getUpper()); in getCandidateZoomRatios()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java2772 final Range<Float> zoomRatioRange = mStaticInfo.getZoomRatioRangeChecked();
2813 float previousRatio = zoomRatioRange.getLower();
2818 float zoomFactor = zoomRatioRange.getLower() + (zoomRatioRange.getUpper() -
2819 zoomRatioRange.getLower()) * i / ZOOM_STEPS;