Home
last modified time | relevance | path

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

12

/packages/apps/Email/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/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/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java455 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
461 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
469 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
476 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
486 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
492 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
503 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
511 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
DRfc822OutputTests.java237 assertEquals("text/plain", mimeMessage.getMimeType()); in testWriteToText()
278 assertEquals("text/plain", part.getMimeType()); in testWriteToAlternativePart()
280 assertEquals("text/calendar", part.getMimeType()); in testWriteToAlternativePart()
322 assertEquals("text/plain", part.getMimeType()); in testWriteToMixedPart()
324 assertEquals("text/html", part.getMimeType()); in testWriteToMixedPart()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeBodyPart.java92 String contentType = String.format("%s;\n charset=utf-8", getMimeType()); in setBody()
130 public String getMimeType() throws MessagingException { in getMimeType() method in MimeBodyPart
135 return getMimeType().equals(mimeType); in isMimeType()
DMimeUtility.java229 else if (part.getMimeType().equalsIgnoreCase(mimeType)) { in findFirstPartByMimeType()
264 String mimeType = part.getMimeType(); in getTextFromPart()
465 } else if ((!attachmentOrInline) && ("text/html".equalsIgnoreCase(part.getMimeType()))) { in collectParts()
468 } else if ((!attachmentOrInline) && ("text/plain".equalsIgnoreCase(part.getMimeType()))) { in collectParts()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriSource.java52 private String getMimeType(Uri uri) { in getMimeType() method in UriSource
69 String mimeType = getMimeType(uri); in findPathByUri()
DSnailItem.java65 public String getMimeType() {
DMediaItem.java96 public abstract String getMimeType(); in getMimeType() method in MediaItem
DLocalMediaItem.java98 public String getMimeType() { in getMimeType() method in LocalMediaItem
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DMockItem.java40 public String getMimeType() { in getMimeType() method in MockItem
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DAction.java33 public String getMimeType(); in getMimeType() method
/packages/apps/Gallery/src/com/android/camera/gallery/
DIImage.java61 public abstract String getMimeType(); in getMimeType() method
DImage.java71 String mimeType = getMimeType(); in isReadonly()
DUriImage.java138 public String getMimeType() { in getMimeType() method in UriImage
/packages/apps/Browser/src/com/android/browser/
DDataUri.java67 public String getMimeType() { in getMimeType() method in DataUri
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
DPart.java47 public String getMimeType() throws MessagingException; in getMimeType() method
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DMockImage.java73 public String getMimeType() { in getMimeType() method in MockImage
/packages/apps/Tag/src/com/android/apps/tag/record/
DMimeRecord.java49 public String getMimeType() { in getMimeType() method in MimeRecord
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadItem.java144 public String getMimeType() { in getMimeType() method in DownloadItem
DDownloadList.java101 String getMimeType() { in getMimeType() method in DownloadList.SelectionObjAttrs
397 mimeTypes[i] = obj.getMimeType(); in onSaveInstanceState()
746 final String mimeType = item.getValue().getMimeType();
758 final String mimeType = item.getValue().getMimeType();
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java95 return item != null ? item.getMimeType() : null; in getType()
149 columnValues[i] = image.getMimeType(); in queryMtpItem()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java215 final String mimeType = MenuExecutor.getMimeType(type); in computeMenuOptions()
253 final String mimeType = MenuExecutor.getMimeType(type); in computeSharingIntent()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DConversionUtilities.java80 boolean isHtml = "text/html".equalsIgnoreCase(viewable.getMimeType()); in updateBodyFields()
/packages/apps/Gallery/src/com/android/camera/
DUtil.java427 intent.setDataAndType(u, image.getMimeType()); in createSetAsIntent()
428 intent.putExtra("mimeType", image.getMimeType()); in createSetAsIntent()

12