Searched refs:focalLengths (Results 1 – 6 of 6) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 650 final float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in testLogicalCameraZoomSwitch() local 651 final int zoomSteps = focalLengths.length; in testLogicalCameraZoomSwitch() 666 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i+1]); in testLogicalCameraZoomSwitch() 674 float zoomFactor = focalLengths[i+1]/focalLengths[i]; in testLogicalCameraZoomSwitch() 680 "length " + focalLengths[i+1] + " to crop region " + requestCropRegion + in testLogicalCameraZoomSwitch() 681 ", focal length " + focalLengths[i]); in testLogicalCameraZoomSwitch() 689 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i]); in testLogicalCameraZoomSwitch() 694 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i+1]); in testLogicalCameraZoomSwitch() 699 requestBuilder.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLengths[i]); in testLogicalCameraZoomSwitch() 710 float fov = activeArraySize.width()/(2*focalLengths[i+1]); in testLogicalCameraZoomSwitch()
|
D | StillCaptureTest.java | 733 float[] focalLengths = mStaticInfo.getAvailableFocalLengthsChecked(); in focalLengthTestByCamera() local 734 int numStillCaptures = focalLengths.length; in focalLengthTestByCamera() 760 maxStillSz, resultListener, focalLengths.length, imageListener, false /*isHeic*/); in focalLengthTestByCamera() 762 for(float focalLength : focalLengths) { in focalLengthTestByCamera() 773 if (focalLengths.length > 1) { in focalLengthTestByCamera() 790 if (focalLengths.length > 1) { in focalLengthTestByCamera()
|
D | ExtendedCameraCharacteristicsTest.java | 3035 float[] focalLengths = c.get( in testLogicalCameraCharacteristics() local 3037 for (int j = 0; j < focalLengths.length-1; j++) { in testLogicalCameraCharacteristics() 3039 focalLengths[j] < focalLengths[j+1]); in testLogicalCameraCharacteristics()
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 151 float [] focalLengths = staticMeta.getAvailableFocalLengthsChecked(); in matchParametersToCharacteristics() local 153 for (float focalLength : focalLengths) { in matchParametersToCharacteristics()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 723 float[] focalLengths = getValueFromKeyNonNull(key); in getAvailableFocalLengthsChecked() local 725 checkTrueForKey(key, "Array should contain at least one element", focalLengths.length >= 1); in getAvailableFocalLengthsChecked() 727 for (int i = 0; i < focalLengths.length; i++) { in getAvailableFocalLengthsChecked() 729 String.format("focalLength[%d] %f should be positive.", i, focalLengths[i]), in getAvailableFocalLengthsChecked() 730 focalLengths[i] > 0); in getAvailableFocalLengthsChecked() 732 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked() 734 return focalLengths; in getAvailableFocalLengthsChecked()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 3537 Set<Float> focalLengths = new HashSet<Float>(); in getAvailableFocalLengthsForResult() local 3540 focalLengths.add(focalLength); in getAvailableFocalLengthsForResult() 3562 focalLengths.add(focalLength); in getAvailableFocalLengthsForResult() 3568 return focalLengths; in getAvailableFocalLengthsForResult() 3772 Set<Float> focalLengths = getAvailableFocalLengthsForResult( in verifyJpegExifExtraTags() local 3777 getClosestValueInSet(focalLengths, exifFocalLength), in verifyJpegExifExtraTags() 3781 validateFocalLength(result, focalLengths, collector), in verifyJpegExifExtraTags()
|