Searched refs:getContentType (Results 1 - 25 of 37) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DMimeBodyPart.java95 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType());
99 String name = MimeUtility.getHeaderParameter(getContentType(), "name");
109 public String getContentType() throws MessagingException { method in class:MimeBodyPart
141 return MimeUtility.getHeaderParameter(getContentType(), null);
H A DMimeMultipart.java76 public String getContentType() throws MessagingException { method in class:MimeMultipart
H A DMimeMessage.java206 public String getContentType() throws MessagingException { method in class:MimeMessage
242 return MimeUtility.getHeaderParameter(getContentType(), null);
411 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType());
606 MimeMultipart multiPart = new MimeMultipart(e.getContentType());
H A DMimeUtility.java279 String charset = getHeaderParameter(part.getContentType(), "charset");
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DMultipart.java40 public String getContentType() throws MessagingException { method in class:Multipart
H A DPart.java31 public String getContentType() throws MessagingException; method in interface:Part
H A DMessage.java92 return getContentType().startsWith(mimeType);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageAttachmentBar.java126 attachment.getContentType(), attachment.flags);
181 "save_attachment", Utils.normalizeMimeType(mAttachment.getContentType()),
190 Utils.normalizeMimeType(mAttachment.getContentType()), "attachment_bar",
198 "cancel_attachment", Utils.normalizeMimeType(mAttachment.getContentType()),
224 final String mime = Utils.normalizeMimeType(mAttachment.getContentType());
236 else if (MimeType.isBlocked(mAttachment.getContentType())) {
246 else if (MimeType.isInstallable(mAttachment.getContentType())) {
258 getContext(), mAttachment.contentUri, mAttachment.getContentType())) {
324 final String contentType = mAttachment.getContentType();
350 "preview_attachment", Utils.normalizeMimeType(mAttachment.getContentType()),
[all...]
H A DAttachmentActionHandler.java213 intent.setType(Utils.normalizeMimeType(mAttachment.getContentType()));
H A DMessageAttachmentTile.java155 final String mime = Utils.normalizeMimeType(mAttachment.getContentType());
/packages/apps/Mms/src/com/android/mms/model/
H A DImageModel.java88 mContentType = uriImage.getContentType();
206 + " image.getContentType(): " + image.getContentType());
217 SUPPORTED_MMS_IMAGE_CONTENT_TYPES.contains(image.getContentType())) {
235 mContentType = new String(part.getContentType());
H A DSlideModel.java103 String contentType = media.getContentType();
109 Log.w(TAG, "[SlideModel] content type " + media.getContentType() +
118 Log.w(TAG, "[SlideModel] content type " + media.getContentType() +
127 Log.w(TAG, "[SlideModel] content type " + media.getContentType() +
137 Log.w(TAG, "[SlideModel] content type " + media.getContentType() +
H A DSmilHelper.java104 if (Arrays.equals(part.getContentType(),
214 String contentType = new String(part.getContentType());
H A DMediaModel.java126 public String getContentType() { method in class:MediaModel
H A DMediaModelFactory.java127 byte[] bytes = part.getContentType();
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DEmlAttachmentProvider.java148 return mUriAttachmentMap.get(uri).getContentType();
219 if (attachment.getContentType().startsWith(type)) {
237 .add(attachment.getContentType()) // contentType
320 if (MimeType.isInstallable(attachment.getContentType())) {
330 description, true, attachment.getContentType(),
H A DAttachment.java93 * MIME type of the file. Use {@link #getContentType()} and {@link #setContentType(String)}.
240 final String contentTypeHeader = MimeUtility.unfoldAndDecode(part.getContentType());
415 return !isSavedToExternal() && !isInstallable() && !MimeType.isBlocked(getContentType());
431 return MimeType.isInstallable(getContentType());
468 public String getContentType() { method in class:Attachment
641 getContentType(),
643 getContentType(),
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
H A DPicasaSource.java100 public static String getContentType(MediaObject image) { method in class:PicasaSource
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAttachmentTile.java70 return ImageUtils.isImageMimeType(attachment.getContentType());
118 attachment.getContentType(), attachment.flags);
H A DThumbnailLoadTask.java57 || !ImageUtils.isImageMimeType(attachment.getContentType())) {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DJavaNetHttpHelper.java155 Log.d(TAG, "Content-Type: " + c.getContentType() + " (assuming " +
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActivity.java126 private String getContentType(Intent intent) { method in class:GalleryActivity
165 String contentType = getContentType(intent);
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
H A DGalleryProvider.java154 columnValues[i] = PicasaSource.getContentType(image);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DAttachmentUtils.java97 final String contentType = attachment.getContentType();
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageItem.java349 mTextContentType = tm.getContentType();

Completed in 832 milliseconds

12