Lines Matching defs:mimeType
32 private static void add(String mimeType, int resId) {
33 if (sMimeIcons.put(mimeType, resId) != null) {
34 throw new RuntimeException(mimeType + " already registered!");
217 Context context, String mimeType, String authority, String docId, int mode) {
218 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
232 return loadMimeIcon(context, mimeType);
235 public static Drawable loadMimeIcon(Context context, String mimeType) {
236 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
241 Integer resId = sMimeIcons.get(mimeType);
246 if (mimeType == null) {
252 final String typeOnly = mimeType.split("/")[0];