Searched refs:ContentPreviewType (Results 1 – 13 of 13) sorted by relevance
26 @IntDef({ContentPreviewType.CONTENT_PREVIEW_FILE,27 ContentPreviewType.CONTENT_PREVIEW_IMAGE,28 ContentPreviewType.CONTENT_PREVIEW_TEXT,29 ContentPreviewType.CONTENT_PREVIEW_PAYLOAD_SELECTION})30 public @interface ContentPreviewType { annotation
31 import com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_FILE in <lambda>()32 import com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_IMAGE in <lambda>()33 import com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_PAYLOAD_SELECTI… in <lambda>()34 import com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_TEXT in <lambda>()123 @get:ContentPreviewType in <lambda>()230 @ContentPreviewType in <lambda>()
19 import static com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_FILE;20 import static com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_IMAGE;21 import static com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_PAYLOAD_…22 import static com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_TEXT;
19 import static com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_FILE;20 import static com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_IMAGE;
42 override fun getType(): Int = ContentPreviewType.CONTENT_PREVIEW_IMAGE in <lambda>()
64 return ContentPreviewType.CONTENT_PREVIEW_FILE; in getType()
44 @ContentPreviewType
77 return ContentPreviewType.CONTENT_PREVIEW_TEXT; in getType()
19 import static com.android.intentresolver.contentpreview.ContentPreviewType.CONTENT_PREVIEW_IMAGE;
73 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_TEXT) in createDataProvider()88 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_FILE) in test_sendSingleTextFileWithoutPreview_resolvesToFilePreviewUi()99 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_TEXT) in test_sendIntentWithoutUris_resolvesToTextPreviewUiSynchronously()110 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_IMAGE) in test_sendSingleImage_resolvesToImagePreviewUi()124 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_FILE) in test_sendSingleNonImage_resolvesToFilePreviewUi()142 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_FILE) in test_sendSingleImageWithFailingGetType_resolvesToFilePreviewUi()163 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_FILE) in test_sendSingleImageWithFailingMetadata_resolvesToFilePreviewUi()178 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_IMAGE) in test_SingleNonImageUriWithImageTypeInGetStreamTypes_useImagePreviewUi()214 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_IMAGE) in testMetadataToImagePreview()232 assertThat(testSubject.previewType).isEqualTo(ContentPreviewType.CONTENT_PREVIEW_FILE) in test_emptyQueryResult_cursorGetsClosed()[all …]
83 whenever(previewData.previewType).thenReturn(ContentPreviewType.CONTENT_PREVIEW_TEXT) in test_textPreviewType_useTextPreviewUi()87 .isEqualTo(ContentPreviewType.CONTENT_PREVIEW_TEXT) in test_textPreviewType_useTextPreviewUi()94 whenever(previewData.previewType).thenReturn(ContentPreviewType.CONTENT_PREVIEW_FILE) in test_filePreviewType_useFilePreviewUi()97 .isEqualTo(ContentPreviewType.CONTENT_PREVIEW_FILE) in test_filePreviewType_useFilePreviewUi()105 whenever(previewData.previewType).thenReturn(ContentPreviewType.CONTENT_PREVIEW_IMAGE) in test_imagePreviewTypeWithText_useFilePlusTextPreviewUi()124 whenever(previewData.previewType).thenReturn(ContentPreviewType.CONTENT_PREVIEW_IMAGE) in test_imagePreviewTypeWithoutText_useImagePreviewUi()131 .isEqualTo(ContentPreviewType.CONTENT_PREVIEW_IMAGE) in test_imagePreviewTypeWithoutText_useImagePreviewUi()142 .thenReturn(ContentPreviewType.CONTENT_PREVIEW_PAYLOAD_SELECTION) in test_imagePayloadSelectionTypeWithEnabledFlag_usePayloadSelectionPreviewUi()
29 import com.android.intentresolver.contentpreview.ContentPreviewType;400 case ContentPreviewType.CONTENT_PREVIEW_IMAGE: in typeFromPreviewInt()402 case ContentPreviewType.CONTENT_PREVIEW_FILE: in typeFromPreviewInt()404 case ContentPreviewType.CONTENT_PREVIEW_TEXT: in typeFromPreviewInt()
35 import com.android.intentresolver.contentpreview.ContentPreviewType;123 final int previewType = ContentPreviewType.CONTENT_PREVIEW_FILE; in testLogShareStarted()239 final int previewType = ContentPreviewType.CONTENT_PREVIEW_TEXT; in testLogActionShareWithPreview()