Searched refs:withMimeType (Results 1 – 9 of 9) sorted by relevance
112 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>()
108 .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()
316 return mimeTypes.map { mimeType -> FileInfo.Builder(uri).withMimeType(mimeType).build() } in <lambda>()
35 fun withMimeType(mimeType: String?): Builder = apply { this.mimeType = mimeType } in <lambda>() method in com.android.intentresolver.contentpreview.FileInfo.Builder
46 builder.withMimeType(mimeType) in getMetadata()
196 withMimeType(record.mimeType) in <lambda>()
241 public Builder withMimeType(String mimeType) { in withMimeType() method in FilmstripItemData.Builder
71 .withMimeType("image/bitmap") in <lambda>()
74 .withMimeType("image/bitmap") in runTest()