Home
last modified time | relevance | path

Searched refs:getMimeType (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DEntity.java104 public String getMimeType() { in getMimeType() method in Entity
112 return ContentTypeField.getMimeType(child, parent); in getMimeType()
145 return getMimeType().equalsIgnoreCase(type); in isMimeType()
160 && getMimeType().startsWith(ContentTypeField.TYPE_MULTIPART_PREFIX); in isMultipart()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java415 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
421 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
429 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
436 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
446 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
452 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
463 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
471 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
DRfc822OutputTests.java138 assertEquals("text/plain", mimeMessage.getMimeType()); in testWriteToText()
179 assertEquals("text/plain", part.getMimeType()); in testWriteToAlternativePart()
181 assertEquals("text/calendar", part.getMimeType()); in testWriteToAlternativePart()
223 assertEquals("text/plain", part.getMimeType()); in testWriteToMixedPart()
225 assertEquals("text/html", part.getMimeType()); in testWriteToMixedPart()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionDataList.java43 public String getMimeType() { in getMimeType() method in KindSectionDataList
60 final String mimeType = getMimeType(); in getEntryToWrite()
134 final String mimeType = getMimeType(); in getEntryToDisplay()
183 final String listMimeType = getMimeType(); in add()
DCompactKindSectionView.java230 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionDataList.getMimeType())) { in isEmptyName()
250 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionDataList.getMimeType())) { in setName()
273 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionDataList.getMimeType()) in getPrimaryNameEditorView()
316 final String mimeType = mKindSectionDataList.getMimeType(); in rebuildFromState()
440 mKindSectionDataList.getMimeType()); in updateEmptyEditors()
442 mKindSectionDataList.getMimeType()); in updateEmptyEditors()
556 final String mimeType = mKindSectionDataList.getMimeType(); in updateEmptyNonNameEditors()
/packages/services/Telephony/src/org/apache/james/mime4j/field/
DContentTypeField.java95 public String getMimeType() { in getMimeType() method in ContentTypeField
111 public static String getMimeType(ContentTypeField child, in getMimeType() method in ContentTypeField
114 if (child == null || child.getMimeType().length() == 0 in getMimeType()
124 return child.getMimeType(); in getMimeType()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DContentTypeField.java95 public String getMimeType() { in getMimeType() method in ContentTypeField
111 public static String getMimeType(ContentTypeField child, in getMimeType() method in ContentTypeField
114 if (child == null || child.getMimeType().length() == 0 in getMimeType()
124 return child.getMimeType(); in getMimeType()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeBodyPart.java98 String contentType = String.format("%s;\n charset=utf-8", getMimeType()); in setBody()
140 public String getMimeType() throws MessagingException { in getMimeType() method in MimeBodyPart
146 return getMimeType().equals(mimeType); in isMimeType()
DMimeUtility.java229 String mimeType = part.getMimeType(); in getTextFromPart()
379 String mimeType = part.getMimeType().toLowerCase(); in collectParts()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java696 final String selectedMimeType = info.getMimeType();
825 if (!lhs.getMimeType().equals(rhs.getMimeType())) {
827 lhs.getMimeType() + " rhs.getMimeType(): " + rhs.getMimeType());
863 final String lhsMimeType = lhs.getMimeType();
864 final String rhsMimeType = rhs.getMimeType();
1594 final String mimeType = dataItem.getMimeType(); in generateDataModelFromContact()
1651 if (SORTED_ABOUT_CARD_MIMETYPES.contains(topDataItem.getMimeType())) { in generateDataModelFromContact()
1757 dataItem.getMimeType(), dataItem.getId(), dataItem.isSuperPrimary()); in dataItemToEntry()
1763 dataItem.getMimeType(), dataItem.getId(), dataItem.isSuperPrimary()); in dataItemToEntry()
1779 dataItem.getMimeType(), dataItem.getId(), dataItem.isSuperPrimary()); in dataItemToEntry()
[all …]
DDataAction.java81 mMimeType = item.getMimeType(); in DataAction()
238 mIntent.setDataAndType(mDataUri, item.getMimeType()); in DataAction()
264 public String getMimeType() { in getMimeType() method in DataAction
DAction.java33 public String getMimeType(); in getMimeType() method
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeBodyPart.java97 String contentType = String.format("%s;\n charset=utf-8", getMimeType()); in setBody()
139 public String getMimeType() throws MessagingException { in getMimeType() method in MimeBodyPart
145 return getMimeType().equals(mimeType); in isMimeType()
DMimeUtility.java228 String mimeType = part.getMimeType(); in getTextFromPart()
378 String mimeType = part.getMimeType().toLowerCase(); in collectParts()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriSource.java58 private String getMimeType(Uri uri) { in getMimeType() method in UriSource
75 String mimeType = getMimeType(uri); in findPathByUri()
DSnailItem.java68 public String getMimeType() {
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataItem.java119 public String getMimeType() { in getMimeType() method in DataItem
242 return MoreContactUtils.shouldCollapse(getMimeType(), buildDataString(context, mKind), in shouldCollapseWith()
243 t.getMimeType(), t.buildDataString(context, t.getDataKind())); in shouldCollapseWith()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemBase.java136 String mimeType = (data.getMimeType() == null) ? "" : data.getMimeType(); in generateSignature()
DFilmstripItemData.java88 public String getMimeType() { in getMimeType() method in FilmstripItemData
220 builder.mMimeType = data.getMimeType(); in from()
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstMediaItem.java56 public String getMimeType(); in getMimeType() method
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
DVoicemailPayload.java35 public String getMimeType() { in getMimeType() method in VoicemailPayload
/packages/apps/Gallery/src/com/android/camera/gallery/
DIImage.java61 public abstract String getMimeType(); in getMimeType() method
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java75 public static String getMimeType(Uri src) { in getMimeType() method in ImageLoader
137 String mimeType = getMimeType(uri); in getMetadataOrientation()
568 String mimeType = getMimeType(localUri); in getExif()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DPart.java47 public String getMimeType() throws MessagingException; in getMimeType() method
/packages/services/Telephony/src/com/android/phone/common/mail/
DPart.java46 public String getMimeType() throws MessagingException; in getMimeType() method

123