Searched refs:MediaFile (Results 1 – 10 of 10) sorted by relevance
19 import static android.media.MediaFile.getFormatCode;20 import static android.media.MediaFile.getMimeType;21 import static android.media.MediaFile.isAudioMimeType;22 import static android.media.MediaFile.isImageMimeType;23 import static android.media.MediaFile.isPlayListMimeType;24 import static android.media.MediaFile.isVideoMimeType;
564 mMimeType = MediaFile.getMimeTypeForFile(path); in beginFile()567 if (isDrmEnabled() && MediaFile.isDrmMimeType(mMimeType)) { in beginFile()587 if (mProcessPlaylists && MediaFile.isPlayListMimeType(mMimeType)) { in beginFile()671 boolean isaudio = MediaFile.isAudioMimeType(mMimeType);672 boolean isvideo = MediaFile.isVideoMimeType(mMimeType);673 boolean isimage = MediaFile.isImageMimeType(mMimeType);926 if (MediaFile.isVideoMimeType(mMimeType)) {947 } else if (MediaFile.isImageMimeType(mMimeType)) {949 } else if (MediaFile.isAudioMimeType(mMimeType)) {983 title = MediaFile.getFileTitle(values.getAsString(MediaStore.MediaColumns.DATA));[all …]
247 final String mimeType = MediaFile.getMimeTypeForFile(file.getName()); in createImageThumbnail()253 if (MediaFile.isExifMimeType(mimeType)) { in createImageThumbnail()
41 public class MediaFile { class
32 import android.media.MediaFile;854 return MediaFile.getMimeType(info.getName(), info.getFormat()); in getMimeType()
31 import android.media.MediaFile;435 MediaFile.getFormatCode(displayName, mimeType); in createDocument()
19 import android.media.MediaFile;182 return mIsDir ? MtpConstants.FORMAT_ASSOCIATION : MediaFile.getFormatCode(mName, null); in getFormat()
20 import android.media.MediaFile;21 import android.media.MediaFile.MediaFileType;
49 import android.media.MediaFile;1729 final String mimeType = MediaFile.getMimeTypeForFile(imagePath); in insertImage()
237 Landroid/media/MediaFile;-><init>()V