Home
last modified time | relevance | path

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

1234

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java452 final String selectedMimeType = info.getMimeType();
550 if (!lhs.getMimeType().equals(rhs.getMimeType())) {
552 lhs.getMimeType() + " rhs.getMimeType(): " + rhs.getMimeType());
580 final String lhsMimeType = lhs.getMimeType();
581 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()
1435 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.java255 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionData.getMimeType())) { in isEmptyName()
271 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionData.getMimeType()) in getNameEditorView()
279 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionData.getMimeType())) { in getPhoneticEditorView()
333 final String mimeType = mKindSectionData.getMimeType(); in rebuildFromState()
464 mKindSectionData.getMimeType()); in updateEmptyEditors()
466 mKindSectionData.getMimeType()); in updateEmptyEditors()
580 final String mimeType = mKindSectionData.getMimeType(); in updateEmptyNonNameEditors()
/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/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()
/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/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/intent/
DTargetIntentModifier.kt41 private val getMimeType: Item.() -> String?, constant in com.android.intentresolver.contentpreview.payloadtoggle.domain.intent.TargetIntentModifierImpl
47 updateMimeType(item.getMimeType(), target) in intentFromSelection()
/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/dialer/callcomposer/
DGalleryGridItemData.java47 mimeType = Assert.isNotNull(copyData.getMimeType()); in GalleryGridItemData()
77 public String getMimeType() { in getMimeType() method in GalleryGridItemData
/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/DocumentsUI/tests/functional/com/android/documentsui/archives/
DArchiveHandleTest.java255 assertThat(archiveHandle.getMimeType()).isEqualTo("application/x-7z-compressed"); in getMimeType_sevenZFile_shouldBeSevenZ()
265 assertThat(archiveHandle.getMimeType()) in getMimeType_tarBrotli_shouldBeBrotliCompressedTar()
276 assertThat(archiveHandle.getMimeType()) in getMimeType_tarXz_shouldBeXzCompressedTar()
287 assertThat(archiveHandle.getMimeType()) in getMimeType_tarGz_shouldBeCompressedTar()
/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.java72 public String getMimeType() { in getMimeType() method in BaseItemDragListener
111 if (desc == null || !desc.hasMimeType(getMimeType())) { in onDragStart()
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstMediaItem.java56 public String getMimeType(); in getMimeType() method
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DVoicemailPayload.java33 public String getMimeType() { in getMimeType() method in VoicemailPayload
/packages/services/Telephony/src/com/android/phone/callcomposer/
DImageData.java35 public String getMimeType() { in getMimeType() method in ImageData
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideo.java37 public @NonNull String getMimeType() { in getMimeType() method in Video
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DEventUrlPayloadTest.java38 assertEquals("image/gif", payload.getMimeType()); in testPayload()
/packages/apps/Gallery/src/com/android/camera/gallery/
DIImage.java61 public abstract String getMimeType(); in getMimeType() method
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventUrlPayload.java50 @Nullable public String getMimeType() { in getMimeType() method in EventUrlPayload
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DPart.java46 public String getMimeType() throws MessagingException; in getMimeType() method
/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()

1234