Home
last modified time | relevance | path

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

123

/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java196 && mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO; in isBorderless()
201 if (mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO) { in getSides()
217 switch (mDocInfo.getContentType()) { in getFillPage()
234 } else if (mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO in getMediaType()
254 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.java224 public String getContentType() throws MessagingException { in getContentType() method in MimeMessage
251 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
418 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
615 final MimeMultipart multiPart = new MimeMultipart(e.getContentType()); in startMultipart()
DMimeMultipart.java76 public String getContentType() throws MessagingException { in getContentType() method in MimeMultipart
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipAttachmentFormat.java121 public String getContentType() { in getContentType() method in BipAttachmentFormat
151 return a.getContentType() == getContentType() in equals()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMmsVideoRecorder.java55 ContentType.getExtension(getContentType())); in MmsVideoRecorder()
123 String getContentType() { in getContentType() method in MmsVideoRecorder
DGalleryGridItemView.java162 final String contentType = mData.getContentType(); in updateImageView()
183 if (ContentType.isVideoType(mData.getContentType())) { in updateImageView()
DGalleryGridView.java91 } else if (ContentType.isMediaType(data.getContentType())) { in onItemClicked()
106 "Selected item has invalid contentType " + data.getContentType()); in onItemClicked()
DDocumentImagePicker.java120 return ImageUtils.getContentType( in prepareDocumentForAttachment()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureTransfer.java323 String contentType = conn.getContentType(); in downloadImageFromConnection()
382 public String getContentType() { in makeUploadPart() method
431 connection.addRequestProperty("Content-Type", multipartEntity.getContentType().getValue());
497 Charset charset = MediaType.parse(connection.getContentType())
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DOmtpMessageReceiver.java138 if (!OmtpConstants.VOICE.equals(message.getContentType())) { in processSync()
141 "Non-voice message of type '" + message.getContentType() + "' received, ignoring"); in processSync()
DSyncMessage.java114 public String getContentType() { in getContentType() method in SyncMessage
/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/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java332 public final String getContentType() { in getContentType() method in MessagePartData
519 LogUtil.e(LogUtil.BUGLE_DATAMODEL_TAG, "Unknown attachment type " + getContentType()); in getMinimumSizeInBytesForSending()
529 return getContentType() + " (" + getContentUri() + ")"; in toString()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipAttachmentFormatTest.java55 Assert.assertEquals(contentType, attachment.getContentType()); in testParse()
79 Assert.assertEquals(contentType, attachment.getContentType()); in testCreate()
/packages/apps/TV/src/com/android/tv/search/
DLocalSearchProvider.java199 row.add(result.getContentType()); in createSuggestionsCursor()
316 abstract String getContentType(); in getContentType() method in LocalSearchProvider.SearchResult
/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/ui/
DAttachmentPreviewFactory.java68 final String contentType = attachmentData.getContentType(); in createAttachmentPreview()
130 final String contentType = attachmentData.getContentType(); in getImageRequestDescriptorForAttachment()
/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
DMessage.java94 return getContentType().startsWith(mimeType); in isMimeType()
/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()
DRetrieveConf.java82 public byte[] getContentType() { in getContentType() method in RetrieveConf
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DRetrieveConf.java80 public byte[] getContentType() { in getContentType() method in RetrieveConf
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java304 final String contentType = part.getContentType(); in makePduBody()
333 String contentType = part.getContentType(); in makePduBody()
408 Assert.isTrue(ContentType.isAudioType(part.getContentType()) || in getMediaDurationMs()
409 ContentType.isVideoType(part.getContentType())); in getMediaDurationMs()
536 final String contentType = messagePart.getContentType(); in addVCardPart()
559 String contentType = messagePart.getContentType(); in addVideoPart()
576 final String contentType = messagePart.getContentType(); in addOtherPart()

123