Home | History | Annotate | Download | only in content

Lines Matching refs:mimeTypes

616      * @param mimeTypes An array of MIME types this data is available as.
619 public ClipData(CharSequence label, String[] mimeTypes, Item item) {
620 mClipDescription = new ClipDescription(label, mimeTypes);
713 String[] mimeTypes = null;
716 mimeTypes = resolver.getStreamTypes(uri, "*/*");
717 if (mimeTypes == null) {
719 mimeTypes = new String[] { realType, ClipDescription.MIMETYPE_TEXT_URILIST };
722 String[] tmp = new String[mimeTypes.length + (realType != null ? 2 : 1)];
728 System.arraycopy(mimeTypes, 0, tmp, i, mimeTypes.length);
729 tmp[i + mimeTypes.length] = ClipDescription.MIMETYPE_TEXT_URILIST;
730 mimeTypes = tmp;
733 if (mimeTypes == null) {
734 mimeTypes = MIMETYPES_TEXT_URILIST;
736 return new ClipData(label, mimeTypes, item);