/packages/apps/Messaging/src/com/android/messaging/receiver/ |
H A D | AbortMmsWapPushReceiver.java | 24 import com.android.messaging.util.ContentType; 35 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
|
H A D | MmsWapPushDeliverReceiver.java | 24 import com.android.messaging.util.ContentType; 35 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
|
H A D | MmsWapPushReceiver.java | 25 import com.android.messaging.util.ContentType; 38 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | ContentType.java | 22 public final class ContentType { class 101 private ContentType() { method in class:ContentType 148 return ContentType.isAudioType(contentType) || ContentType.isVideoType(contentType) || 149 ContentType.isImageType(contentType) || ContentType.isVCardType(contentType); 157 * extension. It can be null or a type such as ContentType.IMAGE_UNSPECIFIED
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
H A D | MmsVideoRecorder.java | 26 import com.android.messaging.util.ContentType; 51 ContentType.getExtension(getContentType())); 121 return ContentType.VIDEO_MP4; 124 return ContentType.VIDEO_3GPP;
|
H A D | LevelTrackingMediaRecorder.java | 26 import com.android.messaging.util.ContentType; 96 ContentType.THREE_GPP_EXTENSION);
|
H A D | ImagePersistTask.java | 28 import com.android.messaging.util.ContentType; 166 mCallback.onMediaReady(mOutputUri, ContentType.IMAGE_JPEG, mWidth, mHeight);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | 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 [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
H A D | ShareIntentActivity.java | 34 import com.android.messaging.util.ContentType; 91 if (ContentType.TEXT_PLAIN.equals(contentType)) { 98 } else if (ContentType.isImageType(contentType) || 99 ContentType.isVCardType(contentType) || 100 ContentType.isAudioType(contentType) || 101 ContentType.isVideoType(contentType)) { 115 if (ContentType.isImageType(contentType)) {
|
H A D | 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 [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
H A D | 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, 296 return ContentType.isTextType(mContentType); 300 return ContentType.isImageType(mContentType); 304 return ContentType.isMediaType(mContentType); 308 return ContentType [all...] |
H A D | PendingAttachmentData.java | 24 import com.android.messaging.util.ContentType; 76 Assert.isTrue(ContentType.isMediaType(contentType)); 84 Assert.isTrue(ContentType.isMediaType(contentType));
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | ConversationImagePartsView.java | 26 import com.android.messaging.util.ContentType; 70 + " like '" + ContentType.IMAGE_PREFIX + "%'"
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | 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/ |
H A D | 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/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapObexServer.java | 205 public static class ContentType { class in class:BluetoothPbapObexServer 443 appParamValue.needTag = ContentType.PHONEBOOK; 445 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY; 447 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY; 449 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY; 452 appParamValue.needTag = ContentType.COMBINED_CALL_HISTORY; 477 appParamValue.needTag = ContentType.PHONEBOOK; 482 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY; 485 ContentType.INCOMING_CALL_HISTORY); 490 appParamValue.needTag = ContentType [all...] |
/packages/apps/Messaging/src/com/android/messaging/widget/ |
H A D | 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/ |
H A D | 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 [all...] |
H A D | MmsUtils.java | 74 import com.android.messaging.util.ContentType; 307 if (ContentType.isImageType(contentType)) { 309 } else if (ContentType.isVCardType(contentType)) { 336 if (ContentType.isImageType(contentType)) { 342 contentType = isGif ? ContentType.IMAGE_GIF : contentType; 348 } else if (ContentType.isVideoType(contentType)) { 355 } else if (ContentType.isVCardType(contentType)) { 360 } else if (ContentType.isAudioType(contentType)) { 403 Assert.isTrue(ContentType.isAudioType(part.getContentType()) || 404 ContentType [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | AttachmentPreviewFactory.java | 46 import com.android.messaging.util.ContentType; 73 } else if (ContentType.isImageType(contentType)) { 76 } else if (ContentType.isAudioType(contentType)) { 78 } else if (ContentType.isVideoType(contentType)) { 80 } else if (ContentType.isVCardType(contentType)) { 131 if (ContentType.isImageType(contentType)) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A D | ComposeMessageView.java | 66 import com.android.messaging.util.ContentType; 720 newType = ContentType.TYPE_IMAGE; 722 newType = ContentType.TYPE_AUDIO; 724 newType = ContentType.TYPE_VIDEO; 726 newType = ContentType.TYPE_VCARD; 728 newType = ContentType.TYPE_OTHER; 733 } else if (type != newType || type == ContentType.TYPE_OTHER) { 734 type = ContentType.TYPE_OTHER; 740 case ContentType.TYPE_IMAGE: 745 case ContentType [all...] |
H A D | LaunchConversationActivity.java | 33 import com.android.messaging.util.ContentType; 80 if (ContentType.TEXT_PLAIN.equals(intent.getType())) {
|
H A D | ConversationActivity.java | 40 import com.android.messaging.util.ContentType; 111 if (ContentType.isImageType(contentType)) { 116 } else if (ContentType.isVideoType(contentType)) {
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | PduPersister.java | 52 import com.android.messaging.util.ContentType; 444 if (!ContentType.isImageType(type) 445 && !ContentType.isAudioType(type) 446 && !ContentType.isVideoType(type)) { 453 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type) 454 || ContentType.TEXT_HTML.equals(type)) { 790 if (ContentType.IMAGE_JPG.equals(contentType)) { 791 contentType = ContentType.IMAGE_JPEG; 796 if (ContentType [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
H A D | ContentType.java | 22 public class ContentType { class 166 private ContentType() { method in class:ContentType
|