Home
last modified time | relevance | path

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

123

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java451 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 …]
DDataAction.java78 mMimeType = item.getMimeType(); in DataAction()
233 mIntent.setDataAndType(mDataUri, item.getMimeType()); in DataAction()
259 public String getMimeType() { in getMimeType() method in DataAction
DAction.java32 public String getMimeType(); in getMimeType() method
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java234 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/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeBodyPart.java93 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()
DMimeUtility.java220 String mimeType = part.getMimeType(); in getTextFromPart()
363 String mimeType = part.getMimeType().toLowerCase(); in collectParts()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveHandleTest.java259 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/StorageManager/src/com/android/storagemanager/utils/
DIconProvider.java46 public static String getMimeType(File file) { in getMimeType() method in IconProvider
61 String mimeType = getMimeType(file); in isImageType()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java119 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/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java112 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/
DUriSource.java58 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/
DGalleryGridItemData.java47 mimeType = Assert.isNotNull(copyData.getMimeType()); in GalleryGridItemData()
77 public String getMimeType() { in getMimeType() method in GalleryGridItemData
/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/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java76 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/
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/DocumentsUI/src/com/android/documentsui/archives/
DArchiveHandle.java113 protected String getMimeType() { in getMimeType() method in ArchiveHandle
250 return createCommonArchive(fileInputStream, getMimeType()); in recreateCommonArchive()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java643 .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/
DImapHelper.java559 if (!message.getMimeType().startsWith("multipart/")) { in getMessageOrNull()
569 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase(); in getMessageOrNull()
619 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase(); in getVoicemailPayloadFromMessage()
DVoicemailPayload.java33 public String getMimeType() { in getMimeType() method in VoicemailPayload
/packages/apps/Gallery/src/com/android/camera/
DUtil.java427 intent.setDataAndType(u, image.getMimeType()); in createSetAsIntent()
428 intent.putExtra("mimeType", image.getMimeType()); in createSetAsIntent()
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstMediaItem.java56 public String getMimeType(); in getMimeType() method
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideo.java37 public @NonNull String getMimeType() { in getMimeType() method in Video
/packages/apps/Gallery/src/com/android/camera/gallery/
DIImage.java61 public abstract String getMimeType(); in getMimeType() method
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DPart.java46 public String getMimeType() throws MessagingException; in getMimeType() method

123