/packages/apps/Mms/src/com/android/mms/model/ |
H A D | ContentRestriction.java | 27 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 D | CarrierContentRestriction.java | 63 public void checkImageContentType(String contentType) argument 65 if (null == contentType) { 69 if (!sSupportedImageTypes.contains(contentType)) { 71 + contentType); 75 public void checkAudioContentType(String contentType) argument 77 if (null == contentType) { 81 if (!sSupportedAudioTypes.contains(contentType)) { 83 + contentType); 87 public void checkVideoContentType(String contentType) argument 89 if (null == contentType) { [all...] |
H A D | RegionMediaModel.java | 38 public RegionMediaModel(Context context, String tag, String contentType, argument 40 super(context, tag, contentType, src, uri); 44 public RegionMediaModel(Context context, String tag, String contentType, argument 46 super(context, tag, contentType, src, data); 50 public RegionMediaModel(Context context, String tag, String contentType, argument 53 super(context, tag, contentType, src, wrapper);
|
H A D | AudioModel.java | 55 public AudioModel(Context context, String contentType, String src, Uri uri) throws MmsException { argument 56 super(context, SmilHelper.ELEMENT_TAG_AUDIO, contentType, src, uri); 60 public AudioModel(Context context, String contentType, String src, argument 62 super(context, SmilHelper.ELEMENT_TAG_AUDIO, contentType, src, wrapper);
|
H A D | TextModel.java | 40 public TextModel(Context context, String contentType, String src, RegionModel region) { argument 41 this(context, contentType, src, CharacterSets.UTF_8, new byte[0], region); 44 public TextModel(Context context, String contentType, String src, argument 46 super(context, SmilHelper.ELEMENT_TAG_TEXT, contentType, src, 75 public TextModel(Context context, String contentType, String src, int charset, argument 77 super(context, SmilHelper.ELEMENT_TAG_TEXT, contentType, src, wrapper, regionModel);
|
H A D | VideoModel.java | 55 public VideoModel(Context context, String contentType, String src, argument 57 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, uri, region); 60 public VideoModel(Context context, String contentType, String src, argument 62 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, wrapper, regionModel);
|
H A D | ImageModel.java | 82 public ImageModel(Context context, String contentType, String src, argument 85 contentType, src, uri, region); 89 public ImageModel(Context context, String contentType, String src, argument 91 super(context, SmilHelper.ELEMENT_TAG_IMAGE, contentType, src,
|
H A D | MediaModel.java | 70 public MediaModel(Context context, String tag, String contentType, argument 74 mContentType = contentType; 81 public MediaModel(Context context, String tag, String contentType, argument 89 mContentType = contentType; 96 public MediaModel(Context context, String tag, String contentType, argument 100 mContentType = contentType;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
H A D | MimeMultipart.java | 43 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 D | LegacyConversions.java | 193 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/Mms/src/com/android/mms/ui/ |
H A D | MessageUtils.java | 486 Context context, int requestCode, String contentType, boolean localFilesOnly) { 491 innerIntent.setType(contentType); 519 String contentType; 521 contentType = mm.getDrmObject().getContentType(); 523 contentType = mm.getContentType(); 525 intent.setDataAndType(mm.getUri(), contentType); 485 selectMediaByType( Context context, int requestCode, String contentType, boolean localFilesOnly) argument
|
H A D | MessageListItem.java | 383 String contentType) { 399 if (contentType != null && ContentType.TEXT_HTML.equals(contentType)) { 381 formatMessage(MessageItem msgItem, String contact, String body, String subject, Pattern highlight, String contentType) argument
|