Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeBodyPart.java89 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
93 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody()
102 public String getContentType() throws MessagingException { in getContentType() method in MimeBodyPart
131 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
DMimeMessage.java177 public String getContentType() throws MessagingException { in getContentType() method in MimeMessage
206 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
374 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
559 MimeMultipart multiPart = new MimeMultipart(e.getContentType()); in startMultipart()
DMimeMultipart.java76 public String getContentType() throws MessagingException { in getContentType() method in MimeMultipart
DMimeUtility.java278 String charset = getHeaderParameter(part.getContentType(), "charset"); in getTextFromPart()
419 String contentType = part.getContentType(); in collectParts()
/packages/apps/Mms/src/com/android/mms/model/
DSlideModel.java103 String contentType = media.getContentType(); in internalAdd()
109 Log.w(TAG, "[SlideModel] content type " + media.getContentType() + in internalAdd()
118 Log.w(TAG, "[SlideModel] content type " + media.getContentType() + in internalAdd()
127 Log.w(TAG, "[SlideModel] content type " + media.getContentType() + in internalAdd()
137 Log.w(TAG, "[SlideModel] content type " + media.getContentType() + in internalAdd()
DImageModel.java88 mContentType = uriImage.getContentType(); in initModelFromUri()
206 + " image.getContentType(): " + image.getContentType()); in resizeMedia()
217 SUPPORTED_MMS_IMAGE_CONTENT_TYPES.contains(image.getContentType())) { in resizeMedia()
235 mContentType = new String(part.getContentType()); in resizeMedia()
DSmilHelper.java104 if (Arrays.equals(part.getContentType(), in findSmilPart()
214 String contentType = new String(part.getContentType()); in createSmilDocument()
DMediaModel.java126 public String getContentType() { in getContentType() method in MediaModel
DMediaModelFactory.java127 byte[] bytes = part.getContentType(); in getGenericMediaModel()
DSlideshowModel.java259 part.setContentType(media.getContentType().getBytes()); in makePduBody()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
DMessage.java88 public abstract String getContentType() throws MessagingException; in getContentType() method in Message
105 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/Gallery2/src/com/android/gallery3d/app/
DGallery.java126 private String getContentType(Intent intent) { in getContentType() method in Gallery
165 String contentType = getContentType(intent); in startViewAction()
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
DPicasaSource.java101 public static String getContentType(MediaObject image) { in getContentType() method in PicasaSource
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java155 Log.d(TAG, "Content-Type: " + c.getContentType() + " (assuming " + in getResponseFrom()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java181 columnValues[i] = PicasaSource.getContentType(image); in queryPicasaItem()
/packages/apps/Mms/src/com/android/mms/ui/
DUriImage.java203 public String getContentType() { in getContentType() method in UriImage
DMessageItem.java349 mTextContentType = tm.getContentType(); in onItemLoaded()
DComposeMessageActivity.java1402 String type = new String(part.getContentType()); in haveSomethingToCopyToSDCard()
1437 String type = new String(part.getContentType()); in saveRingtone()
1468 String type = new String(part.getContentType()); in isDrmRingtoneWithRights()
1502 String type = new String(part.getContentType()); in isForwardable()
1556 String type = new String(part.getContentType()); in copyPart()
DMessageUtils.java582 contentType = mm.getContentType(); in viewSimpleSlideshow()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java193 String contentType = MimeUtility.unfoldAndDecode(part.getContentType()); in addOneAttachment()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java419 String contentType = MimeUtility.unfoldAndDecode(expected.getContentType()); in checkAttachment()
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java652 String contentType = fetchPart.getContentType(); in fetchInternal()