/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMms.java | 36 public String mContentType = null; /* The mime type, e.g. text/plain */ field in BluetoothMapbMessageMms.MimePart 78 if(mContentType != null) in encode() 79 sb.append("Content-Type: ").append(mContentType); in encode() 93 if(mContentType != null && in encode() 94 (mContentType.toUpperCase().contains("TEXT") || in encode() 95 mContentType.toUpperCase().contains("SMIL") )) { in encode() 110 if(mContentType != null && mContentType.toUpperCase().contains("TEXT")) { in encodePlainText() 112 } else if(mContentType != null && mContentType.toUpperCase().contains("/SMIL")) { in encodePlainText() 162 if(part.mContentType.toUpperCase().contains("TEXT")) { in getMessageAsText() 287 if(part.mContentType != null && in updateCharset() [all …]
|
D | BluetoothMapContentObserver.java | 1470 … if(part.mContentType != null && part.mContentType.toUpperCase().contains("TEXT")) { in pushMmsToFolder() 1509 … } else if (part.mContentType != null && part.mContentType.toUpperCase().contains("SMIL")){ in pushMmsToFolder() 1539 …if (V) Log.v(TAG, "Added part with content-type: "+ part.mContentType + " to Uri: " + uri.toString… in pushMmsToFolder() 1579 if(part.mContentType != null) { in writeMmsDataPart() 1580 values.put(Mms.Part.CONTENT_TYPE, part.mContentType); in writeMmsDataPart()
|
D | BluetoothMapContent.java | 1787 part.mContentType = contentType; in extractMmsParts()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | VideoModel.java | 86 mContentType = mimeTypeMap.getMimeTypeFromExtension(extension); in initFromFile() 93 + " mContentType=" + mContentType in initFromFile() 115 mContentType = c.getString(c.getColumnIndexOrThrow( in initFromContentUri() 118 mContentType = c.getString(c.getColumnIndexOrThrow( in initFromContentUri() 121 if (TextUtils.isEmpty(mContentType)) { in initFromContentUri() 125 if (mContentType.equals(ContentType.VIDEO_MP4) && !(TextUtils.isEmpty(mSrc))) { in initFromContentUri() 134 mContentType = ContentType.VIDEO_3GPP; in initFromContentUri() 147 + " mContentType=" + mContentType in initFromContentUri() 197 cr.checkVideoContentType(mContentType); in checkContentRestriction()
|
D | AudioModel.java | 73 mContentType = c.getString(c.getColumnIndexOrThrow(Part.CONTENT_TYPE)); in initModelFromUri() 76 mContentType = c.getString(c.getColumnIndexOrThrow( in initModelFromUri() 92 if (TextUtils.isEmpty(mContentType)) { in initModelFromUri() 99 + " mContentType=" + mContentType in initModelFromUri() 152 cr.checkAudioContentType(mContentType); in checkContentRestriction()
|
D | ImageModel.java | 88 mContentType = uriImage.getContentType(); in initModelFromUri() 89 if (TextUtils.isEmpty(mContentType)) { in initModelFromUri() 99 + " mContentType=" + mContentType in initModelFromUri() 136 cr.checkImageContentType(mContentType); in checkContentRestriction() 235 mContentType = new String(part.getContentType()); in resizeMedia()
|
D | MediaModel.java | 50 protected String mContentType; field in MediaModel 71 mContentType = contentType; in MediaModel() 86 mContentType = contentType; in MediaModel() 127 return mContentType; in getContentType()
|
D | SlideshowModel.java | 181 if (ContentType.isVideoType(media.mContentType) in createFromPduBody() 183 || ContentType.isAudioType(media.mContentType) in createFromPduBody()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriImage.java | 50 private final String mContentType; field in UriImage 66 mContentType = contentType; in UriImage() 99 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) { in openOrDownloadInner() 122 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) { in openOrDownloadInner() 216 if (BitmapUtils.isSupportedByRegionDecoder(mContentType)) { in getSupportedOperations() 257 if (mContentType != null) { in getDetails() 258 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); in getDetails() 270 return mContentType; in getMimeType()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | AttachmentInfo.java | 78 public final String mContentType; field in AttachmentInfo 103 this(context, info.mId, info.mSize, info.mName, info.mContentType, info.mAccountKey, in AttachmentInfo() 110 mContentType = AttachmentUtilities.inferMimeType(fileName, mimeType); in AttachmentInfo() 126 if ((!MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo() 128 (MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo() 203 intent.setDataAndType(contentUri, mContentType); in getAttachmentIntent() 247 return "{Attachment " + mId + ":" + mName + "," + mContentType + "," + mSize + "}"; in toString()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | UriImage.java | 61 private String mContentType; field in UriImage 102 mContentType = mimeTypeMap.getMimeTypeFromExtension(extension); in initFromFile() 147 mContentType = c.getString( in initFromContentUri() 152 mContentType = c.getString( in initFromContentUri() 156 mContentType = c.getString(c.getColumnIndexOrThrow("mimetype")); in initFromContentUri() 158 mContentType = resolver.getType(uri); in initFromContentUri() 159 Log.v(TAG, "initFromContentUri: " + uri + ", getType => " + mContentType); in initFromContentUri() 214 return mContentType; in getContentType()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppsCustomizePagedView.java | 158 private ContentType mContentType = ContentType.Applications; field in AppsCustomizePagedView 281 if (mContentType == ContentType.Applications) { in getMiddleComponentIndexOnCurrentPage() 289 } else if (mContentType == ContentType.Widgets) { in getMiddleComponentIndexOnCurrentPage() 881 if (mContentType != type || type == ContentType.Widgets) { in setContentType() 882 int page = (mContentType != type) ? 0 : getCurrentPage(); in setContentType() 883 mContentType = type; in setContentType() 889 return mContentType; in getContentType() 1282 if (mContentType == ContentType.Applications) { in syncPages() 1289 } else if (mContentType == ContentType.Widgets) { in syncPages() 1306 if (mContentType == ContentType.Widgets) { in syncPageItems() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeMultipart.java | 32 protected String mContentType; field in MimeMultipart 44 this.mContentType = contentType; in MimeMultipart() 77 return mContentType; in getContentType() 82 mContentType = String.format("multipart/%s; boundary=\"%s\"", subType, mBoundary); in setSubType()
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | MessageTestUtils.java | 108 private final String mContentType; field in MessageTestUtils.MultipartBuilder 127 mContentType = mimeType + "; boundary=" + boundary; in MultipartBuilder() 148 final MimeMultipart mp = new MimeMultipart(mContentType); in build()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ShortcutIntentBuilder.java | 149 protected String mContentType; field in ShortcutIntentBuilder.LoadingAsyncTask 161 mContentType = mContext.getContentResolver().getType(mUri); in doInBackground() 212 createContactShortcutIntent(mUri, mContentType, mDisplayName, mLookupKey, mBitmapData); in onPostExecute()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Multipart.java | 26 protected String mContentType; field in Multipart 41 return mContentType; in getContentType()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | BluetoothMapbMessageTest.java | 472 part.mContentType ="dsfajfdlk/text/asdfafda"; in testMmsEncodeText() 483 part.mContentType = "dsfajfdlk/image/asdfafda"; in testMmsEncodeText()
|