Home | History | Annotate | Download | only in data

Lines Matching refs:ContentType

39 import com.android.messaging.util.ContentType;
56 new String[] { ContentType.IMAGE_JPEG, ContentType.IMAGE_JPG, ContentType.IMAGE_PNG,
57 ContentType.IMAGE_GIF };
113 this(null, messageText, ContentType.TEXT_PLAIN, null, UNSPECIFIED_SIZE, UNSPECIFIED_SIZE,
120 protected MessagePartData(final String contentType, final Uri contentUri,
122 this(null, null, contentType, contentUri, width, height, false /*singlePartOnly*/);
128 protected MessagePartData(final String messageText, final String contentType,
130 this(null, messageText, contentType, contentUri, width, height, false /*singlePartOnly*/);
136 protected MessagePartData(final String messageText, final String contentType,
138 this(null, messageText, contentType, contentUri, width, height, singlePartOnly);
145 final String contentType, final Uri contentUri, final int width, final int height,
149 mContentType = contentType;
166 public static MessagePartData createMediaMessagePart(final String contentType,
168 return new MessagePartData(contentType, contentUri, width, height);
175 final String contentType, final Uri contentUri, final int width, final int height) {
176 return new MessagePartData(null, caption, contentType, contentUri, width, height,
296 return ContentType.isTextType(mContentType);
300 return ContentType.isImageType(mContentType);
304 return ContentType.isMediaType(mContentType);
308 return ContentType.isVCardType(mContentType);
312 return ContentType.isAudioType(mContentType);
316 return ContentType.isVideoType(mContentType);