Searched defs:mContentType (Results 1 - 11 of 11) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DMultipart.java26 protected String mContentType; field in class:Multipart
41 return mContentType;
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DMimeMultipart.java32 protected String mContentType; field in class:MimeMultipart
44 this.mContentType = contentType;
77 return mContentType;
82 mContentType = String.format("multipart/%s; boundary=\"%s\"", subType, mBoundary);
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DMessageTestUtils.java108 private final String mContentType; field in class:MessageTestUtils.MultipartBuilder
127 mContentType = mimeType + "; boundary=" + boundary;
148 final MimeMultipart mp = new MimeMultipart(mContentType);
/packages/apps/Mms/src/com/android/mms/ui/
H A DUriImage.java61 private String mContentType; field in class:UriImage
102 mContentType = mimeTypeMap.getMimeTypeFromExtension(extension);
103 // It's ok if mContentType is null. Eventually we'll show a toast telling the
147 mContentType = c.getString(
152 mContentType = c.getString(
156 mContentType = c.getString(c.getColumnIndexOrThrow("mimetype"));
158 mContentType = resolver.getType(uri);
159 Log.v(TAG, "initFromContentUri: " + uri + ", getType => " + mContentType);
214 return mContentType;
/packages/apps/Email/src/com/android/email/
H A DAttachmentInfo.java78 public final String mContentType; field in class:AttachmentInfo
103 this(context, info.mId, info.mSize, info.mName, info.mContentType, info.mAccountKey,
110 mContentType = AttachmentUtilities.inferMimeType(fileName, mimeType);
126 if ((!MimeUtility.mimeTypeMatches(mContentType,
128 (MimeUtility.mimeTypeMatches(mContentType,
203 intent.setDataAndType(contentUri, mContentType);
247 return "{Attachment " + mId + ":" + mName + "," + mContentType + "," + mSize + "}";
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DUriImage.java50 private final String mContentType; field in class:UriImage
66 mContentType = contentType;
99 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) {
122 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) {
216 if (BitmapUtils.isSupportedByRegionDecoder(mContentType)) {
257 if (mContentType != null) {
258 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType);
270 return mContentType;
/packages/apps/Mms/src/com/android/mms/model/
H A DMediaModel.java50 protected String mContentType; field in class:MediaModel
71 mContentType = contentType;
86 mContentType = contentType;
127 return mContentType;
/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/
H A DDMHttpConnector.java74 private String mContentType; field in class:DMHttpConnector
108 if (mContentType == null) {
109 mContentType = MIME_TYPE_SYNCML_DM_WBXML;
160 connection.addRequestProperty(CONTENT_TYPE, mContentType);
173 log.logContent(mContentType, requestData);
282 mContentType = type;
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DShortcutIntentBuilder.java149 protected String mContentType; field in class:ShortcutIntentBuilder.LoadingAsyncTask
161 mContentType = mContext.getContentResolver().getType(mUri);
212 createContactShortcutIntent(mUri, mContentType, mDisplayName, mLookupKey, mBitmapData);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessageMms.java36 public String mContentType = null; /* The mime type, e.g. text/plain */ field in class:BluetoothMapbMessageMms.MimePart
78 if(mContentType != null)
79 sb.append("Content-Type: ").append(mContentType);
93 if(mContentType != null &&
94 (mContentType.toUpperCase().contains("TEXT") ||
95 mContentType.toUpperCase().contains("SMIL") )) {
110 if(mContentType != null && mContentType.toUpperCase().contains("TEXT")) {
112 } else if(mContentType != null && mContentType
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppsCustomizePagedView.java158 private ContentType mContentType = ContentType.Applications; field in class:AppsCustomizePagedView
281 if (mContentType == ContentType.Applications) {
289 } else if (mContentType == ContentType.Widgets) {
878 if (mContentType != type || type == ContentType.Widgets) {
879 int page = (mContentType != type) ? 0 : getCurrentPage();
880 mContentType = type;
886 return mContentType;
1279 if (mContentType == ContentType.Applications) {
1286 } else if (mContentType == ContentType.Widgets) {
1303 if (mContentType
[all...]

Completed in 413 milliseconds