Home
last modified time | relevance | path

Searched refs:focalLengths (Results 1 – 5 of 5) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java602 final float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in testLogicalCameraZoomSwitch() local
603 final int zoomSteps = focalLengths.length; in testLogicalCameraZoomSwitch()
618 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i+1]); in testLogicalCameraZoomSwitch()
626 float zoomFactor = focalLengths[i+1]/focalLengths[i]; in testLogicalCameraZoomSwitch()
632 "length " + focalLengths[i+1] + " to crop region " + requestCropRegion + in testLogicalCameraZoomSwitch()
633 ", focal length " + focalLengths[i]); in testLogicalCameraZoomSwitch()
641 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i]); in testLogicalCameraZoomSwitch()
646 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i+1]); in testLogicalCameraZoomSwitch()
651 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i]); in testLogicalCameraZoomSwitch()
661 float fov = activeArraySize.width()/(2*focalLengths[i+1]); in testLogicalCameraZoomSwitch()
DStillCaptureTest.java600 float[] focalLengths = mStaticInfo.getAvailableFocalLengthsChecked(); in focalLengthTestByCamera() local
601 int numStillCaptures = focalLengths.length; in focalLengthTestByCamera()
627 maxStillSz, resultListener, focalLengths.length, imageListener, false /*isHeic*/); in focalLengthTestByCamera()
629 for(float focalLength : focalLengths) { in focalLengthTestByCamera()
DExtendedCameraCharacteristicsTest.java2161 float[] focalLengths = c.get( in testLogicalCameraCharacteristics() local
2163 for (int i = 0; i < focalLengths.length-1; i++) { in testLogicalCameraCharacteristics()
2165 focalLengths[i] < focalLengths[i+1]); in testLogicalCameraCharacteristics()
2298 float [] focalLengths = staticMeta.getAvailableFocalLengthsChecked(); in matchParametersToCharacteritics() local
2300 for (float focalLength : focalLengths) { in matchParametersToCharacteritics()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java664 float[] focalLengths = getValueFromKeyNonNull(key); in getAvailableFocalLengthsChecked() local
666 checkTrueForKey(key, "Array should contain at least one element", focalLengths.length >= 1); in getAvailableFocalLengthsChecked()
668 for (int i = 0; i < focalLengths.length; i++) { in getAvailableFocalLengthsChecked()
670 String.format("focalLength[%d] %f should be positive.", i, focalLengths[i]), in getAvailableFocalLengthsChecked()
671 focalLengths[i] > 0); in getAvailableFocalLengthsChecked()
673 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked()
675 return focalLengths; in getAvailableFocalLengthsChecked()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2363 float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in validateFocalLength() local
2368 Arrays.asList(CameraTestUtils.toObject(focalLengths)); in validateFocalLength()
2515 float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in verifyJpegExifExtraTags() local
2519 getClosestValueInArray(focalLengths, exifFocalLength), in verifyJpegExifExtraTags()