Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DStaticMetadata.java582 float[] focalLengths = getValueFromKeyNonNull(key); in getAvailableFocalLengthsChecked() local
584 checkTrueForKey(key, "Array should contain at least one element", focalLengths.length >= 1); in getAvailableFocalLengthsChecked()
586 for (int i = 0; i < focalLengths.length; i++) { in getAvailableFocalLengthsChecked()
588 String.format("focalLength[%d] %f should be positive.", i, focalLengths[i]), in getAvailableFocalLengthsChecked()
589 focalLengths[i] > 0); in getAvailableFocalLengthsChecked()
591 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked()
593 return focalLengths; in getAvailableFocalLengthsChecked()
H A DCameraTestUtils.java1938 float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in validateFocalLength() local
1943 Arrays.asList(CameraTestUtils.toObject(focalLengths)); in validateFocalLength()
2087 float[] focalLengths = staticInfo.getAvailableFocalLengthsChecked(); in verifyJpegExifExtraTags() local
2090 getClosestValueInArray(focalLengths, exifFocalLength), in verifyJpegExifExtraTags()