Home
last modified time | relevance | path

Searched refs:mSearchView (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DSearchViewTest.java64 private SearchView mSearchView; field in SearchViewTest
83 mSearchView = (SearchView) mActivity.findViewById(R.id.search_view); in setup()
120 mSearchView.setIconified(true); in testAccessIconified()
121 assertTrue(mSearchView.isIconified()); in testAccessIconified()
123 mSearchView.setIconified(false); in testAccessIconified()
124 assertFalse(mSearchView.isIconified()); in testAccessIconified()
130 mSearchView.setIconifiedByDefault(true); in testAccessIconifiedByDefault()
131 assertTrue(mSearchView.isIconfiedByDefault()); in testAccessIconifiedByDefault()
133 mSearchView.setIconifiedByDefault(false); in testAccessIconifiedByDefault()
134 assertFalse(mSearchView.isIconfiedByDefault()); in testAccessIconifiedByDefault()
[all …]
DSearchView_CursorTest.java74 private SearchView mSearchView; field in SearchView_CursorTest
108 final AutoCompleteTextView searchSrcText = findAutoCompleteTextView(mSearchView); in enoughToFilter()
144 mSearchView.setQuery(cursor.getString(1), false); in onSuggestionClick()
168 mSearchView = (SearchView) mActivity.findViewById(R.id.search_view); in setup()
184 mSearchView.setSuggestionsAdapter(mSuggestionsAdapter); in setup()
195 mSearchView.setIconifiedByDefault(false); in testSuggestionFiltering()
196 mSearchView.setOnQueryTextListener(mockQueryTextListener); in testSuggestionFiltering()
197 mSearchView.requestFocus(); in testSuggestionFiltering()
199 assertTrue(mSearchView.hasFocus()); in testSuggestionFiltering()
200 assertEquals(mSuggestionsAdapter, mSearchView.getSuggestionsAdapter()); in testSuggestionFiltering()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DSearchViewTest.java222 private final SearchView mSearchView; field in SearchViewTest.SingleItemAdapter
225 mSearchView = searchView; in SingleItemAdapter()
235 return mSearchView; in getItem()
245 return mSearchView; in getView()