Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageAttachmentBar.java126 attachment.getContentType(), attachment.flags); in render()
181 "save_attachment", Utils.normalizeMimeType(mAttachment.getContentType()), in onClick()
190 Utils.normalizeMimeType(mAttachment.getContentType()), "attachment_bar", in onClick()
198 "cancel_attachment", Utils.normalizeMimeType(mAttachment.getContentType()), in onClick()
224 final String mime = Utils.normalizeMimeType(mAttachment.getContentType()); in onClick()
236 else if (MimeType.isBlocked(mAttachment.getContentType())) { in onClick()
246 else if (MimeType.isInstallable(mAttachment.getContentType())) { in onClick()
258 getContext(), mAttachment.contentUri, mAttachment.getContentType())) { in onClick()
324 final String contentType = mAttachment.getContentType(); in viewAttachment()
350 "preview_attachment", Utils.normalizeMimeType(mAttachment.getContentType()), in previewAttachment()
DMessageAttachmentTile.java155 final String mime = Utils.normalizeMimeType(mAttachment.getContentType()); in viewAttachment()
DAttachmentActionHandler.java213 intent.setType(Utils.normalizeMimeType(mAttachment.getContentType())); in shareAttachment()
/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()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeBodyPart.java95 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
99 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody()
109 public String getContentType() throws MessagingException { in getContentType() method in MimeBodyPart
141 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
DMimeMessage.java206 public String getContentType() throws MessagingException { in getContentType() method in MimeMessage
242 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
411 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
606 MimeMultipart multiPart = new MimeMultipart(e.getContentType()); in startMultipart()
DMimeMultipart.java76 public String getContentType() throws MessagingException { in getContentType() method in MimeMultipart
DMimeUtility.java279 String charset = getHeaderParameter(part.getContentType(), "charset"); in getTextFromPart()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java148 return mUriAttachmentMap.get(uri).getContentType(); in getType()
219 if (attachment.getContentType().startsWith(type)) { in addRow()
237 .add(attachment.getContentType()) // contentType in addRow()
320 if (MimeType.isInstallable(attachment.getContentType())) { in copyAttachment()
330 description, true, attachment.getContentType(), in copyAttachment()
DAttachment.java240 final String contentTypeHeader = MimeUtility.unfoldAndDecode(part.getContentType()); in Attachment()
415 return !isSavedToExternal() && !isInstallable() && !MimeType.isBlocked(getContentType()); in canSave()
431 return MimeType.isInstallable(getContentType()); in isInstallable()
468 public String getContentType() { in getContentType() method in Attachment
641 getContentType(), in toJoinedString()
643 getContentType(), in toJoinedString()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTile.java70 return ImageUtils.isImageMimeType(attachment.getContentType()); in isTiledAttachment()
118 attachment.getContentType(), attachment.flags); in render()
DThumbnailLoadTask.java57 || !ImageUtils.isImageMimeType(attachment.getContentType())) { in setupThumbnailPreview()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java126 private String getContentType(Intent intent) { in getContentType() method in GalleryActivity
165 String contentType = getContentType(intent); in startViewAction()
/packages/apps/Mms/src/com/android/mms/ui/
DComposeMessageActivity.java1410 String type = new String(part.getContentType()); in haveSomethingToCopyToSDCard()
1445 String type = new String(part.getContentType()); in saveRingtone()
1476 String type = new String(part.getContentType()); in isDrmRingtoneWithRights()
1510 String type = new String(part.getContentType()); in isForwardable()
1564 String type = new String(part.getContentType()); in copyPart()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DPart.java31 public String getContentType() throws MessagingException; in getContentType() method
DMultipart.java40 public String getContentType() throws MessagingException { in getContentType() method in Multipart
DMessage.java92 return getContentType().startsWith(mimeType); in isMimeType()
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
DPicasaSource.java100 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.java154 columnValues[i] = PicasaSource.getContentType(image); in queryPicasaItem()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DAttachmentUtils.java97 final String contentType = attachment.getContentType(); in getDisplayType()

12