Home
last modified time | relevance | path

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

/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
H A DModernMediaScannerTest.java30 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalOrientation;
192 (int) parseOptionalOrientation(ExifInterface.ORIENTATION_NORMAL).get()); in testParseOptionalOrientation()
194 (int) parseOptionalOrientation(ExifInterface.ORIENTATION_ROTATE_90).get()); in testParseOptionalOrientation()
196 (int) parseOptionalOrientation(ExifInterface.ORIENTATION_ROTATE_180).get()); in testParseOptionalOrientation()
198 (int) parseOptionalOrientation(ExifInterface.ORIENTATION_ROTATE_270).get()); in testParseOptionalOrientation()
201 assertFalse(parseOptionalOrientation(ExifInterface.ORIENTATION_TRANSPOSE).isPresent()); in testParseOptionalOrientation()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/scan/
H A DModernMediaScanner.java1374 parseOptionalOrientation(exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in scanItemImage()
1515 static @NonNull Optional<Integer> parseOptionalOrientation(int orientation) { in parseOptionalOrientation() method in ModernMediaScanner