Searched refs:focalLengths (Results 1 – 5 of 5) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 603 final float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in testLogicalCameraZoomSwitch() local 604 final int zoomSteps = focalLengths.length; in testLogicalCameraZoomSwitch() 619 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i+1]); in testLogicalCameraZoomSwitch() 627 float zoomFactor = focalLengths[i+1]/focalLengths[i]; in testLogicalCameraZoomSwitch() 633 "length " + focalLengths[i+1] + " to crop region " + requestCropRegion + in testLogicalCameraZoomSwitch() 634 ", focal length " + focalLengths[i]); in testLogicalCameraZoomSwitch() 642 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i]); in testLogicalCameraZoomSwitch() 647 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i+1]); in testLogicalCameraZoomSwitch() 652 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i]); in testLogicalCameraZoomSwitch() 662 float fov = activeArraySize.width()/(2*focalLengths[i+1]); in testLogicalCameraZoomSwitch()
|
D | StillCaptureTest.java | 633 float[] focalLengths = mStaticInfo.getAvailableFocalLengthsChecked(); in focalLengthTestByCamera() local 634 int numStillCaptures = focalLengths.length; in focalLengthTestByCamera() 660 maxStillSz, resultListener, focalLengths.length, imageListener, false /*isHeic*/); in focalLengthTestByCamera() 662 for(float focalLength : focalLengths) { in focalLengthTestByCamera()
|
D | ExtendedCameraCharacteristicsTest.java | 2148 float[] focalLengths = c.get( in testLogicalCameraCharacteristics() local 2150 for (int j = 0; j < focalLengths.length-1; j++) { in testLogicalCameraCharacteristics() 2152 focalLengths[j] < focalLengths[j+1]); in testLogicalCameraCharacteristics() 2283 float [] focalLengths = staticMeta.getAvailableFocalLengthsChecked(); in matchParametersToCharacteritics() local 2285 for (float focalLength : focalLengths) { in matchParametersToCharacteritics()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 664 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/ |
D | CameraTestUtils.java | 2363 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()
|