/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 | AudioModel.java | 53 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 D | CarrierContentRestriction.java | 71 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 D | RegionMediaModel.java | 34 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 D | TextModel.java | 37 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 D | VideoModel.java | 57 public VideoModel(Context context, String contentType, String src, argument 59 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, uri, region);
|
H A D | ImageModel.java | 78 public ImageModel(Context context, String contentType, String src, argument 81 contentType, src, uri, region);
|
H A D | MediaModel.java | 67 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 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/Gallery2/src/com/android/gallery3d/data/ |
H A D | UriImage.java | 62 public UriImage(GalleryApp application, Path path, Uri uri, String contentType) { argument 66 mContentType = contentType;
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ShortcutIntentBuilder.java | 253 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 D | MessageListItem.java | 528 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 D | MessageUtils.java | 548 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
|