Searched refs:mSearchResults (Results 1 – 4 of 4) sorted by relevance
36 private final List<SearchResult> mSearchResults; field in SearchResultsAdapter40 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 …]
43 private final List<SearchResult> mSearchResults; field in CarSearchResultsAdapter47 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 …]
81 private ArrayList<AdapterItem> mSearchResults; field in AlphabeticalAppsList171 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()
44 private final List<ContentValues> mSearchResults = new ArrayList<>(); field in SearchResultsProvider76 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()