Searched refs:mMimeType (Results 1 - 25 of 30) 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/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSuppressNotificationReceiver.java45 private String mMimeType; field in class:SuppressNotificationReceiver
63 mMimeType = account.mimeType;
65 filter.addDataType(mMimeType);
67 LogUtils.wtf(LOG_TAG, "Malformed mimetype: %s", mMimeType);
94 mMimeType = null;
105 return mContext != null && TextUtils.equals(account.mimeType, mMimeType);
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java58 private final String mMimeType; field in class:DataAction
81 mMimeType = item.getMimeType();
261 return mMimeType;
328 if (!MoreContactUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) {
331 if (!TextUtils.equals(mMimeType, that.mMimeType)
H A DExpandingEntryCardView.java927 private final String mMimeType; field in class:ExpandingEntryCardView.EntryContextMenuInfo
935 mMimeType = mimeType;
949 return 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.java125 public String mMimeType; field in class:DownloadThread.DownloadInfoDelta
138 mMimeType = info.mMimeType;
152 values.put(Downloads.Impl.COLUMN_MIME_TYPE, mMimeType);
299 || DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) {
473 if (DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) {
475 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType);
739 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType,
747 if (mInfoDelta.mMimeType == null) {
748 mInfoDelta.mMimeType
[all...]
H A DDownloadScanner.java104 final ScanRequest req = new ScanRequest(info.mId, info.mFileName, info.mMimeType);
H A DDownloadInfo.java79 info.mMimeType = Intent.normalizeMimeType(getString(Downloads.Impl.COLUMN_MIME_TYPE));
214 public String mMimeType; field in class:DownloadInfo
538 pw.printPair("mMimeType", mMimeType);
/packages/apps/Camera2/src/com/android/camera/data/
H A DLocalMediaData.java62 protected final String mMimeType; field in class:LocalMediaData
90 mMimeType = mimeType;
206 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0)
274 return mMimeType;
442 return "Photo:" + ",data=" + mPath + ",mimeType=" + mMimeType
581 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, mOrientation)
752 return "Video:" + ",data=" + mPath + ",mimeType=" + mMimeType
824 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0)
828 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0)
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DSmtpSenderUnitTests.java197 attachment.mMimeType = "image/jpg";
212 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";");
/packages/apps/Email/tests/src/com/android/email/provider/
H A DAttachmentProviderTests.java273 newAttachment2.mMimeType = "image/jpg";
278 newAttachment3.mMimeType = "text/plain";
283 newAttachment4.mMimeType = "application/octet-stream";
288 newAttachment5.mMimeType = "application/octet-stream";
293 newAttachment6.mMimeType = "";
374 newAttachment2.mMimeType = "image/png";
432 newAttachment2.mMimeType = "image/png";
H A DProviderTestUtils.java243 att.mMimeType = "mimeType " + fileName;
436 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType);
/packages/apps/Email/provider_src/com/android/email/
H A DLegacyConversions.java229 localAttachment.mMimeType = AttachmentUtilities.inferMimeType(name, part.getMimeType());
270 // mFileName, mMimeType, mContentId, mMessageKey, mLocation
284 !TextUtils.equals(dbAttachment.mMimeType, localAttachment.mMimeType) ||
443 final String mimeType = att.mMimeType;
H A DAttachmentInfo.java92 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType,
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DAttachmentUtilities.java432 final String mimeType = TextUtils.isEmpty(attachment.mMimeType) ?
434 attachment.mMimeType;
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
H A DRfc822OutputTests.java152 att.mMimeType = "text/calendar";
196 att.mMimeType = "text/html";
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java337 assertEquals("text/calendar; method=REPLY", att.mMimeType);
379 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
441 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
507 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
589 assertEquals("text/calendar; method=CANCEL", att.mMimeType);
/packages/apps/Email/provider_src/com/android/email/provider/
H A DUtilities.java161 att.mMimeType = "text/plain";
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DEmailContent.java1356 public String mMimeType; field in class:EmailContent.Attachment
1546 mMimeType = cursor.getString(CONTENT_MIME_TYPE_COLUMN);
1567 values.put(AttachmentColumns.MIME_TYPE, mMimeType);
1595 dest.writeString(mMimeType);
1621 mMimeType = in.readString();
1659 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", "
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DRfc822Output.java217 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\"");
/packages/apps/Email/tests/src/com/android/email/
H A DLegacyConversionsTest.java259 assertEquals(att.mMimeType, "text/plain");
H A DLegacyConversionsTests.java292 assertEquals(tag, expected.getMimeType(), actual.mMimeType);
/packages/apps/Email/provider_src/com/android/email/service/
H A DAttachmentService.java1351 if (att.mMimeType != null) {
1352 pw.print(att.mMimeType);

Completed in 566 milliseconds

12