Home
last modified time | relevance | path

Searched refs:maxZoom (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java1360 int maxZoom = parameters.getMaxZoom(); in testImmediateZoomByCamera() local
1361 assertTrue(maxZoom >= 0); in testImmediateZoomByCamera()
1365 assertEquals(maxZoom + 1, ratios.size()); in testImmediateZoomByCamera()
1373 for (int i = 0; i <= maxZoom; i++) { in testImmediateZoomByCamera()
1381 parameters.setZoom(maxZoom + 1); in testImmediateZoomByCamera()
1387 assertEquals(maxZoom, mCamera.getParameters().getZoom()); in testImmediateZoomByCamera()
1422 int maxZoom = parameters.getMaxZoom();
1423 parameters.setZoom(maxZoom);
1425 assertEquals(maxZoom, mCamera.getParameters().getZoom());
1440 mCamera.startSmoothZoom(maxZoom);
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1670 Float maxZoom = getValueFromKeyNonNull(key); in getAvailableMaxDigitalZoomChecked() local
1671 if (maxZoom == null) { in getAvailableMaxDigitalZoomChecked()
1676 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()
1678 return maxZoom; in getAvailableMaxDigitalZoomChecked()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java1498 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument
1510 if (maxZoom < 1.0) { in getCropRegionForZoom()
1511 throw new IllegalArgumentException("max zoom factor " + maxZoom + " should be >= 1.0"); in getCropRegionForZoom()
1520 if (minEffectiveZoom > maxZoom) { in getCropRegionForZoom()
1523 + " zoom factor " + maxZoom); in getCropRegionForZoom()
DCaptureRequestTest.java1780 final float maxZoom = mStaticInfo.getAvailableMaxDigitalZoomChecked();
1826 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);
1827 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);
1894 if (maxZoom > 1.0f) {