Lines Matching defs:mimeType
35 private static void add(String mimeType, int resId) {
36 if (sMimeIcons.put(mimeType, resId) != null) {
37 throw new RuntimeException(mimeType + " already registered!");
220 Context context, String mimeType, String authority, String docId, int mode) {
221 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
235 return loadMimeIcon(context, mimeType);
238 public static Drawable loadMimeIcon(Context context, String mimeType) {
239 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
244 Integer resId = sMimeIcons.get(mimeType);
249 if (mimeType == null) {
255 final String typeOnly = mimeType.split("/")[0];