Home
last modified time | relevance | path

Searched refs:getContentType (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Email/src/com/android/email/mail/internet/
DMimeBodyPart.java88 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
92 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody()
101 public String getContentType() throws MessagingException { in getContentType() method in MimeBodyPart
130 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
DMimeMessage.java156 public String getContentType() throws MessagingException { in getContentType() method in MimeMessage
185 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
340 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
516 MimeMultipart multiPart = new MimeMultipart(e.getContentType()); in startMultipart()
DMimeMultipart.java75 public String getContentType() throws MessagingException { in getContentType() method in MimeMultipart
DEmailHtmlUtil.java60 String contentType = MimeUtility.unfoldAndDecode(part.getContentType()); in resolveInlineImage()
DMimeUtility.java270 String charset = getHeaderParameter(part.getContentType(), "charset"); in getTextFromPart()
/packages/apps/Mms/src/com/android/mms/drm/
DDrmWrapper.java95 String contentType = mDrmObject.getContentType(); in getPermission()
241 public String getContentType() { in getContentType() method in DrmWrapper
242 return mDrmObject.getContentType(); in getContentType()
/packages/apps/Email/src/com/android/email/mail/
DMessage.java86 public abstract String getContentType() throws MessagingException; in getContentType() method in Message
99 return getContentType().startsWith(mimeType); in isMimeType()
DMultipart.java40 public String getContentType() throws MessagingException { in getContentType() method in Multipart
DPart.java31 public String getContentType() throws MessagingException; in getContentType() method
/packages/apps/Mms/src/com/android/mms/ui/
DUriImage.java152 public String getContentType() { in getContentType() method in UriImage
180 part.setContentType(getContentType().getBytes()); in getResizedImageAsPart()
DMessageUtils.java550 intent.setType(mm.getContentType()); in viewSimpleSlideshow()
DComposeMessageActivity.java1325 String type = new String(part.getContentType()); in haveSomethingToCopyToSDCard()
1353 String type = new String(part.getContentType()); in copyMedia()
1388 String type = new String(part.getContentType()); in copyPart()
/packages/apps/Mms/src/com/android/mms/model/
DSmilHelper.java104 if (Arrays.equals(part.getContentType(), in findSmilPart()
204 String contentType = new String(part.getContentType()); in createSmilDocument()
210 contentType = dw.getContentType(); in createSmilDocument()
DMediaModelFactory.java111 byte[] bytes = part.getContentType(); in getGenericMediaModel()
135 String drmContentType = wrapper.getContentType(); in getGenericMediaModel()
DImageModel.java78 mContentType = uriImage.getContentType(); in initModelFromUri()
DMediaModel.java140 public String getContentType() { in getContentType() method in MediaModel
DSlideshowModel.java217 part.setContentType(media.getContentType().getBytes()); in makePduBody()
/packages/apps/Email/src/com/android/email/activity/
DMessageView.java787 String contentType = MimeUtility.unfoldAndDecode(part.getContentType()); in renderAttachments()
DMessageCompose.java942 String contentType = MimeUtility.unfoldAndDecode(part.getContentType()); in loadAttachments()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java762 String contentType = part.getContentType(); in fetch()
DLocalStore.java1353 String name = MimeUtility.getHeaderParameter(attachment.getContentType(), "name"); in saveAttachment()