HomeSort by relevance Sort by last modified time
    Searched refs:ContentType (Results 1 - 25 of 182) sorted by null

1 2 3 4 5 6 7 8

  /external/nist-sip/java/gov/nist/javax/sip/parser/
ContentTypeParser.java 48 public ContentTypeParser(String contentType) {
49 super(contentType);
58 ContentType contentType = new ContentType();
69 contentType.setContentType(type.getTokenValue());
76 contentType.setContentSubType(subType.getTokenValue());
77 super.parse(contentType);
83 return contentType;
  /packages/apps/Messaging/src/com/android/messaging/receiver/
AbortMmsWapPushReceiver.java 24 import com.android.messaging.util.ContentType;
35 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
MmsWapPushDeliverReceiver.java 24 import com.android.messaging.util.ContentType;
35 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
MmsWapPushReceiver.java 25 import com.android.messaging.util.ContentType;
38 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
  /external/nist-sip/java/gov/nist/javax/sip/header/
ContentType.java 35 * ContentType SIP Header
64 public class ContentType
78 public ContentType() {
83 *@param contentType is the content type.
86 public ContentType(String contentType, String contentSubtype) {
88 this.setContentType(contentType, contentSubtype);
170 *@param contentType Content type string.
173 public void setContentType(String contentType, String contentSubType) {
176 mediaRange.setType(contentType);
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
ContentType.java 22 public final class ContentType {
101 private ContentType() {
104 public static boolean isTextType(final String contentType) {
105 return TEXT_PLAIN.equals(contentType)
106 || TEXT_HTML.equals(contentType)
107 || APP_WAP_XHTML.equals(contentType);
110 public static boolean isMediaType(final String contentType) {
111 return isImageType(contentType)
112 || isVideoType(contentType)
113 || isAudioType(contentType)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
MmsVideoRecorder.java 26 import com.android.messaging.util.ContentType;
51 ContentType.getExtension(getContentType()));
121 return ContentType.VIDEO_MP4;
124 return ContentType.VIDEO_3GPP;
  /packages/apps/Launcher2/src/com/android/launcher2/
AppsCustomizeTabHost.java 76 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) {
84 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Applications);
87 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Widgets);
197 private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) {
203 final AppsCustomizePagedView.ContentType type = getContentTypeForTabTag(tabId);
298 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) {
307 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) {
309 return AppsCustomizePagedView.ContentType.Applications;
311 return AppsCustomizePagedView.ContentType.Widgets;
313 return AppsCustomizePagedView.ContentType.Applications
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
ShareIntentActivity.java 34 import com.android.messaging.util.ContentType;
78 final String contentType = extractContentType(contentUri, intent.getType());
82 contentUri, intent.getType(), contentType));
84 if (ContentType.TEXT_PLAIN.equals(contentType)) {
91 } else if (ContentType.isImageType(contentType) ||
92 ContentType.isVCardType(contentType) ||
93 ContentType.isAudioType(contentType) |
    [all...]
ConversationListItemView.java 54 import com.android.messaging.util.ContentType;
95 Assert.isTrue(ContentType.isImageType(previewType) ||
96 ContentType.isVideoType(previewType));
100 if (ContentType.isImageType(previewType)) {
474 if (ContentType.isAudioType(previewContentType)) {
478 } else if (ContentType.isVideoType(previewContentType)) {
483 } else if (ContentType.isImageType(previewContentType)) {
639 if (ContentType.isAudioType(previewContentType)) {
641 } else if (ContentType.isImageType(previewContentType)) {
643 } else if (ContentType.isVideoType(previewContentType))
    [all...]
  /external/webrtc/webrtc/
config.cc 88 : content_type(ContentType::kRealtimeVideo),
107 case ContentType::kRealtimeVideo:
110 case ContentType::kScreen:
config.h 101 enum class ContentType {
112 ContentType content_type;
  /packages/apps/Messaging/src/com/android/messaging/datamodel/data/
MessagePartData.java 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*/)
    [all...]
PendingAttachmentData.java 24 import com.android.messaging.util.ContentType;
57 protected PendingAttachmentData(final String caption, final String contentType,
60 super(caption, contentType, sourceUri, width, height, onlySingleAttachment);
68 public static PendingAttachmentData createPendingAttachmentData(final String contentType,
70 return createPendingAttachmentData(null, contentType, sourceUri, UNSPECIFIED_SIZE,
75 final String contentType, final Uri sourceUri, final int width, final int height) {
76 Assert.isTrue(ContentType.isMediaType(contentType));
77 return new PendingAttachmentData(caption, contentType, sourceUri, width, height,
82 final String contentType, final Uri sourceUri, final int width, final int height
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/net/
HttpRequestHeader.java 81 public static final String ContentType = "Content-Type";
HttpResponseHeader.java 91 public static final String ContentType = "Content-Type";
HttpRequestBuilder.java 118 /** Sets the correct {@code ContentType} and encodes the given parameter map, then sets it as the content. */
121 httpRequest.setHeader(HttpRequestHeader.ContentType, "application/x-www-form-urlencoded");
127 /** Sets the correct {@code ContentType} and encodes the given content object via {@link #json}, then sets it as the content. */
130 httpRequest.setHeader(HttpRequestHeader.ContentType, "application/json");
  /development/samples/ApiDemos/src/com/example/android/apis/os/
MmsWapPushReceiver.java 25 import com.google.android.mms.ContentType;
40 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
  /external/webrtc/webrtc/video/
send_statistics_proxy.h 45 VideoEncoderConfig::ContentType content_type);
68 void SetContentType(VideoEncoderConfig::ContentType content_type);
135 VideoEncoderConfig::ContentType content_type_ GUARDED_BY(crit_);
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapObexServer.java 162 public static class ContentType {
363 appParamValue.needTag = ContentType.PHONEBOOK;
365 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY;
367 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY;
369 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY;
372 appParamValue.needTag = ContentType.COMBINED_CALL_HISTORY;
395 appParamValue.needTag = ContentType.PHONEBOOK;
398 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY;
401 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY;
404 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
ConversationImagePartsView.java 26 import com.android.messaging.util.ContentType;
70 + " like '" + ContentType.IMAGE_PREFIX + "%'"
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
NetworkUriImageRequest.java 24 import com.android.messaging.util.ContentType;
63 return ContentType.IMAGE_GIF.equalsIgnoreCase(connection.getContentType());
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
TestDataFactory.java 38 import com.android.messaging.util.ContentType;
108 ContentType.IMAGE_JPEG, MessageData.BUGLE_STATUS_INCOMING_COMPLETE},
111 0, ContentType.IMAGE_JPEG, MessageData.BUGLE_STATUS_INCOMING_COMPLETE},
114 0, ContentType.IMAGE_JPEG, MessageData.BUGLE_STATUS_OUTGOING_COMPLETE}
336 new MessagePartData(ContentType.IMAGE_JPEG, Uri.parse("content://image"),
338 new MessagePartData(ContentType.VIDEO_3GPP, Uri.parse("content://video"),
340 new MessagePartData(ContentType.TEXT_VCARD, Uri.parse("content://vcard"),
342 new MessagePartData(ContentType.AUDIO_3GPP, Uri.parse("content://audio"),
  /packages/apps/Messaging/src/com/android/messaging/widget/
WidgetConversationListService.java 43 import com.android.messaging.util.ContentType;
222 if (ContentType.isAudioType(previewContentType)) {
225 } else if (ContentType.isImageType(previewContentType)) {
227 } else if (ContentType.isVideoType(previewContentType)) {
229 } else if (ContentType.isVCardType(previewContentType)) {
  /packages/apps/Messaging/src/com/android/messaging/sms/
DatabaseMessages.java 41 import com.android.messaging.util.ContentType;
608 if (ContentType.isImageType(mContentType)) {
610 } else if (ContentType.isVideoType(mContentType)) {
787 return ContentType.TEXT_PLAIN.equals(mContentType)
788 || ContentType.APP_SMIL.equals(mContentType)
789 || ContentType.TEXT_HTML.equals(mContentType);
806 return ContentType.TEXT_PLAIN.equals(mContentType)
807 || ContentType.TEXT_HTML.equals(mContentType)
808 || ContentType.APP_WAP_XHTML.equals(mContentType);
812 return ContentType.isImageType(mContentType
    [all...]

Completed in 422 milliseconds

1 2 3 4 5 6 7 8