Searched defs:mimeType (Results 1 - 25 of 108) sorted by last modified time

12345

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemotePlaybackClient.java231 * @param mimeType The mime type of the content, or null if unknown.
245 public void play(Uri contentUri, String mimeType, Bundle metadata, argument
247 playOrEnqueue(contentUri, mimeType, metadata, positionMillis,
265 * @param mimeType The mime type of the content, or null if unknown.
280 public void enqueue(Uri contentUri, String mimeType, Bundle metadata, argument
282 playOrEnqueue(contentUri, mimeType, metadata, positionMillis,
286 private void playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, argument
298 intent.setDataAndType(contentUri, mimeType);
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromium.java616 private static String fixupMimeType(String mimeType) { argument
617 return TextUtils.isEmpty(mimeType) ? "text/html" : mimeType;
637 public void loadData(String data, String mimeType, String encoding) { argument
639 fixupData(data), fixupMimeType(mimeType), isBase64Encoded(encoding)));
643 public void loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, argument
646 mimeType = fixupMimeType(mimeType);
656 data, mimeType, isBase64, baseUrl, historyUrl, isBase64 ? null : encoding);
664 Base64.encodeToString(data.getBytes("utf-8"), Base64.DEFAULT), mimeType,
[all...]
H A DWebViewContentsClientAdapter.java871 String mimeType,
879 mimeType,
868 onDownloadStart(String url, String userAgent, String contentDisposition, String mimeType, long contentLength) argument
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h334 XAchar * mimeType; member in struct:XADataFormat_MIME_
1373 XAchar * mimeType,
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h315 SLchar * mimeType; member in struct:SLDataFormat_MIME_
/frameworks/support/v4/api21/android/support/v4/provider/
H A DDocumentsContractApi21.java31 public static Uri createFile(Context context, Uri self, String mimeType, argument
33 return DocumentsContract.createDocument(context.getContentResolver(), self, mimeType,
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java414 * @param mimeType mimetype of the shared data
418 public IntentBuilder setType(String mimeType) { argument
419 mIntent.setType(mimeType);
/frameworks/support/v4/java/android/support/v4/provider/
H A DDocumentFile.java153 * @param mimeType MIME type of new document, such as {@code image/png} or
164 public abstract DocumentFile createFile(String mimeType, String displayName); argument
H A DRawDocumentFile.java36 public DocumentFile createFile(String mimeType, String displayName) { argument
38 final String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
H A DSingleDocumentFile.java34 public DocumentFile createFile(String mimeType, String displayName) { argument
H A DTreeDocumentFile.java33 public DocumentFile createFile(String mimeType, String displayName) { argument
34 final Uri result = DocumentsContractApi21.createFile(mContext, mUri, mimeType, displayName);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java84 public static boolean isImageMimeType(String mimeType) { argument
85 return mimeType != null && mimeType.startsWith("image/");
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DDrmConvertSession.java44 * @param mimeType Mimetype of content that shall be converted.
47 public static DrmConvertSession open(Context context, String mimeType) { argument
50 if (context != null && mimeType != null && !mimeType.equals("")) {
54 convertSessionId = drmClient.openConvertSession(mimeType);
56 Log.w(TAG, "Conversion of Mimetype: " + mimeType
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardBuilder.java1825 final String mimeType, ContentValues contentValues) {
1826 if (!sAllowedAndroidPropertySet.contains(mimeType)) {
1854 mBuilder.append(mimeType); // Should not be encoded.
1824 appendAndroidSpecificProperty( final String mimeType, ContentValues contentValues) argument
H A DVCardEntry.java1438 public AndroidCustomData(String mimeType, List<String> dataList) { argument
1439 mMimeType = mimeType;
1444 String mimeType;
1448 mimeType = null;
1451 mimeType = list.get(0);
1456 mimeType = list.get(0);
1460 return new AndroidCustomData(mimeType, dataList);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardExporterTests.java1042 private String getAndroidPropValue(final String mimeType, String value, Integer type) { argument
1043 return getAndroidPropValue(mimeType, value, type, null);
1046 private String getAndroidPropValue(final String mimeType, String value, argument
1048 return (mimeType + ";" + value + ";"
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContactEntry.java33 public ContentValuesBuilder addContentValues(String mimeType) { argument
35 contentValues.put(Data.MIMETYPE, mimeType);
H A DContentValuesVerifierElem.java35 public ContentValuesBuilder addExpected(String mimeType) { argument
37 contentValues.put(Data.MIMETYPE, mimeType);
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java105 public void loadData(String data, String mimeType, String encoding) { argument
109 String mimeType, String encoding, String failUrl) {
108 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String failUrl) argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsActivity.java194 final String mimeType = getIntent().getType();
196 SaveFragment.show(getFragmentManager(), mimeType, title);
1038 public void onSaveRequested(String mimeType, String displayName) { argument
1039 new CreateFinishTask(mimeType, displayName).executeOnExecutor(getCurrentExecutor());
1105 public CreateFinishTask(String mimeType, String displayName) { argument
1106 mMimeType = mimeType;
H A DIconUtils.java35 private static void add(String mimeType, int resId) { argument
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) { argument
239 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
244 Integer resId = sMimeIcons.get(mimeType);
249 if (mimeType
219 loadMimeIcon( Context context, String mimeType, String authority, String docId, int mode) argument
[all...]
H A DSaveFragment.java51 public static void show(FragmentManager fm, String mimeType, String displayName) { argument
53 args.putString(EXTRA_MIME_TYPE, mimeType);
120 final String mimeType = getArguments().getString(EXTRA_MIME_TYPE);
122 activity.onSaveRequested(mimeType, displayName);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentInfo.java58 public String mimeType; field in class:DocumentInfo
77 mimeType = null;
97 mimeType = DurableUtils.readNullableString(in);
116 DurableUtils.writeNullableString(out, mimeType);
163 this.mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE);
165 this.mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE);
227 return Document.MIME_TYPE_DIR.equals(mimeType);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java265 final String mimeType = getTypeForFile(file);
266 if (mimeType.startsWith("image/")) {
274 row.add(Document.COLUMN_MIME_TYPE, mimeType);
316 public String createDocument(String docId, String mimeType, String displayName) argument
325 final File file = buildUniqueFile(parent, mimeType, displayName);
326 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
352 public static File buildUniqueFile(File parent, String mimeType, String displayName) argument
357 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
381 mimeType);
382 if (Objects.equals(mimeType, mimeTypeFromEx
[all...]
H A DTestDocumentsProvider.java156 public String createDocument(String parentDocumentId, String mimeType, String displayName) argument
160 return super.createDocument(parentDocumentId, mimeType, displayName);

Completed in 1505 milliseconds

12345