Searched refs:mSuggestionsAdapter (Results 1 – 4 of 4) sorted by relevance
66 private CursorAdapter mSuggestionsAdapter; field in SearchView_CursorTest77 if (mSuggestionsAdapter == null) { in onQueryTextChange()91 mSuggestionsAdapter.swapCursor(c); in onQueryTextChange()111 if (mSuggestionsAdapter != null) { in onSuggestionClick()112 final Cursor cursor = mSuggestionsAdapter.getCursor(); in onSuggestionClick()139 mSuggestionsAdapter = new SimpleCursorAdapter( in setup()146 mSearchView.setSuggestionsAdapter(mSuggestionsAdapter); in setup()161 assertEquals(mSuggestionsAdapter, mSearchView.getSuggestionsAdapter()); in testSuggestionFiltering()191 assertEquals(mSuggestionsAdapter, mSearchView.getSuggestionsAdapter()); in testSuggestionSelection()
148 private CursorAdapter mSuggestionsAdapter; field in SearchView171 if (mSuggestionsAdapter != null && mSuggestionsAdapter instanceof SuggestionsAdapter) {172 mSuggestionsAdapter.changeCursor(null);712 if (mSuggestionsAdapter instanceof SuggestionsAdapter) { in setQueryRefinementEnabled()713 ((SuggestionsAdapter) mSuggestionsAdapter).setQueryRefinement( in setQueryRefinementEnabled()733 mSuggestionsAdapter = adapter; in setSuggestionsAdapter()735 mSearchSrcTextView.setAdapter(mSuggestionsAdapter); in setSuggestionsAdapter()743 return mSuggestionsAdapter; in getSuggestionsAdapter()1069 if (mSuggestionsAdapter == null) { in onSuggestionsKey()1113 Cursor c = mSuggestionsAdapter.getCursor(); in onSuggestionsKey()[all …]
3380 private SuggestionAdapter mSuggestionsAdapter; field in Editor.SuggestionsPopupWindow3460 mSuggestionsAdapter = new SuggestionAdapter(); in initContentView()3461 mSuggestionListView.setAdapter(mSuggestionsAdapter); in initContentView()3602 view = mSuggestionsAdapter.getView(i, view, mContentView); in measureContent()3714 mSuggestionsAdapter.notifyDataSetChanged(); in updateSuggestions()
159 CursorAdapter mSuggestionsAdapter; field in SearchView186 if (mSuggestionsAdapter != null && mSuggestionsAdapter instanceof SuggestionsAdapter) {187 mSuggestionsAdapter.changeCursor(null);722 if (mSuggestionsAdapter instanceof SuggestionsAdapter) { in setQueryRefinementEnabled()723 ((SuggestionsAdapter) mSuggestionsAdapter).setQueryRefinement( in setQueryRefinementEnabled()743 mSuggestionsAdapter = adapter; in setSuggestionsAdapter()745 mSearchSrcTextView.setAdapter(mSuggestionsAdapter); in setSuggestionsAdapter()753 return mSuggestionsAdapter; in getSuggestionsAdapter()1044 if (mSuggestionsAdapter == null) { in onSuggestionsKey()1129 if (mSuggestionsAdapter != null) { in updateSearchAutoComplete()[all …]