Home
last modified time | relevance | path

Searched refs:PreviewType (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/
DContentPreviewUiTest.kt19 import com.android.intentresolver.widget.ScrollableImagePreviewView.PreviewType
33 .isEqualTo(PreviewType.Image) in testPreviewTypes()
35 .isEqualTo(PreviewType.Video) in testPreviewTypes()
37 .isEqualTo(PreviewType.File) in testPreviewTypes()
39 .isEqualTo(PreviewType.File) in testPreviewTypes()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DContentPreviewUi.java117 static ScrollableImagePreviewView.PreviewType getPreviewType( in getPreviewType()
120 return ScrollableImagePreviewView.PreviewType.File; in getPreviewType()
123 return ScrollableImagePreviewView.PreviewType.Image; in getPreviewType()
126 return ScrollableImagePreviewView.PreviewType.Video; in getPreviewType()
128 return ScrollableImagePreviewView.PreviewType.File; in getPreviewType()
DUnifiedContentPreviewUi.java166 ScrollableImagePreviewView.PreviewType previewType = in updatePreviewWithFiles()
168 allImages = allImages && previewType == ScrollableImagePreviewView.PreviewType.Image; in updatePreviewWithFiles()
169 allVideos = allVideos && previewType == ScrollableImagePreviewView.PreviewType.Video; in updatePreviewWithFiles()
DFilesPlusTextContentPreviewUi.java119 ScrollableImagePreviewView.PreviewType previewType = in updatePreviewMetadata()
121 allImages = allImages && previewType == ScrollableImagePreviewView.PreviewType.Image; in updatePreviewMetadata()
122 allVideos = allVideos && previewType == ScrollableImagePreviewView.PreviewType.Video; in updatePreviewMetadata()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DScrollableImagePreviewView.kt270 val type: PreviewType, in <lambda>()
276 type: PreviewType, in <lambda>()
282 enum class PreviewType { in <lambda>() class
336 val pos = newPreviews.indexOfFirst { it.type == PreviewType.Image } in <lambda>()
458 PreviewType.Image -> { in <lambda>()
462 PreviewType.Video -> { in <lambda>()
481 if (preview.type == PreviewType.Image && previewReadyCallback != null) { in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/widget/
DBatchPreviewLoaderTest.kt25 import com.android.intentresolver.widget.ScrollableImagePreviewView.PreviewType in <lambda>()
173 acc.apply { add(Preview(PreviewType.Image, uri, editAction = null)) } in <lambda>()