/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeUtilityTest.java | 415 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()
|
D | Rfc822OutputTests.java | 138 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/quickcontact/ |
D | QuickContactActivity.java | 451 final String selectedMimeType = info.getMimeType(); 549 if (!lhs.getMimeType().equals(rhs.getMimeType())) { 551 lhs.getMimeType() + " rhs.getMimeType(): " + rhs.getMimeType()); 579 final String lhsMimeType = lhs.getMimeType(); 580 final String rhsMimeType = rhs.getMimeType(); 1234 final String mimeType = dataItem.getMimeType(); in generateDataModelFromContact() 1298 if (SORTED_ABOUT_CARD_MIMETYPES.contains(topDataItem.getMimeType())) { in generateDataModelFromContact() 1430 dataItem.getMimeType(), dataItem.getId(), dataItem.isSuperPrimary()); in dataItemToEntry() 1436 dataItem.getMimeType(), dataItem.getId(), dataItem.isSuperPrimary()); in dataItemToEntry() 1452 dataItem.getMimeType(), dataItem.getId(), dataItem.isSuperPrimary()); in dataItemToEntry() [all …]
|
D | DataAction.java | 78 mMimeType = item.getMimeType(); in DataAction() 233 mIntent.setDataAndType(mDataUri, item.getMimeType()); in DataAction() 259 public String getMimeType() { in getMimeType() method in DataAction
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
D | Entity.java | 104 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/Contacts/src/com/android/contacts/editor/ |
D | KindSectionView.java | 234 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionData.getMimeType())) { in isEmptyName() 250 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionData.getMimeType()) in getNameEditorView() 258 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionData.getMimeType())) { in getPhoneticEditorView() 305 final String mimeType = mKindSectionData.getMimeType(); in rebuildFromState() 435 mKindSectionData.getMimeType()); in updateEmptyEditors() 437 mKindSectionData.getMimeType()); in updateEmptyEditors() 551 final String mimeType = mKindSectionData.getMimeType(); in updateEmptyNonNameEditors()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
D | ContentTypeField.java | 95 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/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeBodyPart.java | 93 String contentType = String.format("%s;\n charset=utf-8", getMimeType()); in setBody() 135 public String getMimeType() throws MessagingException { in getMimeType() method in MimeBodyPart 141 return getMimeType().equals(mimeType); in isMimeType()
|
D | MimeUtility.java | 220 String mimeType = part.getMimeType(); in getTextFromPart() 363 String mimeType = part.getMimeType().toLowerCase(); in collectParts()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeBodyPart.java | 98 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()
|
D | MimeUtility.java | 229 String mimeType = part.getMimeType(); in getTextFromPart() 379 String mimeType = part.getMimeType().toLowerCase(); in collectParts()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchiveHandleTest.java | 259 assertThat(archiveHandle.getMimeType()).isEqualTo("application/x-7z-compressed"); in getMimeType_sevenZFile_shouldBeSevenZ() 269 assertThat(archiveHandle.getMimeType()) in getMimeType_tarBrotli_shouldBeBrotliCompressedTar() 280 assertThat(archiveHandle.getMimeType()) in getMimeType_tarXz_shouldBeXzCompressedTar() 291 assertThat(archiveHandle.getMimeType()) in getMimeType_tarGz_shouldBeCompressedTar()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataItem.java | 119 public String getMimeType() { in getMimeType() method in DataItem 226 return MoreContactUtils.shouldCollapse(getMimeType(), buildDataString(context, mKind), in shouldCollapseWith() 227 t.getMimeType(), t.buildDataString(context, t.getDataKind())); in shouldCollapseWith()
|
/packages/apps/StorageManager/src/com/android/storagemanager/utils/ |
D | IconProvider.java | 46 public static String getMimeType(File file) { in getMimeType() method in IconProvider 61 String mimeType = getMimeType(file); in isImageType()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | DataItem.java | 112 public String getMimeType() { in getMimeType() method in DataItem 239 getMimeType(), in shouldCollapseWith() 241 t.getMimeType(), in shouldCollapseWith()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriSource.java | 58 private String getMimeType(Uri uri) { in getMimeType() method in UriSource 75 String mimeType = getMimeType(uri); in findPathByUri()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryGridItemData.java | 47 mimeType = Assert.isNotNull(copyData.getMimeType()); in GalleryGridItemData() 77 public String getMimeType() { in getMimeType() method in GalleryGridItemData
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemBase.java | 136 String mimeType = (data.getMimeType() == null) ? "" : data.getMimeType(); in generateSignature()
|
D | FilmstripItemData.java | 88 public String getMimeType() { in getMimeType() method in FilmstripItemData 220 builder.mMimeType = data.getMimeType(); in from()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | BaseItemDragListener.java | 76 public String getMimeType() { in getMimeType() method in BaseItemDragListener 115 if (desc == null || !desc.hasMimeType(getMimeType())) { in onDragStart()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | ImageLoader.java | 75 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/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchiveHandle.java | 113 protected String getMimeType() { in getMimeType() method in ArchiveHandle 250 return createCommonArchive(fileInputStream, getMimeType()); in recreateCommonArchive()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPage.java | 643 .setType(MenuExecutor.getMimeType(type)) in createShareIntent() 665 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchTinyPlanet() 687 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchPhotoEditor() 709 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchSimpleEditor() 1049 intent.setDataAndType(manager.getContentUri(path), current.getMimeType()) in onItemSelected()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
D | ImapHelper.java | 559 if (!message.getMimeType().startsWith("multipart/")) { in getMessageOrNull() 569 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase(); in getMessageOrNull() 619 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase(); in getVoicemailPayloadFromMessage()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 427 intent.setDataAndType(u, image.getMimeType()); in createSetAsIntent() 428 intent.putExtra("mimeType", image.getMimeType()); in createSetAsIntent()
|