Home
last modified time | relevance | path

Searched refs:mMimeType (Results 1 – 25 of 30) 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/DocumentsUI/src/com/android/documentsui/picker/
DPickResult.java31 private @MetricConsts.Mime int mMimeType; field in PickResult
142 return mMimeType; in getMimeType()
151 this.mMimeType = mimeType; in setMimeType()
202 out.writeInt(mMimeType); in writeToParcel()
221 result.mMimeType = in.readInt();
240 ", mMimeType=" + mMimeType + in toString()
DCreatePickedDocumentTask.java46 private final String mMimeType; field in CreatePickedDocumentTask
64 mMimeType = mimeType; in CreatePickedDocumentTask()
79 Uri childUri = mDocs.createDocument(cwd, mMimeType, mDisplayName); in run()
/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/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java57 private final String mMimeType; field in DataAction
78 mMimeType = item.getMimeType(); in DataAction()
260 return mMimeType; in getMimeType()
327 if (!MoreContactUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) { in shouldCollapseWith()
330 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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java148 public String mMimeType; field in DownloadThread.DownloadInfoDelta
169 mMimeType = info.mMimeType; in DownloadInfoDelta()
183 values.put(Downloads.Impl.COLUMN_MIME_TYPE, mMimeType); in buildContentValues()
354 || DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in run()
563 if (DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in transferData()
565 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); in transferData()
787 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType, in parseOkHeaders()
795 if (mInfoDelta.mMimeType == null) { in parseOkHeaders()
796 mInfoDelta.mMimeType = Intent.normalizeMimeType(conn.getContentType()); in parseOkHeaders()
DDownloadInfo.java71 info.mMimeType = Intent.normalizeMimeType(getString(Downloads.Impl.COLUMN_MIME_TYPE)); in updateFromDatabase()
160 public String mMimeType; field in DownloadInfo
416 pw.printPair("mMimeType", mMimeType); in dump()
DDownloadScanner.java79 requestScanBlocking(context, info.mId, info.mFileName, info.mMimeType); in requestScanBlocking()
/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/UniversalMediaPlayer/java/com/android/pump/db/
DVideo.java26 private final String mMimeType; field in Video
30 mMimeType = mimeType; in Video()
38 return mMimeType; in getMimeType()
DAudio.java26 private final String mMimeType; field in Audio
36 mMimeType = mimeType; in Audio()
44 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/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/DocumentsUI/src/com/android/documentsui/archives/
DArchiveHandle.java72 private final String mMimeType; field in ArchiveHandle
90 mMimeType = mimeType; in ArchiveHandle()
114 return mMimeType; in getMimeType()
/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/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/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/emailcommon/internet/
DRfc822OutputTests.java152 att.mMimeType = "text/calendar"; in testWriteToAlternativePart()
196 att.mMimeType = "text/html"; in testWriteToMixedPart()
/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/provider_src/com/android/email/provider/
DUtilities.java161 att.mMimeType = "text/plain"; in copyOneMessageToProvider()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTest.java259 assertEquals(att.mMimeType, "text/plain"); in testAttachmentRoundTrip()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java217 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()

12