Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DZoomCaptureTest.java140 Range<Float> zoomRatioRange = mStaticInfo.getZoomRatioRangeChecked(); in test10bitLogicalZoomCapture() local
143 (zoomRatioRange.getUpper() - zoomRatioRange.getLower()) / ZOOM_RATIO_STEPS; in test10bitLogicalZoomCapture()
145 candidateZoomRatios.add(step, zoomRatioRange.getLower() + step * zoomStep); in test10bitLogicalZoomCapture()
147 candidateZoomRatios.add(ZOOM_RATIO_STEPS - 1, zoomRatioRange.getUpper()); in test10bitLogicalZoomCapture()
DCaptureRequestTest.java2984 final Range<Float> zoomRatioRange = mStaticInfo.getZoomRatioRangeChecked();
3025 float previousRatio = zoomRatioRange.getLower();
3030 float zoomFactor = zoomRatioRange.getLower() + (zoomRatioRange.getUpper() -
3031 zoomRatioRange.getLower()) * i / ZOOM_STEPS;
3151 final Range<Float> zoomRatioRange = mStaticInfo.getZoomRatioRangeChecked();
3162 float zoomRange = zoomRatioRange.getUpper() - zoomRatioRange.getLower();
3164 float zoomFactor = zoomRatioRange.getUpper() - (zoomRange * i / ZOOM_STEPS);
3371 final Range<Float> zoomRatioRange = mStaticInfo.getZoomRatioRangeChecked();
3373 float testZoomRatio = zoomRatioRange.getLower() + (zoomRatioRange.getUpper()
3374 - zoomRatioRange.getLower()) * i / zoomSteps;
DCameraExtensionSessionTest.java2527 final Range<Float> zoomRatioRange; in testZoomRatio() local
2530 zoomRatioRange = in testZoomRatio()
2535 zoomRatioRange); in testZoomRatio()
2536 maxZoom = zoomRatioRange.getUpper(); in testZoomRatio()
2538 zoomRatioRange = staticMeta.getZoomRatioRangeChecked(); in testZoomRatio()
2542 if (zoomRatioRange.getUpper().equals(zoomRatioRange.getLower())) { in testZoomRatio()
2551 (zoomRatioRange.getUpper() - zoomRatioRange.getLower()) / ZOOM_RATIO_STEPS; in testZoomRatio()
2558 candidateZoomRatios.add(step, zoomRatioRange.getLower() + step * zoomStep); in testZoomRatio()
2560 candidateZoomRatios.add(ZOOM_RATIO_STEPS - 1, zoomRatioRange.getUpper()); in testZoomRatio()
DPerformanceTest.java992 Range<Float> zoomRatioRange = staticMetadata.getZoomRatioRangeChecked(); in getZoomRatiosToTest() local
995 float startRatio = zoomRatioRange.getLower(); in getZoomRatiosToTest()
996 float endRatio = Math.min(zoomRatioRange.getUpper(), kMaxZoomRatio); in getZoomRatiosToTest()
1073 Range<Float> zoomRatioRange = staticMetadata.getZoomRatioRangeChecked(); in testZoomSettingsOverrideLatency() local
1074 float minZoomRatio = zoomRatioRange.getLower(); in testZoomSettingsOverrideLatency()
DExtendedCameraCharacteristicsTest.java3651 Range<Float> zoomRatioRange = staticInfo.getZoomRatioRangeChecked();
3655 || (zoomRatioRange.getLower() < 1.0f - FOV_THRESHOLD);
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java2016 Range<Float> zoomRatioRange = getValueFromKeyNonNull(key); in getZoomRatioRangeChecked() local
2017 if (zoomRatioRange == null) { in getZoomRatioRangeChecked()
2022 zoomRatioRange.getLower()), zoomRatioRange.getLower() <= 1.0); in getZoomRatioRangeChecked()
2024 zoomRatioRange.getUpper()), zoomRatioRange.getUpper() >= 1.0); in getZoomRatioRangeChecked()
2027 zoomRatioRange.getUpper().equals(zoomRatioRange.getLower()) || in getZoomRatioRangeChecked()
2028 zoomRatioRange.getUpper() - zoomRatioRange.getLower() > ZOOM_MIN_RANGE); in getZoomRatioRangeChecked()
2029 return zoomRatioRange; in getZoomRatioRangeChecked()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java4327 Range<Float> zoomRatioRange = staticInfo.getZoomRatioRangeChecked(); in getCandidateZoomRatios() local
4328 zoomRatios.add(zoomRatioRange.getLower()); in getCandidateZoomRatios()
4329 if (zoomRatioRange.contains(1.0f) && in getCandidateZoomRatios()
4330 1.0f - zoomRatioRange.getLower() > ZOOM_RATIO_THRESHOLD && in getCandidateZoomRatios()
4331 zoomRatioRange.getUpper() - 1.0f > ZOOM_RATIO_THRESHOLD) { in getCandidateZoomRatios()
4334 zoomRatios.add(zoomRatioRange.getUpper()); in getCandidateZoomRatios()