HomeSort by relevance Sort by last modified time
    Searched refs:MediaFileType (Results 1 - 3 of 3) sorted by null

  /frameworks/base/media/java/android/media/
MediaFile.java 113 public static class MediaFileType {
117 MediaFileType(int fileType, String mimeType) {
123 private static HashMap<String, MediaFileType> sFileTypeMap
124 = new HashMap<String, MediaFileType>();
138 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType));
276 public static MediaFileType getFileType(String path) {
313 MediaFileType mediaFileType = getFileType(path);
314 return (mediaFileType == null ? null : mediaFileType.mimeType)
    [all...]
ThumbnailUtils.java 29 import android.media.MediaFile.MediaFileType;
100 MediaFileType fileType = MediaFile.getFileType(filePath);
MediaScanner.java 459 MediaFile.MediaFileType mediaFileType = MediaFile.getFileType(path);
460 if (mediaFileType != null) {
461 mFileType = mediaFileType.fileType;
463 mMimeType = mediaFileType.mimeType;
    [all...]

Completed in 23 milliseconds