Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DSearchView_CursorTest.java66 private CursorAdapter mSuggestionsAdapter; field in SearchView_CursorTest
77 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()
/frameworks/base/core/java/android/widget/
DSearchView.java148 private CursorAdapter mSuggestionsAdapter; field in SearchView
171 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 …]
DEditor.java3380 private SuggestionAdapter mSuggestionsAdapter; field in Editor.SuggestionsPopupWindow
3460 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()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java159 CursorAdapter mSuggestionsAdapter; field in SearchView
186 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 …]