Searched defs:mContentType (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A DMultipart.java25 protected String mContentType; field in class:Multipart
40 return mContentType;
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DMultipart.java26 protected String mContentType; field in class:Multipart
41 return mContentType;
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
H A DMimeMultipart.java30 protected String mContentType; field in class:MimeMultipart
42 this.mContentType = contentType;
77 return mContentType;
82 mContentType = String.format("multipart/%s; boundary=\"%s\"", subType, mBoundary);
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
H A DSyncMessage.java42 private final String mContentType; field in class:SyncMessage
58 + ", mContentType="
59 + mContentType
71 mContentType = getString(wrappedData, OmtpConstants.CONTENT_TYPE);
115 return mContentType;
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DMimeMultipart.java32 protected String mContentType; field in class:MimeMultipart
44 this.mContentType = contentType;
77 return mContentType;
82 mContentType = String.format("multipart/%s; boundary=\"%s\"", subType, mBoundary);
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DMessageTestUtils.java108 private final String mContentType; field in class:MessageTestUtils.MultipartBuilder
127 mContentType = mimeType + "; boundary=" + boundary;
148 final MimeMultipart mp = new MimeMultipart(mContentType);
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DGalleryGridItemData.java60 private String mContentType; field in class:GalleryGridItemData
72 mContentType = null;
85 mContentType = cursor.getString(INDEX_MIME_TYPE);
114 return new MediaPickerMessagePartData(startRect, mContentType,
126 return mContentType;
H A DMessagePartData.java93 private String mContentType; field in class:MessagePartData
149 mContentType = contentType;
230 mContentType = cursor.getString(INDEX_CONTENT_TYPE);
241 values.put(PartColumns.CONTENT_TYPE, mContentType);
266 if (mContentType != null) {
267 insert.bindString(INDEX_CONTENT_TYPE, mContentType);
296 return ContentType.isTextType(mContentType);
300 return ContentType.isImageType(mContentType);
304 return ContentType.isMediaType(mContentType);
308 return ContentType.isVCardType(mContentType);
[all...]
/packages/apps/Email/provider_src/com/android/email/
H A DAttachmentInfo.java78 public final String mContentType; field in class:AttachmentInfo
103 this(context, info.mId, info.mSize, info.mName, info.mContentType, info.mAccountKey,
110 mContentType = AttachmentUtilities.inferMimeType(fileName, mimeType);
126 if ((!MimeUtility.mimeTypeMatches(mContentType,
128 (MimeUtility.mimeTypeMatches(mContentType,
203 intent.setDataAndType(contentUri, mContentType);
247 return "{Attachment " + mId + ":" + mName + "," + mContentType + "," + mSize + "}";
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DUriImage.java50 private final String mContentType; field in class:UriImage
66 mContentType = contentType;
99 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) {
122 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) {
216 if (BitmapUtils.isSupportedByRegionDecoder(mContentType)) {
257 if (mContentType != null) {
258 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType);
270 return mContentType;
/packages/apps/Contacts/src/com/android/contacts/
H A DShortcutIntentBuilder.java155 protected String mContentType; field in class:ShortcutIntentBuilder.LoadingAsyncTask
167 mContentType = mContext.getContentResolver().getType(mUri);
218 createContactShortcutIntent(mUri, mContentType, mDisplayName, mLookupKey, mBitmapData);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessageMime.java37 public String mContentType = null; /* The mime type, e.g. text/plain */ field in class:BluetoothMapbMessageMime.MimePart
81 if(mContentType != null)
82 sb.append("Content-Type: ").append(mContentType);
96 if(mContentType != null &&
97 (mContentType.toUpperCase().contains("TEXT") ||
98 mContentType.toUpperCase().contains("SMIL") )) {
122 if(mContentType != null && mContentType.toUpperCase().contains("TEXT")) {
128 } else if(mContentType != null && mContentType
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/
H A DImageUtils.java409 private final String mContentType; field in class:ImageUtils.ImageResizer
465 mContentType = contentType;
474 return ImageUtils.isGif(mContentType, mUri) ? resizeGifImage() : resizeStaticImage();
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DDatabaseMessages.java579 public String mContentType; field in class:DatabaseMessages.MmsPart
597 mContentType = cursor.getString(INDEX_CONTENT_TYPE);
608 if (ContentType.isImageType(mContentType)) {
610 } else if (ContentType.isVideoType(mContentType)) {
700 mContentType = opt.outMimeType;
703 if (TextUtils.isEmpty(mContentType)) {
706 mContentType = extractContentType(context, uri);
740 mContentType =
787 return ContentType.TEXT_PLAIN.equals(mContentType)
788 || ContentType.APP_SMIL.equals(mContentType)
[all...]
H A DMmsUtils.java1440 public String mContentType; field in class:MmsUtils.AttachmentInfo
1791 messagePart = MessagePartData.createMediaMessagePart(part.mContentType,

Completed in 286 milliseconds