Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java625 final float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in testLogicalCameraZoomSwitch() local
626 final int zoomSteps = focalLengths.length; in testLogicalCameraZoomSwitch()
641 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i+1]); in testLogicalCameraZoomSwitch()
649 float zoomFactor = focalLengths[i+1]/focalLengths[i]; in testLogicalCameraZoomSwitch()
655 "length " + focalLengths[i+1] + " to crop region " + requestCropRegion + in testLogicalCameraZoomSwitch()
656 ", focal length " + focalLengths[i]); in testLogicalCameraZoomSwitch()
664 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i]); in testLogicalCameraZoomSwitch()
669 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i+1]); in testLogicalCameraZoomSwitch()
674 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i]); in testLogicalCameraZoomSwitch()
684 float fov = activeArraySize.width()/(2*focalLengths[i+1]); in testLogicalCameraZoomSwitch()
DStillCaptureTest.java636 float[] focalLengths = mStaticInfo.getAvailableFocalLengthsChecked(); in focalLengthTestByCamera() local
637 int numStillCaptures = focalLengths.length; in focalLengthTestByCamera()
663 maxStillSz, resultListener, focalLengths.length, imageListener, false /*isHeic*/); in focalLengthTestByCamera()
665 for(float focalLength : focalLengths) { in focalLengthTestByCamera()
DExtendedCameraCharacteristicsTest.java2341 float[] focalLengths = c.get( in testLogicalCameraCharacteristics() local
2343 for (int j = 0; j < focalLengths.length-1; j++) { in testLogicalCameraCharacteristics()
2345 focalLengths[j] < focalLengths[j+1]); in testLogicalCameraCharacteristics()
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java140 float [] focalLengths = staticMeta.getAvailableFocalLengthsChecked(); in matchParametersToCharacteristics() local
142 for (float focalLength : focalLengths) { in matchParametersToCharacteristics()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java666 float[] focalLengths = getValueFromKeyNonNull(key); in getAvailableFocalLengthsChecked() local
668 checkTrueForKey(key, "Array should contain at least one element", focalLengths.length >= 1); in getAvailableFocalLengthsChecked()
670 for (int i = 0; i < focalLengths.length; i++) { in getAvailableFocalLengthsChecked()
672 String.format("focalLength[%d] %f should be positive.", i, focalLengths[i]), in getAvailableFocalLengthsChecked()
673 focalLengths[i] > 0); in getAvailableFocalLengthsChecked()
675 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked()
677 return focalLengths; in getAvailableFocalLengthsChecked()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2887 float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in validateFocalLength() local
2892 Arrays.asList(CameraTestUtils.toObject(focalLengths)); in validateFocalLength()
3039 float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in verifyJpegExifExtraTags() local
3043 getClosestValueInArray(focalLengths, exifFocalLength), in verifyJpegExifExtraTags()