/packages/apps/Mms/src/com/android/mms/model/ |
D | VideoModel.java | 86 mContentType = mimeTypeMap.getMimeTypeFromExtension(extension); in initFromFile() 93 + " mContentType=" + mContentType in initFromFile() 114 mContentType = c.getString(c.getColumnIndexOrThrow( in initFromContentUri() 116 if (TextUtils.isEmpty(mContentType)) { in initFromContentUri() 120 if (mContentType.equals(ContentType.VIDEO_MP4) && !(TextUtils.isEmpty(mSrc))) { in initFromContentUri() 129 mContentType = ContentType.VIDEO_3GPP; in initFromContentUri() 142 + " mContentType=" + mContentType in initFromContentUri() 192 cr.checkVideoContentType(mContentType); in checkContentRestriction()
|
D | AudioModel.java | 74 mContentType = c.getString(c.getColumnIndexOrThrow(Part.CONTENT_TYPE)); in initModelFromUri() 77 mContentType = c.getString(c.getColumnIndexOrThrow( in initModelFromUri() 93 if (TextUtils.isEmpty(mContentType)) { in initModelFromUri() 100 + " mContentType=" + mContentType in initModelFromUri() 153 cr.checkAudioContentType(mContentType); in checkContentRestriction()
|
D | ImageModel.java | 90 mContentType = uriImage.getContentType(); in initModelFromUri() 91 if (TextUtils.isEmpty(mContentType)) { in initModelFromUri() 101 + " mContentType=" + mContentType in initModelFromUri() 138 cr.checkImageContentType(mContentType); in checkContentRestriction() 237 mContentType = new String(part.getContentType()); in resizeMedia()
|
D | MediaModel.java | 49 protected String mContentType; field in MediaModel 70 mContentType = contentType; in MediaModel() 85 mContentType = contentType; in MediaModel() 126 return mContentType; in getContentType()
|
D | SlideshowModel.java | 178 if (ContentType.isVideoType(media.mContentType) in createFromPduBody() 180 || ContentType.isAudioType(media.mContentType) in createFromPduBody()
|
/packages/apps/Email/src/com/android/email/ |
D | AttachmentInfo.java | 71 public final String mContentType; field in AttachmentInfo 96 this(context, info.mId, info.mSize, info.mName, info.mContentType, info.mAccountKey, in AttachmentInfo() 103 mContentType = AttachmentUtilities.inferMimeType(fileName, mimeType); in AttachmentInfo() 119 if ((!MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo() 121 (MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo() 196 intent.setDataAndType(contentUri, mContentType); in getAttachmentIntent() 240 return "{Attachment " + mId + ":" + mName + "," + mContentType + "," + mSize + "}"; in toString()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriImage.java | 49 private final String mContentType; field in UriImage 64 mContentType = contentType; in UriImage() 97 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) { in openOrDownloadInner() 120 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) { in openOrDownloadInner() 212 if (BitmapUtils.isSupportedByRegionDecoder(mContentType)) { in getSupportedOperations() 243 if (mContentType != null) { in getDetails() 244 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); in getDetails() 256 return mContentType; in getMimeType()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | MimeMultipart.java | 32 protected String mContentType; field in MimeMultipart 44 this.mContentType = contentType; in MimeMultipart() 77 return mContentType; in getContentType() 82 mContentType = String.format("multipart/%s; boundary=\"%s\"", subType, mBoundary); in setSubType()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | UriImage.java | 52 private String mContentType; field in UriImage 93 mContentType = mimeTypeMap.getMimeTypeFromExtension(extension); in initFromFile() 137 mContentType = c.getString( in initFromContentUri() 142 mContentType = c.getString( in initFromContentUri() 145 mContentType = c.getString(c.getColumnIndexOrThrow("mimetype")); in initFromContentUri() 199 return mContentType; in getContentType()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
D | Multipart.java | 26 protected String mContentType; field in Multipart 41 return mContentType; in getContentType()
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | MessageTestUtils.java | 108 private final String mContentType; field in MessageTestUtils.MultipartBuilder 127 mContentType = mimeType + "; boundary=" + boundary; in MultipartBuilder() 148 final MimeMultipart mp = new MimeMultipart(mContentType); in build()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ShortcutIntentBuilder.java | 140 protected String mContentType; field in ShortcutIntentBuilder.LoadingAsyncTask 151 mContentType = mContext.getContentResolver().getType(mUri); in doInBackground() 201 createContactShortcutIntent(mUri, mContentType, mDisplayName, mBitmapData); in onPostExecute()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageViewFragmentBase.java | 803 info.mContentType, absolutePath, info.mSize, in performAttachmentSave() 1431 if (attachmentInfo.mContentType.startsWith("audio/") || in updateAttachmentButtons() 1432 attachmentInfo.mContentType.startsWith("video/")) { in updateAttachmentButtons()
|