Home
last modified time | relevance | path

Searched refs:isImageMimeType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaFileTest.java22 import static android.media.MediaFile.isImageMimeType;
72 assertTrue(isImageMimeType("image/jpeg")); in testImage()
73 assertTrue(isImageMimeType("image/heif")); in testImage()
74 assertTrue(isImageMimeType("image/webp")); in testImage()
75 assertFalse(isImageMimeType("video/webm")); in testImage()
/frameworks/base/media/java/android/media/
DMediaFile.java205 return isImageMimeType(mimeType); in isExifMimeType()
216 public static boolean isImageMimeType(@Nullable String mimeType) { in isImageMimeType() method in MediaFile
DMediaScanner.java673 boolean isimage = MediaFile.isImageMimeType(mMimeType);
947 } else if (MediaFile.isImageMimeType(mMimeType)) {
1071 } else if (MediaFile.isImageMimeType(mMimeType)) {
1582 !MediaFile.isImageMimeType(mimeType) && !MediaFile.isPlayListMimeType(mimeType) &&
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java84 public static boolean isImageMimeType(String mimeType) { in isImageMimeType() method in ImageUtils