Home
last modified time | relevance | path

Searched refs:withMimeType (Results 1 – 9 of 9) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/
DUnifiedContentPreviewUiTest.kt112 FileInfo.Builder(uri).withMimeType("image/png").build(), in <lambda>()
113 FileInfo.Builder(uri).withMimeType("image/jpeg").build(), in <lambda>()
126 FileInfo.Builder(uri).withMimeType("video/mp4").build(), in <lambda>()
127 FileInfo.Builder(uri).withMimeType("video/mp4").build(), in <lambda>()
140 FileInfo.Builder(uri).withMimeType("image/png").build(), in <lambda>()
141 FileInfo.Builder(uri).withMimeType("video/mp4").build(), in <lambda>()
154 FileInfo.Builder(uri).withMimeType("application/pdf").build(), in <lambda>()
155 FileInfo.Builder(uri).withMimeType("application/pdf").build(), in <lambda>()
DChooserContentPreviewUiTest.kt108 .thenReturn(FileInfo.Builder(uri).withPreviewUri(uri).withMimeType("image/png").build()) in test_imagePreviewTypeWithText_useFilePlusTextPreviewUi()
127 .thenReturn(FileInfo.Builder(uri).withPreviewUri(uri).withMimeType("image/png").build()) in test_imagePreviewTypeWithoutText_useImagePreviewUi()
145 .thenReturn(FileInfo.Builder(uri).withPreviewUri(uri).withMimeType("image/png").build()) in test_imagePayloadSelectionTypeWithEnabledFlag_usePayloadSelectionPreviewUi()
DFilesPlusTextContentPreviewUiTest.kt316 return mimeTypes.map { mimeType -> FileInfo.Builder(uri).withMimeType(mimeType).build() } in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DFileInfo.kt35 fun withMimeType(mimeType: String?): Builder = apply { this.mimeType = mimeType } in <lambda>() method in com.android.intentresolver.contentpreview.FileInfo.Builder
DUriMetadataReader.kt46 builder.withMimeType(mimeType) in getMetadata()
DPreviewDataProvider.kt196 withMimeType(record.mimeType) in <lambda>()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemData.java241 public Builder withMimeType(String mimeType) { in withMimeType() method in FilmstripItemData.Builder
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCursorPreviewsInteractorTest.kt71 .withMimeType("image/bitmap") in <lambda>()
DFetchPreviewsInteractorTest.kt74 .withMimeType("image/bitmap") in runTest()