Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMimeUtils.java70 } else if (isImageMimeType(mimeType)) { in resolveMediaType()
126 public static boolean isImageMimeType(@Nullable String mimeType) { in isImageMimeType() method in MimeUtils
271 if (isImageMimeType(mimeType)) { in getExtensionFromMimeType()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/
DMimeFilterUtils.java19 import static com.android.providers.media.util.MimeUtils.isImageMimeType;
54 return isImageMimeType(mimeType) || isVideoMimeType(mimeType); in isMimeTypeMedia()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java164 public static boolean isImageMimeType(String mimeType) { in isImageMimeType() method in ImageManager
181 return isImageMimeType(image.getMimeType()); in isImage()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java215 if (MimeUtils.isImageMimeType(mMimeType)) { in parseMimeType()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DItemsProviderTest.java29 import static com.android.providers.media.util.MimeUtils.isImageMimeType;
1268 assertThat(isImageMimeType(mimeType) || isVideoMimeType(mimeType)).isTrue(); in assertThatOnlyImagesVideos()
1276 assertThat(isImageMimeType(mimeType)).isTrue(); in assertThatOnlyImages()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java398 if (mimeType == null || (MediaFile.isImageMimeType(mimeType) in queryRecentDocuments()
582 return MediaFile.isImageMimeType(mimeType) || MediaFile.isVideoMimeType(mimeType) in isMediaMimeType()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java10196 if (MimeUtils.isImageMimeType(mimeType)) {