Searched defs:contentType (Results 1 - 14 of 14) sorted by relevance

/packages/apps/Mms/src/com/android/mms/model/
H A DContentRestriction.java27 void checkImageContentType(String contentType) throws ContentRestrictionException; argument
29 void checkAudioContentType(String contentType) throws ContentRestrictionException; argument
31 void checkVideoContentType(String contentType) throws ContentRestrictionException; argument
H A DAudioModel.java53 public AudioModel(Context context, String contentType, String src, Uri uri) throws MmsException { argument
54 super(context, SmilHelper.ELEMENT_TAG_AUDIO, contentType, src, uri);
H A DCarrierContentRestriction.java71 public void checkImageContentType(String contentType) argument
73 if (null == contentType) {
77 if (!sSupportedImageTypes.contains(contentType)) {
79 + contentType);
83 public void checkAudioContentType(String contentType) argument
85 if (null == contentType) {
89 if (!sSupportedAudioTypes.contains(contentType)) {
91 + contentType);
95 public void checkVideoContentType(String contentType) argument
97 if (null == contentType) {
[all...]
H A DRegionMediaModel.java34 public RegionMediaModel(Context context, String tag, String contentType, argument
36 super(context, tag, contentType, src, uri);
40 public RegionMediaModel(Context context, String tag, String contentType, argument
42 super(context, tag, contentType, src, data);
H A DTextModel.java37 public TextModel(Context context, String contentType, String src, RegionModel region) { argument
38 this(context, contentType, src, CharacterSets.UTF_8, new byte[0], region);
41 public TextModel(Context context, String contentType, String src, argument
43 super(context, SmilHelper.ELEMENT_TAG_TEXT, contentType, src,
H A DVideoModel.java57 public VideoModel(Context context, String contentType, String src, argument
59 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, uri, region);
H A DImageModel.java78 public ImageModel(Context context, String contentType, String src, argument
81 contentType, src, uri, region);
H A DMediaModel.java67 public MediaModel(Context context, String tag, String contentType, argument
71 mContentType = contentType;
78 public MediaModel(Context context, String tag, String contentType, argument
86 mContentType = contentType;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DMimeMultipart.java43 public MimeMultipart(String contentType) throws MessagingException { argument
44 this.mContentType = contentType;
46 mSubType = MimeUtility.getHeaderParameter(contentType, null).split("/")[1];
47 mBoundary = MimeUtility.getHeaderParameter(contentType, "boundary");
49 throw new MessagingException("MultiPart does not contain boundary: " + contentType);
54 + contentType + ")", e);
/packages/apps/Email/src/com/android/email/
H A DLegacyConversions.java193 String contentType = MimeUtility.unfoldAndDecode(part.getContentType());
194 String name = MimeUtility.getHeaderParameter(contentType, "name");
420 * @param contentType The content-type of the text being added
424 private static void addTextBodyPart(MimeMultipart mp, String contentType, String quotedPartTag, argument
430 MimeBodyPart bp = new MimeBodyPart(body, contentType);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DUriImage.java62 public UriImage(GalleryApp application, Path path, Uri uri, String contentType) { argument
66 mContentType = contentType;
/packages/apps/Contacts/src/com/android/contacts/list/
H A DShortcutIntentBuilder.java253 private void createContactShortcutIntent(Uri contactUri, String contentType, String displayName, argument
268 shortcutIntent.setDataAndType(contactUri, contentType);
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageListItem.java528 String contentType) {
544 if (contentType != null && ContentType.TEXT_HTML.equals(contentType)) {
526 formatMessage(MessageItem msgItem, String body, String subject, Pattern highlight, String contentType) argument
H A DMessageUtils.java548 Context context, int requestCode, String contentType, boolean localFilesOnly) {
553 innerIntent.setType(contentType);
581 String contentType;
582 contentType = mm.getContentType();
583 intent.setDataAndType(mm.getUri(), contentType);
547 selectMediaByType( Context context, int requestCode, String contentType, boolean localFilesOnly) argument

Completed in 517 milliseconds