Home
last modified time | relevance | path

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

/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java197 final String[] mimeTypes; // our own copy of contentMimeTypes. in createEditTextWithContentMimeTypes() local
200 mimeTypes = new String[0]; in createEditTextWithContentMimeTypes()
203 mimeTypes = Arrays.copyOf(contentMimeTypes, contentMimeTypes.length); in createEditTextWithContentMimeTypes()
209 EditorInfoCompat.setContentMimeTypes(editorInfo, mimeTypes); in createEditTextWithContentMimeTypes()
216 inputContentInfo, flags, opts, mimeTypes); in createEditTextWithContentMimeTypes()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DClipboardSample.java131 String[] mimeTypes = clip != null ? clip.getDescription().filterMimeTypes("*/*") : null; in updateClipData() local
132 if (mimeTypes != null) { in updateClipData()
134 for (int i=0; i<mimeTypes.length; i++) { in updateClipData()
138 mMimeTypes.append(mimeTypes[i]); in updateClipData()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java424 Set<String> mimeTypes = new HashSet<String>();
425 mimeTypes.add("image/*");
426 mimeTypes.add("text/*");
427 mimeTypes.add("application/vnd.openxmlformats-officedocument.wordprocessingml.document");
431 for (String mimeType : mimeTypes) {
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java384 String[] mimeTypes = getStreamTypes(uri, mimeTypeFilter); in openTypedAssetFile() local
387 if (mimeTypes != null) { in openTypedAssetFile()
416 openPipeHelper(uri, mimeTypes[0], opts, c, this), 0, in openTypedAssetFile()