Home
last modified time | relevance | path

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

123

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageAttachmentBar.java141 attachment.getContentType(), attachment.flags); in render()
198 "save_attachment", Utils.normalizeMimeType(mAttachment.getContentType()), in onClick()
207 Utils.normalizeMimeType(mAttachment.getContentType()), "attachment_bar", in onClick()
215 "cancel_attachment", Utils.normalizeMimeType(mAttachment.getContentType()), in onClick()
244 final String mime = Utils.normalizeMimeType(mAttachment.getContentType()); in onClick()
256 else if (MimeType.isInstallable(mAttachment.getContentType())) { in onClick()
268 getContext(), mAttachment.contentUri, mAttachment.getContentType())) { in onClick()
317 mAttachment.getContentType()); in shouldShowExtraOption1()
340 final String contentType = mAttachment.getContentType(); in viewAttachment()
368 "preview_attachment", Utils.normalizeMimeType(mAttachment.getContentType()), in previewAttachment()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java187 mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO; in isBorderless()
192 if (mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO) { in getSides()
208 switch (mDocInfo.getContentType()) { in getFillPage()
221 if (mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO) { in getMediaType()
243 switch (mDocInfo.getContentType()) { in getDocumentCategory()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeBodyPart.java91 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
94 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody()
104 public String getContentType() throws MessagingException { in getContentType() method in MimeBodyPart
136 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
DMimeMessage.java200 public String getContentType() throws MessagingException { in getContentType() method in MimeMessage
227 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
394 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
591 final MimeMultipart multiPart = new MimeMultipart(e.getContentType()); in startMultipart()
/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
237 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
406 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
601 final MimeMultipart multiPart = new MimeMultipart(e.getContentType()); in startMultipart()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java175 return mUriAttachmentMap.get(uri).getContentType(); in getType()
246 if (attachment.getContentType().startsWith(type)) { in addRow()
264 .add(attachment.getContentType()) // contentType in addRow()
350 if (MimeType.isInstallable(attachment.getContentType())) { in copyAttachment()
360 description, true, attachment.getContentType(), in copyAttachment()
DAttachment.java251 final String contentTypeHeader = MimeUtility.unfoldAndDecode(part.getContentType()); in Attachment()
450 return MimeType.isInstallable(getContentType()); in isInstallable()
487 public String getContentType() { in getContentType() method in Attachment
669 getContentType(), in toJoinedString()
671 getContentType(), in toJoinedString()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMmsVideoRecorder.java51 ContentType.getExtension(getContentType())); in MmsVideoRecorder()
119 String getContentType() { in getContentType() method in MmsVideoRecorder
DGalleryGridView.java91 } else if (ContentType.isMediaType(data.getContentType())) { in onItemClicked()
106 "Selected item has invalid contentType " + data.getContentType()); in onItemClicked()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java319 public final String getContentType() { in getContentType() method in MessagePartData
509 LogUtil.e(LogUtil.BUGLE_DATAMODEL_TAG, "Unknown attachment type " + getContentType()); in getMinimumSizeInBytesForSending()
519 return getContentType() + " (" + getContentUri() + ")"; in toString()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DOmtpMessageReceiver.java128 if (!OmtpConstants.VOICE.equals(message.getContentType())) { in processSync()
131 "Non-voice message of type '" + message.getContentType() + "' received, ignoring"); in processSync()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java110 final String contentType = adapter.getContentType(cursor); in updateShareActionProvider()
163 Uri.parse(photoUri), adapter.getContentType(cursor)).executeOnThreadPool(); in onOptionsItemSelected()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTile.java70 return ImageUtils.isImageMimeType(attachment.getContentType()); in isTiledAttachment()
122 attachment.getContentType(), attachment.flags); in render()
/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/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java739 return part.getContentType() == null ? null : toIsoString(part.getContentType()); in getPartContentType()
1091 final byte[] contentType = sendReq.getContentType(); in updateHeaders()
1190 if (part.getContentType() != null) { in updatePart()
1191 contentType = toIsoString(part.getContentType()); in updatePart()
DPduParser.java197 byte[] contentType = retrieveConf.getContentType(); in parse()
932 String partContentType = new String(part.getContentType()); in parseParts()
1817 byte[] contentType = part.getContentType(); in checkPartPosition()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java306 final String contentType = part.getContentType(); in makePduBody()
335 String contentType = part.getContentType(); in makePduBody()
403 Assert.isTrue(ContentType.isAudioType(part.getContentType()) || in getMediaDurationMs()
404 ContentType.isVideoType(part.getContentType())); in getMediaDurationMs()
531 final String contentType = messagePart.getContentType(); in addVCardPart()
554 String contentType = messagePart.getContentType(); in addVideoPart()
571 final String contentType = messagePart.getContentType(); in addOtherPart()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java68 final String contentType = attachmentData.getContentType(); in createAttachmentPreview()
130 final String contentType = attachmentData.getContentType(); in getImageRequestDescriptorForAttachment()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java172 byte[] contentType = retrieveConf.getContentType(); in parse()
898 String partContentType = new String(part.getContentType()); in parseParts()
1781 byte[] contentType = part.getContentType(); in checkPartPosition()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java628 ContentType.isConversationListPreviewableType(part.getContentType())) { in addSnippetTextAndPreviewToContentValues()
630 type = part.getContentType(); in addSnippetTextAndPreviewToContentValues()
757 ContentType.isConversationListPreviewableType(part.getContentType())) { in updateConversationDraftSnippetAndPreviewInTransaction()
759 type = part.getContentType(); in updateConversationDraftSnippetAndPreviewInTransaction()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMultipart.java39 public String getContentType() throws MessagingException { in getContentType() method in Multipart
DPart.java30 public String getContentType() throws MessagingException; in getContentType() method
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DMultipart.java40 public String getContentType() throws MessagingException { in getContentType() method in Multipart
DPart.java31 public String getContentType() throws MessagingException; in getContentType() method

123