Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1569 int maxZoom = parameters.getMaxZoom(); in testImmediateZoomByCamera() local
1570 assertTrue(maxZoom >= 0); in testImmediateZoomByCamera()
1574 assertEquals(maxZoom + 1, ratios.size()); in testImmediateZoomByCamera()
1582 for (int i = 0; i <= maxZoom; i++) { in testImmediateZoomByCamera()
1590 parameters.setZoom(maxZoom + 1); in testImmediateZoomByCamera()
1596 assertEquals(maxZoom, mCamera.getParameters().getZoom()); in testImmediateZoomByCamera()
1631 int maxZoom = parameters.getMaxZoom();
1632 parameters.setZoom(maxZoom);
1634 assertEquals(maxZoom, mCamera.getParameters().getZoom());
1649 mCamera.startSmoothZoom(maxZoom);
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java2001 Float maxZoom = getValueFromKeyNonNull(key); in getAvailableMaxDigitalZoomChecked() local
2002 if (maxZoom == null) { in getAvailableMaxDigitalZoomChecked()
2007 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()
2009 return maxZoom; in getAvailableMaxDigitalZoomChecked()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java2763 final float maxZoom = mStaticInfo.getAvailableMaxDigitalZoomChecked();
2765 if (Math.abs(maxZoom - 1.0f) < ZOOM_ERROR_MARGIN) {
2780 if (maxZoom < 2.0f) {
2781 normalizedLeft = 0.5f / maxZoom;
2782 normalizedTop = 0.5f / maxZoom;
2878 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);
2880 maxZoom, defaultCropRegion);
2970 if (maxZoom > 1.0f) {
DLogicalCameraDeviceTest.java652 final float maxZoom = staticInfo.getAvailableMaxDigitalZoomChecked(); in testLogicalCameraZoomSwitch() local
677 zoomCenter, maxZoom, activeArraySize); in testLogicalCameraZoomSwitch()
DCameraExtensionSessionTest.java2528 final float maxZoom; in testZoomRatio() local
2536 maxZoom = zoomRatioRange.getUpper(); in testZoomRatio()
2539 maxZoom = staticMeta.getAvailableMaxDigitalZoomChecked(); in testZoomRatio()
2546 if (Math.abs(maxZoom - 1.0f) < ZOOM_ERROR_MARGIN) { in testZoomRatio()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2987 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument
2999 if (maxZoom < 1.0) { in getCropRegionForZoom()
3000 throw new IllegalArgumentException("max zoom factor " + maxZoom + " should be >= 1.0"); in getCropRegionForZoom()
3009 if (minEffectiveZoom > maxZoom) { in getCropRegionForZoom()
3012 + " zoom factor " + maxZoom); in getCropRegionForZoom()