Searched refs:SearchSuggestionType (Results 1 – 13 of 13) sorted by relevance
24 import com.android.photopicker.features.search.model.SearchSuggestionType38 type = SearchSuggestionType.HISTORY, in testUpdateHistorySuggestion()54 type = SearchSuggestionType.ALBUM, in testUpdateHistorySuggestion()65 searchSuggestion2.copy(type = SearchSuggestionType.HISTORY), in testUpdateHistorySuggestion()80 type = SearchSuggestionType.HISTORY, in testUpdateHistoryWithDuplicateSuggestion()88 type = SearchSuggestionType.HISTORY, in testUpdateHistoryWithDuplicateSuggestion()96 type = SearchSuggestionType.ALBUM, in testUpdateHistoryWithDuplicateSuggestion()135 searchSuggestion3.copy(type = SearchSuggestionType.HISTORY), in testUpdateHistoryWithDuplicateSuggestion()152 type = SearchSuggestionType.FACE, in testUpdateHistoryWithFaceSuggestion()
29 import com.android.photopicker.features.search.model.SearchSuggestionType51 SearchSuggestion("1", "authority", "France", SearchSuggestionType.LOCATION, null), in getSearchSuggestions()52 SearchSuggestion("2", "authority", "Favorites", SearchSuggestionType.ALBUM, null), in getSearchSuggestions()57 SearchSuggestionType.FACE, in getSearchSuggestions()60 SearchSuggestion(null, "authority", "paris", SearchSuggestionType.HISTORY, null), in getSearchSuggestions()
38 import com.android.photopicker.features.search.model.SearchSuggestionType197 type = SearchSuggestionType.TEXT, in <lambda>()
19 import android.provider.CloudMediaProviderContract.SearchSuggestionType;38 @SearchSuggestionType String searchSuggestionType in SearchSuggestionRequest()52 @SearchSuggestionType String searchSuggestionType, in SearchSuggestionRequest()68 @SearchSuggestionType String searchSuggestionType, in SearchSuggestionRequest()
21 import android.provider.CloudMediaProviderContract.SearchSuggestionType;43 @SearchSuggestionType String searchSuggestionType, in SearchSuggestion()67 @SearchSuggestionType
22 import com.android.photopicker.features.search.model.SearchSuggestionType82 type = SearchSuggestionType.HISTORY, in updateHistorySuggestion()107 SearchSuggestionType.HISTORY -> suggestion in updateHistorySuggestion()108 else -> suggestion.copy(type = SearchSuggestionType.HISTORY) in updateHistorySuggestion()
124 import com.android.photopicker.features.search.model.SearchSuggestionType in <lambda>()401 searchState.suggestion.type == SearchSuggestionType.FACE in SearchInputContent()811 if (suggestion.type == SearchSuggestionType.FACE) { in SuggestionItem()828 suggestion.type != SearchSuggestionType.FACE && in SuggestionItem()829 suggestion.type != SearchSuggestionType.HISTORY && in SuggestionItem()856 SearchSuggestionType.FACE, in ShowFaceSuggestions()1064 private fun getImageVector(suggestionType: SearchSuggestionType): ImageVector { in getImageVector()1066 SearchSuggestionType.HISTORY -> { in getImageVector()1069 SearchSuggestionType.FAVORITES_ALBUM -> { in getImageVector()1072 SearchSuggestionType.LOCATION -> { in getImageVector()[all …]
40 import com.android.photopicker.features.search.model.SearchSuggestionType in <lambda>()300 SearchSuggestionType.HISTORY -> in <lambda>()305 SearchSuggestionType.FACE -> in <lambda>()
25 enum class SearchSuggestionType(val key: String) { in <lambda>() class44 val KeyToSearchSuggestionType: Map<String, SearchSuggestionType> =45 SearchSuggestionType.entries.associateBy { enum -> enum.key } in enum()
36 val type: SearchSuggestionType,42 require(type != SearchSuggestionType.FACE || icon != null) { in <lambda>()45 require(type == SearchSuggestionType.FACE || displayText != null) { in <lambda>()
34 import com.android.photopicker.features.search.model.SearchSuggestionType in <lambda>()88 type = SearchSuggestionType.HISTORY, in <lambda>()95 type = SearchSuggestionType.FACE, in <lambda>()102 type = SearchSuggestionType.TEXT, in <lambda>()
1548 public @interface SearchSuggestionType {} annotation in CloudMediaProviderContract
42 import com.android.photopicker.features.search.model.SearchSuggestionType in <lambda>()1537 private fun getSearchSuggestionType(stringSuggestionType: String?): SearchSuggestionType { in <lambda>()