Searched refs:mMimeType (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Browser/src/com/android/browser/
H A DDataUri.java33 private String mMimeType; field in class:DataUri
53 mMimeType = contentType.substring(0, semiIndex);
55 mMimeType = contentType;
68 return mMimeType;
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DDownloadItem.java40 private String mMimeType; field in class:DownloadItem
75 mMimeType = mimeType;
127 mFileName, mMimeType);
145 return mMimeType;
H A DDownloadList.java93 private String mMimeType; field in class:DownloadList.SelectionObjAttrs
96 mMimeType = mimeType;
102 return mMimeType;
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java54 private final String mMimeType; field in class:DataAction
75 mMimeType = mimeType;
264 return mMimeType;
329 if (!ContactsUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) {
332 if (!TextUtils.equals(mMimeType, that.mMimeType)
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DBaseImage.java49 protected String mMimeType; field in class:BaseImage
67 mMimeType = mimeType;
133 return mMimeType;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DInstallWidgetReceiver.java77 private String mMimeType; field in class:InstallWidgetReceiver.WidgetListAdapter
88 mMimeType = mimeType;
189 final PendingAddWidgetInfo createInfo = new PendingAddWidgetInfo(widgetInfo, mMimeType,
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSharePopup.java58 private String mMimeType; field in class:SharePopup
112 mMimeType = mContext.getContentResolver().getType(mUri);
136 if (mMimeType.startsWith("video/")) {
182 if (mMimeType.startsWith("video/")) {
240 new Intent(Intent.ACTION_SEND).setType(mMimeType), 0);
277 intent.setType(mMimeType);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadThread.java90 public String mMimeType; field in class:DownloadThread.State
105 mMimeType = Intent.normalizeMimeType(info.mMimeType);
213 state.mNewUri, state.mMimeType, errorMsg);
436 if (!DownloadDrmHelper.isDrmConvertNeeded(mInfo.mMimeType)) {
553 if (DownloadDrmHelper.isDrmConvertNeeded(state.mMimeType)) {
554 mDrmConvertSession = DrmConvertSession.open(mContext, state.mMimeType);
557 + state.mMimeType + " can not be converted.");
567 state.mMimeType,
597 if (state.mMimeType !
[all...]
H A DDownloadInfo.java71 info.mMimeType = getString(Downloads.Impl.COLUMN_MIME_TYPE);
201 public String mMimeType; field in class:DownloadInfo
503 pw.printPair("mMimeType", mMimeType);
H A DDownloadService.java523 mMediaScannerService.requestScanFile(info.mFileName, info.mMimeType,
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DSmtpSenderUnitTests.java195 attachment.mMimeType = "image/jpg";
210 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";");
/packages/apps/Email/tests/src/com/android/email/provider/
H A DAttachmentProviderTests.java285 newAttachment2.mMimeType = "image/jpg";
290 newAttachment3.mMimeType = "text/plain";
295 newAttachment4.mMimeType = "application/octet-stream";
300 newAttachment5.mMimeType = "application/octet-stream";
305 newAttachment6.mMimeType = "";
387 newAttachment2.mMimeType = "image/png";
446 newAttachment2.mMimeType = "image/png";
H A DProviderTestUtils.java254 att.mMimeType = "mimeType " + fileName;
443 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType);
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java315 assertEquals("text/calendar; method=REPLY", att.mMimeType);
357 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
419 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
485 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
567 assertEquals("text/calendar; method=CANCEL", att.mMimeType);
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java315 assertEquals("text/calendar; method=REPLY", att.mMimeType);
357 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
419 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
485 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
567 assertEquals("text/calendar; method=CANCEL", att.mMimeType);
/packages/apps/Email/src/com/android/email/
H A DLegacyConversions.java216 localAttachment.mMimeType = part.getMimeType();
231 // mFileName, mMimeType, mContentId, mMessageKey, mLocation
245 if (stringNotEqual(dbAttachment.mMimeType, localAttachment.mMimeType)) continue;
H A DAttachmentInfo.java85 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType,
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DEmailContent.java1130 public String mMimeType; field in class:EmailContent.Attachment
1281 mMimeType = cursor.getString(CONTENT_MIME_TYPE_COLUMN);
1301 values.put(AttachmentColumns.MIME_TYPE, mMimeType);
1328 dest.writeString(mMimeType);
1353 mMimeType = in.readString();
1390 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", "
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
H A DRfc822OutputTests.java251 att.mMimeType = "text/calendar";
295 att.mMimeType = "text/html";
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DAttachmentUtilities.java413 attachment.mMimeType, absolutePath, size,
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DVideoEditorProject.java86 private final String mMimeType; field in class:VideoEditorProject.Download
100 mMimeType = mimeType;
116 return mMimeType;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DRfc822Output.java284 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\"");
/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java991 if (att.mMimeType != null) {
992 pw.print(att.mMimeType);
/packages/apps/Email/tests/src/com/android/email/
H A DLegacyConversionsTests.java421 assertEquals(tag, expected.getMimeType(), actual.mMimeType);
/packages/apps/Email/src/com/android/email/activity/
H A DMessageCompose.java1607 attachment.mMimeType = AttachmentUtilities.inferMimeTypeForUri(this, uri);
1675 final String mimeType = attachment.mMimeType;

Completed in 2340 milliseconds

12