/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessagePartData.java | 93 private String mContentType; field in MessagePartData 149 mContentType = contentType; in MessagePartData() 230 mContentType = cursor.getString(INDEX_CONTENT_TYPE); in bind() 241 values.put(PartColumns.CONTENT_TYPE, mContentType); in populate() 266 if (mContentType != null) { in getInsertStatement() 267 insert.bindString(INDEX_CONTENT_TYPE, mContentType); in getInsertStatement() 296 return ContentType.isTextType(mContentType); in isText() 300 return ContentType.isImageType(mContentType); in isImage() 304 return ContentType.isMediaType(mContentType); in isMedia() 308 return ContentType.isVCardType(mContentType); in isVCard() [all …]
|
D | GalleryGridItemData.java | 60 private String mContentType; field in GalleryGridItemData 72 mContentType = null; in bind() 85 mContentType = cursor.getString(INDEX_MIME_TYPE); in bind() 114 return new MediaPickerMessagePartData(startRect, mContentType, in constructMessagePartData() 126 return mContentType; in getContentType()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMime.java | 37 public String mContentType = null; /* The mime type, e.g. text/plain */ field in BluetoothMapbMessageMime.MimePart 83 if (mContentType != null) { in encode() 84 sb.append("Content-Type: ").append(mContentType); in encode() 104 if (mContentType != null && (mContentType.toUpperCase().contains("TEXT") in encode() 105 || mContentType.toUpperCase().contains("SMIL"))) { in encode() 128 if (mContentType != null && mContentType.toUpperCase().contains("TEXT")) { in encodePlainText() 134 } else if (mContentType != null && mContentType.toUpperCase().contains("/SMIL")) { in encodePlainText() 157 private String mContentType = null; field in BluetoothMapbMessageMime 186 if (part.mContentType.toUpperCase().contains("TEXT")) { in getMessageAsText() 324 this.mContentType = contentType; in setContentType() [all …]
|
D | BluetoothMapContentObserver.java | 2955 if (part.mContentType != null && part.mContentType.toUpperCase() in pushMmsToFolder() 2997 } else if (part.mContentType != null && part.mContentType.toUpperCase() in pushMmsToFolder() 3033 Log.v(TAG, "Added part with content-type: " + part.mContentType in pushMmsToFolder() 3075 if (part.mContentType != null) { in writeMmsDataPart() 3076 values.put(Mms.Part.CONTENT_TYPE, part.mContentType); in writeMmsDataPart()
|
D | BluetoothMapContent.java | 3849 part.mContentType = contentType; in extractMmsParts() 4266 part.mContentType = "text/plain"; in getIMMessage()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 579 public String mContentType; field in DatabaseMessages.MmsPart 597 mContentType = cursor.getString(INDEX_CONTENT_TYPE); in load() 608 if (ContentType.isImageType(mContentType)) { in load() 610 } else if (ContentType.isVideoType(mContentType)) { in load() 700 mContentType = opt.outMimeType; in loadImage() 703 if (TextUtils.isEmpty(mContentType)) { in loadImage() 706 mContentType = extractContentType(context, uri); in loadImage() 740 mContentType = in loadVideo() 787 return ContentType.TEXT_PLAIN.equals(mContentType) in isEmbeddedTextType() 788 || ContentType.APP_SMIL.equals(mContentType) in isEmbeddedTextType() [all …]
|
D | MmsUtils.java | 1440 public String mContentType; field in MmsUtils.AttachmentInfo 1791 messagePart = MessagePartData.createMediaMessagePart(part.mContentType, in createMmsMessagePart()
|
/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/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/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Multipart.java | 26 protected String mContentType; field in Multipart 41 return mContentType; in getContentType()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ShortcutIntentBuilder.java | 155 protected String mContentType; field in ShortcutIntentBuilder.LoadingAsyncTask 167 mContentType = mContext.getContentResolver().getType(mUri); in doInBackground() 218 createContactShortcutIntent(mUri, mContentType, mDisplayName, mLookupKey, mBitmapData); in onPostExecute()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 409 private final String mContentType; field in ImageUtils.ImageResizer 465 mContentType = contentType; in ImageResizer() 474 return ImageUtils.isGif(mContentType, mUri) ? resizeGifImage() : resizeStaticImage(); in resize()
|