Home
last modified time | relevance | path

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

12

/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemData.java38 private final String mMimeType; field in FilmstripItemData
62 mMimeType = mimeType; in FilmstripItemData()
89 return mMimeType; in getMimeType()
159 sb.append(mMimeType); in toString()
186 private String mMimeType = ""; field in FilmstripItemData.Builder
204 mMimeType, in build()
220 builder.mMimeType = data.getMimeType(); in from()
242 mMimeType = mimeType; in withMimeType()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSuppressNotificationReceiver.java45 private String mMimeType; field in SuppressNotificationReceiver
63 mMimeType = account.mimeType; in activate()
65 filter.addDataType(mMimeType); in activate()
67 LogUtils.wtf(LOG_TAG, "Malformed mimetype: %s", mMimeType); in activate()
94 mMimeType = null; in deactivate()
105 return mContext != null && TextUtils.equals(account.mimeType, mMimeType); in notificationsDisabledForAccount()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java145 public String mMimeType; field in DownloadThread.DownloadInfoDelta
166 mMimeType = info.mMimeType; in DownloadInfoDelta()
180 values.put(Downloads.Impl.COLUMN_MIME_TYPE, mMimeType); in buildContentValues()
351 || DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in run()
390 mInfoDelta.mMimeType); in run()
563 if (DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in transferData()
565 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); in transferData()
786 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType, in parseOkHeaders()
794 if (mInfoDelta.mMimeType == null) { in parseOkHeaders()
795 mInfoDelta.mMimeType = Intent.normalizeMimeType(conn.getContentType()); in parseOkHeaders()
DDownloadInfo.java71 info.mMimeType = Intent.normalizeMimeType(getString(Downloads.Impl.COLUMN_MIME_TYPE)); in updateFromDatabase()
157 public String mMimeType; field in DownloadInfo
411 pw.printPair("mMimeType", mMimeType); in dump()
DDownloadScanner.java79 requestScanBlocking(context, info.mId, info.mFileName, info.mMimeType); in requestScanBlocking()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java58 private final String mMimeType; field in DataAction
81 mMimeType = item.getMimeType(); in DataAction()
265 return mMimeType; in getMimeType()
332 if (!MoreContactUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) { in shouldCollapseWith()
335 if (!TextUtils.equals(mMimeType, that.mMimeType) in shouldCollapseWith()
DExpandingEntryCardView.java956 private final String mMimeType; field in ExpandingEntryCardView.EntryContextMenuInfo
964 mMimeType = mimeType; in EntryContextMenuInfo()
978 return mMimeType; in getMimeType()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java58 private String mMimeType; field in SharePopup
112 mMimeType = mContext.getContentResolver().getType(mUri); in SharePopup()
136 if (mMimeType.startsWith("video/")) { in SharePopup()
182 if (mMimeType.startsWith("video/")) { in setOrientation()
240 new Intent(Intent.ACTION_SEND).setType(mMimeType), 0); in createShareMenu()
277 intent.setType(mMimeType); in onItemClick()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DVoicemailPayload.java21 private final String mMimeType; field in VoicemailPayload
25 mMimeType = mimeType; in VoicemailPayload()
34 return mMimeType; in getMimeType()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java273 newAttachment2.mMimeType = "image/jpg"; in testGetType()
278 newAttachment3.mMimeType = "text/plain"; in testGetType()
283 newAttachment4.mMimeType = "application/octet-stream"; in testGetType()
288 newAttachment5.mMimeType = "application/octet-stream"; in testGetType()
293 newAttachment6.mMimeType = ""; in testGetType()
374 newAttachment2.mMimeType = "image/png"; in testOpenFile()
432 newAttachment2.mMimeType = "image/png"; in testOpenThumbnail()
DProviderTestUtils.java243 att.mMimeType = "mimeType " + fileName; in setupAttachment()
436 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType); in assertAttachmentEqual()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DCreatePickedDocumentTask.java45 private final String mMimeType; field in CreatePickedDocumentTask
63 mMimeType = mimeType; in CreatePickedDocumentTask()
78 Uri childUri = mDocs.createDocument(cwd, mMimeType, mDisplayName); in run()
/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/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/provider_src/com/android/email/
DLegacyConversions.java229 localAttachment.mMimeType = AttachmentUtilities.inferMimeType(name, part.getMimeType()); in mimePartToAttachment()
284 !TextUtils.equals(dbAttachment.mMimeType, localAttachment.mMimeType) || in addOneAttachment()
443 final String mimeType = att.mMimeType; in makeMessage()
DAttachmentInfo.java92 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType, in AttachmentInfo()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1356 public String mMimeType; field in EmailContent.Attachment
1546 mMimeType = cursor.getString(CONTENT_MIME_TYPE_COLUMN); in restore()
1567 values.put(AttachmentColumns.MIME_TYPE, mMimeType); in toContentValues()
1595 dest.writeString(mMimeType); in writeToParcel()
1621 mMimeType = in.readString(); in Attachment()
1659 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", " in toString()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java197 attachment.mMimeType = "image/jpg"; in setupSimpleAttachment()
212 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";"); in expectSimpleAttachment()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java432 final String mimeType = TextUtils.isEmpty(attachment.mMimeType) ? in saveAttachment()
434 attachment.mMimeType; in saveAttachment()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java152 att.mMimeType = "text/calendar"; in testWriteToAlternativePart()
196 att.mMimeType = "text/html"; in testWriteToMixedPart()
/packages/apps/Email/provider_src/com/android/email/provider/
DUtilities.java161 att.mMimeType = "text/plain"; in copyOneMessageToProvider()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java1351 if (att.mMimeType != null) { in dump()
1352 pw.print(att.mMimeType); in dump()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTest.java259 assertEquals(att.mMimeType, "text/plain"); in testAttachmentRoundTrip()
DLegacyConversionsTests.java292 assertEquals(tag, expected.getMimeType(), actual.mMimeType); in checkAttachment()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java217 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()

12