Home
last modified time | relevance | path

Searched refs:mSearchResults (Results 1 – 4 of 4) sorted by relevance

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchResultsAdapter.java36 private final List<SearchResult> mSearchResults; field in SearchResultsAdapter
40 mSearchResults = new ArrayList<>(); in SearchResultsAdapter()
73 holder.onBind(mFragment, mSearchResults.get(position)); in onBindViewHolder()
78 return mSearchResults.get(position).hashCode(); in getItemId()
83 return mSearchResults.get(position).viewType; in getItemViewType()
88 return mSearchResults.size(); in getItemCount()
96 mSearchResults.addAll(data); in displaySavedQuery()
101 mSearchResults.clear(); in clearResults()
107 new SearchResultDiffCallback(mSearchResults, newSearchResults)); in postSearchResults()
108 mSearchResults.clear(); in postSearchResults()
[all …]
/packages/apps/Car/SettingsIntelligence/src/com/android/settings/intelligence/search/car/
DCarSearchResultsAdapter.java43 private final List<SearchResult> mSearchResults; field in CarSearchResultsAdapter
47 mSearchResults = new ArrayList<>(); in CarSearchResultsAdapter()
73 holder.onBind(mFragment, mSearchResults.get(position)); in onBindViewHolder()
78 return mSearchResults.get(position).hashCode(); in getItemId()
83 return mSearchResults.get(position).viewType; in getItemViewType()
88 return mSearchResults.size(); in getItemCount()
93 new SearchResultDiffCallback(mSearchResults, newSearchResults)); in postSearchResults()
94 mSearchResults.clear(); in postSearchResults()
95 mSearchResults.addAll(newSearchResults); in postSearchResults()
104 mSearchResults.addAll(data); in displaySavedQuery()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java81 private ArrayList<AdapterItem> mSearchResults; field in AlphabeticalAppsList
171 return (mSearchResults != null); in hasFilter()
178 return (mSearchResults != null) && mAccessibilityResultsCount == 0; in hasNoFilteredResults()
185 if (!Objects.equals(results, mSearchResults)) { in setSearchResults()
186 mSearchResults = results; in setSearchResults()
194 if (mSearchResults != null && results != null && results.size() > 0) { in appendSearchResults()
195 updateSearchAdapterItems(results, mSearchResults.size()); in appendSearchResults()
259 if (mSearchResults == null) { in onAppsUpdated()
321 updateSearchAdapterItems(mSearchResults, 0); in refillAdapterItems()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/core/
DSearchResultsProvider.java44 private final List<ContentValues> mSearchResults = new ArrayList<>(); field in SearchResultsProvider
76 mSearchResults.add(values); in insert()
79 contentUri = ContentUris.withAppendedId(contentUri, mSearchResults.size() - 1); in insert()
96 for (ContentValues values : mSearchResults) { in query()
111 mSearchResults.clear(); in delete()