Home
last modified time | relevance | path

Searched refs:mMimeType (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Browser/src/com/android/browser/
DDataUri.java33 private String mMimeType; field in DataUri
53 mMimeType = contentType.substring(0, semiIndex); in DataUri()
55 mMimeType = contentType; in DataUri()
68 return mMimeType; in getMimeType()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadItem.java39 private String mMimeType; field in DownloadItem
74 mMimeType = mimeType; in setData()
126 mFileName, mMimeType); in setChecked()
144 return mMimeType; in getMimeType()
DDownloadList.java94 private String mMimeType; field in DownloadList.SelectionObjAttrs
97 mMimeType = mimeType; in SelectionObjAttrs()
103 return mMimeType; in getMimeType()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java54 private final String mMimeType; field in DataAction
73 mMimeType = mimeType; in DataAction()
267 return mMimeType; in getMimeType()
332 if (!ContactsUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) { in shouldCollapseWith()
335 if (!TextUtils.equals(mMimeType, that.mMimeType) in shouldCollapseWith()
/packages/apps/Camera/src/com/android/camera/ui/
DSharePopup.java58 private String mMimeType; field in SharePopup
110 mMimeType = mContext.getContentResolver().getType(mUri); in SharePopup()
131 if (mMimeType.startsWith("video/")) { in SharePopup()
211 if (mMimeType.startsWith("video/")) { in setOrientation()
271 new Intent(Intent.ACTION_SEND).setType(mMimeType), 0); in createShareMenu()
298 intent.setType(mMimeType); in onItemClick()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImage.java49 protected String mMimeType; field in BaseImage
67 mMimeType = mimeType; in BaseImage()
133 return mMimeType; in getMimeType()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java91 public String mMimeType; field in DownloadThread.State
106 mMimeType = sanitizeMimeType(info.mMimeType); in State()
214 state.mNewUri, state.mMimeType, errorMsg); in run()
438 if (!DownloadDrmHelper.isDrmConvertNeeded(mInfo.mMimeType)) { in writeDataToDestination()
555 if (DownloadDrmHelper.isDrmConvertNeeded(state.mMimeType)) { in processResponseHeaders()
556 mDrmConvertSession = DrmConvertSession.open(mContext, state.mMimeType); in processResponseHeaders()
559 + state.mMimeType + " can not be converted."); in processResponseHeaders()
569 state.mMimeType, in processResponseHeaders()
599 if (state.mMimeType != null) { in updateDatabaseFromHeaders()
600 values.put(Downloads.Impl.COLUMN_MIME_TYPE, state.mMimeType); in updateDatabaseFromHeaders()
[all …]
DDownloadInfo.java69 info.mMimeType = getString(Downloads.Impl.COLUMN_MIME_TYPE); in updateFromDatabase()
198 public String mMimeType; field in DownloadInfo
491 writer.print(" mMimeType="); writer.print(mMimeType); in dump()
DDownloadService.java514 mMediaScannerService.requestScanFile(info.mFileName, info.mMimeType, in scanFile()
/packages/apps/Launcher2/src/com/android/launcher2/
DInstallWidgetReceiver.java77 private String mMimeType; field in InstallWidgetReceiver.WidgetListAdapter
88 mMimeType = mimeType; in WidgetListAdapter()
189 final PendingAddWidgetInfo createInfo = new PendingAddWidgetInfo(widgetInfo, mMimeType, in onClick()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java285 newAttachment2.mMimeType = "image/jpg"; in testGetType()
290 newAttachment3.mMimeType = "text/plain"; in testGetType()
295 newAttachment4.mMimeType = "application/octet-stream"; in testGetType()
300 newAttachment5.mMimeType = "application/octet-stream"; in testGetType()
305 newAttachment6.mMimeType = ""; in testGetType()
387 newAttachment2.mMimeType = "image/png"; in testOpenFile()
446 newAttachment2.mMimeType = "image/png"; in testOpenThumbnail()
DProviderTestUtils.java254 att.mMimeType = "mimeType " + fileName; in setupAttachment()
443 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType); in assertAttachmentEqual()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java195 attachment.mMimeType = "image/jpg"; in setupSimpleAttachment()
210 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";"); in expectSimpleAttachment()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java216 localAttachment.mMimeType = part.getMimeType(); in addOneAttachment()
245 if (stringNotEqual(dbAttachment.mMimeType, localAttachment.mMimeType)) continue; in addOneAttachment()
DAttachmentInfo.java85 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType, in AttachmentInfo()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1038 public String mMimeType; field in EmailContent.Attachment
1182 mMimeType = cursor.getString(CONTENT_MIME_TYPE_COLUMN); in restore()
1199 values.put(AttachmentColumns.MIME_TYPE, mMimeType); in toContentValues()
1223 dest.writeString(mMimeType); in writeToParcel()
1245 mMimeType = in.readString(); in Attachment()
1279 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", " in toString()
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java297 assertEquals("text/calendar; method=REPLY", att.mMimeType); in testCreateMessageForEntity_Reply()
339 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite_AllDay()
401 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite()
467 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Recurring()
549 assertEquals("text/calendar; method=CANCEL", att.mMimeType); in testCreateMessageForEntity_Exception_Cancel()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java251 att.mMimeType = "text/calendar"; in testWriteToAlternativePart()
295 att.mMimeType = "text/html"; in testWriteToMixedPart()
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DVideoEditorProject.java86 private final String mMimeType; field in VideoEditorProject.Download
100 mMimeType = mimeType; in Download()
116 return mMimeType; in getMimeType()
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java980 if (att.mMimeType != null) { in dump()
981 pw.print(att.mMimeType); in dump()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java284 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java421 assertEquals(tag, expected.getMimeType(), actual.mMimeType); in checkAttachment()
/packages/apps/Email/src/com/android/email/activity/
DMessageCompose.java1571 attachment.mMimeType = AttachmentUtilities.inferMimeTypeForUri(this, uri); in loadAttachmentInfo()
1639 final String mimeType = attachment.mMimeType; in addAttachmentFromSendIntent()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java2496 long mMimeType; in upgradeStructuredNamesToVersion205() local
2498 mMimeType = DatabaseUtils.longForQuery(db, in upgradeStructuredNamesToVersion205()
2520 DataColumns.MIMETYPE_ID + "=" + mMimeType, null, null, null, null); in upgradeStructuredNamesToVersion205()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncAdapter.java798 att.mMimeType = getMimeTypeFromFileName(fileName);

12