Home
last modified time | relevance | path

Searched defs:contentType (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DContentType.java169 public static boolean isSupportedType(String contentType) { in isSupportedType()
173 public static boolean isSupportedImageType(String contentType) { in isSupportedImageType()
177 public static boolean isSupportedAudioType(String contentType) { in isSupportedAudioType()
181 public static boolean isSupportedVideoType(String contentType) { in isSupportedVideoType()
185 public static boolean isTextType(String contentType) { in isTextType()
189 public static boolean isImageType(String contentType) { in isImageType()
193 public static boolean isAudioType(String contentType) { in isAudioType()
197 public static boolean isVideoType(String contentType) { in isVideoType()
201 public static boolean isDrmType(String contentType) { in isDrmType()
207 public static boolean isUnspecified(String contentType) { in isUnspecified()
DSendReq.java58 public SendReq(byte[] contentType, in SendReq()
/packages/apps/Messaging/src/com/android/messaging/util/
DContentType.java104 public static boolean isTextType(final String contentType) { in isTextType()
110 public static boolean isMediaType(final String contentType) { in isMediaType()
117 public static boolean isImageType(final String contentType) { in isImageType()
121 public static boolean isAudioType(final String contentType) { in isAudioType()
126 public static boolean isVideoType(final String contentType) { in isVideoType()
130 public static boolean isVCardType(final String contentType) { in isVCardType()
134 public static boolean isDrmType(final String contentType) { in isDrmType()
140 public static boolean isUnspecified(final String contentType) { in isUnspecified()
147 public static boolean isConversationListPreviewableType(final String contentType) { in isConversationListPreviewableType()
164 String contentType = mimeTypeMap.getMimeTypeFromExtension(extension); in getContentTypeFromExtension() local
[all …]
DImageUtils.java227 String contentType = null; in getContentType() local
297 public static boolean isGif(String contentType, Uri contentUri) { in isGif()
430 final String contentType) { in getResizedImageData()
441 final Context context, final String contentType) { in ImageResizer()
DUriUtil.java241 final InputStream inputStream, final File outputDir, final String contentType) { in persistContent()
264 final Uri sourceUri, final File outputDir, final String contentType) { in persistContent()
DFileUtil.java63 public static File getNewFile(File directory, String contentType) throws IOException { in getNewFile()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMediaPickerMessagePartData.java25 public MediaPickerMessagePartData(final Rect startRect, final String contentType, in MediaPickerMessagePartData()
31 final String contentType, final Uri contentUri, final int width, final int height) { in MediaPickerMessagePartData()
36 public MediaPickerMessagePartData(final Rect startRect, final String contentType, in MediaPickerMessagePartData()
44 final String contentType, final Uri contentUri, final int width, final int height, in MediaPickerMessagePartData()
DPendingAttachmentData.java57 protected PendingAttachmentData(final String caption, final String contentType, in PendingAttachmentData()
68 public static PendingAttachmentData createPendingAttachmentData(final String contentType, in createPendingAttachmentData()
75 final String contentType, final Uri sourceUri, final int width, final int height) { in createPendingAttachmentData()
82 final String contentType, final Uri sourceUri, final int width, final int height, in createPendingAttachmentData()
DMessagePartData.java133 protected MessagePartData(final String contentType, final Uri contentUri, in MessagePartData()
141 protected MessagePartData(final String messageText, final String contentType, in MessagePartData()
149 protected MessagePartData(final String messageText, final String contentType, in MessagePartData()
158 final String contentType, final Uri contentUri, final int width, final int height, in MessagePartData()
179 public static MessagePartData createMediaMessagePart(final String contentType, in createMediaMessagePart()
188 final String contentType, final Uri contentUri, final int width, final int height) { in createMediaMessagePart()
344 public static boolean isSupportedMediaType(final String contentType) { in isSupportedMediaType()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java98 final String contentType = extractContentType(contentUri, intent.getType()); in onAttachFragment() local
129 final String contentType = intent.getType(); in onAttachFragment() local
212 private static String extractContentType(final Uri uri, final String contentType) { in extractContentType()
242 private void addSharedPartToDraft(final String contentType, final Uri uri) { in addSharedPartToDraft()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMultipart.java30 protected String contentType; field in MimeMultipart
41 public MimeMultipart(String contentType) throws MessagingException { in MimeMultipart()
DMimeBodyPart.java93 String contentType = String.format("%s;\n charset=utf-8", getMimeType()); in setBody() local
105 String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType() local
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipAttachmentFormat.java70 public BipAttachmentFormat(String contentType, String charset, String name, String size, in BipAttachmentFormat()
101 public BipAttachmentFormat(String contentType, String charset, String name, int size, in BipAttachmentFormat()
DBipImageProperties.java192 String contentType = xpp.getAttributeValue(null, "content-type"); in parse() local
313 String contentType = format.getContentType(); in toString() local
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMultipart.java25 protected String contentType; field in Multipart
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipAttachmentFormatTest.java49 private void testParse(String contentType, String charset, String name, String size, in testParse()
75 private void testCreate(String contentType, String charset, String name, int size, in testCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DDocumentImagePicker.java125 protected void onPostExecute(final String contentType) { in prepareDocumentForAttachment()
DGalleryGridItemView.java162 final String contentType = mData.getContentType(); in updateImageView() local
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DSyncMessage.java42 private final String contentType; field in SyncMessage
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java68 final String contentType = attachmentData.getContentType(); in createAttachmentPreview() local
130 final String contentType = attachmentData.getContentType(); in getImageRequestDescriptorForAttachment() local
/packages/services/Car/tests/carservice_test/src/android/media/tests/
DAudioPolicyTest.java95 private static AudioMix createAudioMix(int contentType, int usage) { in createAudioMix()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java110 final String contentType = adapter.getContentType(cursor); in updateShareActionProvider() local
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java107 String contentType; in generateFileInfo() local
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DSendReq.java61 public SendReq(byte[] contentType, in SendReq()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java304 final String contentType = part.getContentType(); in makePduBody() local
333 String contentType = part.getContentType(); in makePduBody() local
456 final int maxPartSize, final String srcName, final String contentType) { in addPicturePart()
523 final String srcName, final Uri uri, final String contentType) { in addPartForUri()
536 final String contentType = messagePart.getContentType(); in addVCardPart() local
559 String contentType = messagePart.getContentType(); in addVideoPart() local
576 final String contentType = messagePart.getContentType(); in addOtherPart() local
672 … final int orientation, final Uri imageUri, final Context context, final String contentType) { in getResizedImageAsPart()

12