Searched refs:PreviewType (Results 1 – 6 of 6) sorted by relevance
19 import com.android.intentresolver.widget.ScrollableImagePreviewView.PreviewType33 .isEqualTo(PreviewType.Image) in testPreviewTypes()35 .isEqualTo(PreviewType.Video) in testPreviewTypes()37 .isEqualTo(PreviewType.File) in testPreviewTypes()39 .isEqualTo(PreviewType.File) in testPreviewTypes()
117 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()
166 ScrollableImagePreviewView.PreviewType previewType = in updatePreviewWithFiles()168 allImages = allImages && previewType == ScrollableImagePreviewView.PreviewType.Image; in updatePreviewWithFiles()169 allVideos = allVideos && previewType == ScrollableImagePreviewView.PreviewType.Video; in updatePreviewWithFiles()
119 ScrollableImagePreviewView.PreviewType previewType = in updatePreviewMetadata()121 allImages = allImages && previewType == ScrollableImagePreviewView.PreviewType.Image; in updatePreviewMetadata()122 allVideos = allVideos && previewType == ScrollableImagePreviewView.PreviewType.Video; in updatePreviewMetadata()
270 val type: PreviewType, in <lambda>()276 type: PreviewType, in <lambda>()282 enum class PreviewType { in <lambda>() class336 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>()
25 import com.android.intentresolver.widget.ScrollableImagePreviewView.PreviewType in <lambda>()173 acc.apply { add(Preview(PreviewType.Image, uri, editAction = null)) } in <lambda>()