Searched refs:mSearchResults (Results 1 – 5 of 5) sorted by relevance
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | SearchResultsAdapter.java | 36 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/ |
D | CarSearchResultsAdapter.java | 43 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/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | SyncSearchResultsImpl.java | 28 private final SearchResults mSearchResults; field in SyncSearchResultsImpl 32 mSearchResults = Objects.requireNonNull(searchResults); in SyncSearchResultsImpl() 39 resultHandler -> mSearchResults.getNextPage(mExecutor, resultHandler)); in getNextPage()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AlphabeticalAppsList.java | 98 private final ArrayList<AdapterItem> mSearchResults = new ArrayList<>(); field in AlphabeticalAppsList 194 return !mSearchResults.isEmpty(); in hasSearchResults() 201 if (Objects.equals(results, mSearchResults)) { in setSearchResults() 204 mSearchResults.clear(); in setSearchResults() 206 mSearchResults.addAll(results); in setSearchResults() 259 if (mSearchResults.isEmpty()) { in onAppsUpdated() 278 mAdapterItems.addAll(mSearchResults); in updateAdapterItems()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/ |
D | AppSearchDaoTest.java | 74 @Mock SearchResults mSearchResults; field in AppSearchDaoTest 120 when(mSearchResults.getNextPageAsync()).thenReturn(Futures.immediateFuture(mMockPage)); in testIterateSearchResults_emptyPage() 123 AppSearchConsentDao.class, mSearchResults, mExecutor); in testIterateSearchResults_emptyPage() 131 when(mSearchResults.getNextPageAsync()).thenReturn(Futures.immediateFuture(mMockPage)); in testIterateSearchResults() 144 AppSearchConsentDao.class, mSearchResults, mExecutor); in testIterateSearchResults() 200 when(mSearchResults.getNextPageAsync()).thenReturn(Futures.immediateFuture(mMockPage)); in testReadConsentData() 211 when(mGlobalSearchSession.search(any(), any())).thenReturn(mSearchResults); in testReadConsentData() 273 when(mSearchResults.getNextPageAsync()).thenReturn(Futures.immediateFuture(mMockPage)); in testReadAppSearchData() 284 when(mAppSearchSession.search(any(), any())).thenReturn(mSearchResults); in testReadAppSearchData()
|