Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java30 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalOrientation;
178 (int) parseOptionalOrientation(ExifInterface.ORIENTATION_NORMAL).get()); in testParseOptionalOrientation()
180 (int) parseOptionalOrientation(ExifInterface.ORIENTATION_ROTATE_90).get()); in testParseOptionalOrientation()
182 (int) parseOptionalOrientation(ExifInterface.ORIENTATION_ROTATE_180).get()); in testParseOptionalOrientation()
184 (int) parseOptionalOrientation(ExifInterface.ORIENTATION_ROTATE_270).get()); in testParseOptionalOrientation()
187 assertFalse(parseOptionalOrientation(ExifInterface.ORIENTATION_TRANSPOSE).isPresent()); in testParseOptionalOrientation()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java1103 parseOptionalOrientation(exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in scanItemImage()
1244 static @NonNull Optional<Integer> parseOptionalOrientation(int orientation) { in parseOptionalOrientation() method in ModernMediaScanner