Home
last modified time | relevance | path

Searched refs:SearchSuggestionType (Results 1 – 13 of 13) sorted by relevance

/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/search/
DSearchSuggestionCacheTest.kt24 import com.android.photopicker.features.search.model.SearchSuggestionType
38 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()
DTestSearchDataServiceImpl.kt29 import com.android.photopicker.features.search.model.SearchSuggestionType
51 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()
DSearchViewModelTest.kt38 import com.android.photopicker.features.search.model.SearchSuggestionType
197 type = SearchSuggestionType.TEXT, in <lambda>()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/model/
DSearchSuggestionRequest.java19 import android.provider.CloudMediaProviderContract.SearchSuggestionType;
38 @SearchSuggestionType String searchSuggestionType in SearchSuggestionRequest()
52 @SearchSuggestionType String searchSuggestionType, in SearchSuggestionRequest()
68 @SearchSuggestionType String searchSuggestionType, in SearchSuggestionRequest()
DSearchSuggestion.java21 import android.provider.CloudMediaProviderContract.SearchSuggestionType;
43 @SearchSuggestionType String searchSuggestionType, in SearchSuggestion()
67 @SearchSuggestionType
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/search/
DSearchSuggestionCache.kt22 import com.android.photopicker.features.search.model.SearchSuggestionType
82 type = SearchSuggestionType.HISTORY, in updateHistorySuggestion()
107 SearchSuggestionType.HISTORY -> suggestion in updateHistorySuggestion()
108 else -> suggestion.copy(type = SearchSuggestionType.HISTORY) in updateHistorySuggestion()
DSearch.kt124 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 …]
DSearchViewModel.kt40 import com.android.photopicker.features.search.model.SearchSuggestionType in <lambda>()
300 SearchSuggestionType.HISTORY -> in <lambda>()
305 SearchSuggestionType.FACE -> in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/search/model/
DSearchSuggestionType.kt25 enum class SearchSuggestionType(val key: String) { in <lambda>() class
44 val KeyToSearchSuggestionType: Map<String, SearchSuggestionType> =
45 SearchSuggestionType.entries.associateBy { enum -> enum.key } in enum()
DSearchSuggestion.kt36 val type: SearchSuggestionType,
42 require(type != SearchSuggestionType.FACE || icon != null) { in <lambda>()
45 require(type == SearchSuggestionType.FACE || displayText != null) { in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/
DTestMediaProvider.kt34 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>()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DCloudMediaProviderContract.java1548 public @interface SearchSuggestionType {} annotation in CloudMediaProviderContract
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/
DMediaProviderClient.kt42 import com.android.photopicker.features.search.model.SearchSuggestionType in <lambda>()
1537 private fun getSearchSuggestionType(stringSuggestionType: String?): SearchSuggestionType { in <lambda>()