Home
last modified time | relevance | path

Searched refs:mimeTypes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/content/
DClipData.java620 public ClipData(CharSequence label, String[] mimeTypes, Item item) { in ClipData() argument
621 mClipDescription = new ClipDescription(label, mimeTypes); in ClipData()
714 String[] mimeTypes = null; in newUri() local
717 mimeTypes = resolver.getStreamTypes(uri, "*/*"); in newUri()
718 if (mimeTypes == null) { in newUri()
720 mimeTypes = new String[] { realType, ClipDescription.MIMETYPE_TEXT_URILIST }; in newUri()
723 String[] tmp = new String[mimeTypes.length + (realType != null ? 2 : 1)]; in newUri()
729 System.arraycopy(mimeTypes, 0, tmp, i, mimeTypes.length); in newUri()
730 tmp[i + mimeTypes.length] = ClipDescription.MIMETYPE_TEXT_URILIST; in newUri()
731 mimeTypes = tmp; in newUri()
[all …]
DClipDescription.java71 public ClipDescription(CharSequence label, String[] mimeTypes) { in ClipDescription() argument
72 if (mimeTypes == null) { in ClipDescription()
76 mMimeTypes = mimeTypes; in ClipDescription()
DIntent.java866 String[] mimeTypes; in createChooser() local
868 mimeTypes = new String[] { target.getType() }; in createChooser()
870 mimeTypes = new String[] { }; in createChooser()
872 targetClipData = new ClipData(null, mimeTypes, item); in createChooser()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java185 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { in ClientProxy() argument
187 mMimeTypes = mimeTypes; in ClientProxy()
230 public static void scanFile(Context context, String[] paths, String[] mimeTypes, in scanFile() argument
232 ClientProxy client = new ClientProxy(paths, mimeTypes, callback); in scanFile()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt247 /sdcard/android/layout_tests/fast/js/navigator-mimeTypes-length.html