Home
last modified time | relevance | path

Searched refs:isVideoMimeType (Results 1 – 10 of 10) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMimeUtils.java68 } else if (isVideoMimeType(mimeType)) { in resolveMediaType()
111 public static boolean isVideoMimeType(@Nullable String mimeType) { in isVideoMimeType() method in MimeUtils
274 if (isVideoMimeType(mimeType)) { in getExtensionFromMimeType()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/
DMimeFilterUtils.java20 import static com.android.providers.media.util.MimeUtils.isVideoMimeType;
54 return isImageMimeType(mimeType) || isVideoMimeType(mimeType); in isMimeTypeMedia()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/model/
DVideoMediaQuery.java47 mMimeTypes.removeIf(mimeType -> !MimeUtils.isVideoMimeType(mimeType)); in VideoMediaQuery()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DTabContainerFragment.java18 import static com.android.providers.media.util.MimeUtils.isVideoMimeType;
175 if (isVideoMimeType(mimeTypeFilter)) { in isOnlyVideoMimeTypeFilterAvailable()
/packages/providers/MediaProvider/tools/photopicker-gradle/app/src/main/java/com/android/providers/media/tools/photopicker/
DPhotoPickerToolActivity.java268 if (isVideoMimeType(mimeType)) { in generateItems()
295 private static boolean isVideoMimeType(@Nullable String mimeType) { in isVideoMimeType() method in PhotoPickerToolActivity
/packages/providers/MediaProvider/tools/photopicker/src/com/android/providers/media/tools/photopicker/
DPhotoPickerToolActivity.java343 if (isVideoMimeType(mimeType)) { in generateItems()
350 private static boolean isVideoMimeType(@Nullable String mimeType) { in isVideoMimeType() method in PhotoPickerToolActivity
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java217 } else if (MimeUtils.isVideoMimeType(mMimeType)) { in parseMimeType()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DItemsProviderTest.java30 import static com.android.providers.media.util.MimeUtils.isVideoMimeType;
1268 assertThat(isImageMimeType(mimeType) || isVideoMimeType(mimeType)).isTrue(); in assertThatOnlyImagesVideos()
1284 assertThat(isVideoMimeType(mimeType)).isTrue(); in assertThatOnlyVideos()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java399 || MediaFile.isVideoMimeType(mimeType) || MediaFile.isDocumentMimeType( in queryRecentDocuments()
582 return MediaFile.isImageMimeType(mimeType) || MediaFile.isVideoMimeType(mimeType) in isMediaMimeType()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java1119 if (MimeUtils.isVideoMimeType(mimeType)) { in hideVideosAlbum()