Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DSearchViewTest.java56 private SearchView mSearchView; field in SearchViewTest
66 mSearchView = (SearchView) mActivity.findViewById(R.id.search_view); in setup()
97 mSearchView.setIconified(true); in testAccessIconified()
98 assertTrue(mSearchView.isIconified()); in testAccessIconified()
100 mSearchView.setIconified(false); in testAccessIconified()
101 assertFalse(mSearchView.isIconified()); in testAccessIconified()
107 mSearchView.setIconifiedByDefault(true); in testAccessIconifiedByDefault()
108 assertTrue(mSearchView.isIconfiedByDefault()); in testAccessIconifiedByDefault()
110 mSearchView.setIconifiedByDefault(false); in testAccessIconifiedByDefault()
111 assertFalse(mSearchView.isIconfiedByDefault()); in testAccessIconifiedByDefault()
[all …]
DSearchView_CursorTest.java61 private SearchView mSearchView; field in SearchView_CursorTest
96 final View searchSrcText = mSearchView.findViewById(R.id.search_src_text); in enoughToFilter()
115 mSearchView.setQuery(cursor.getString(1), false); in onSuggestionClick()
131 mSearchView = (SearchView) mActivity.findViewById(R.id.search_view); in setup()
146 mSearchView.setSuggestionsAdapter(mSuggestionsAdapter); in setup()
156 mSearchView.setIconifiedByDefault(false); in testSuggestionFiltering()
157 mSearchView.setOnQueryTextListener(mockQueryTextListener); in testSuggestionFiltering()
158 mSearchView.requestFocus(); in testSuggestionFiltering()
160 assertTrue(mSearchView.hasFocus()); in testSuggestionFiltering()
161 assertEquals(mSuggestionsAdapter, mSearchView.getSuggestionsAdapter()); in testSuggestionFiltering()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DLocalePickerWithRegion.java55 private SearchView mSearchView = null; field in LocalePickerWithRegion
190 if (mSearchView != null) { in onPause()
191 mPreviousSearchHadFocus = mSearchView.hasFocus(); in onPause()
192 mPreviousSearch = mSearchView.getQuery(); in onPause()
235 mSearchView = (SearchView) searchMenuItem.getActionView(); in onCreateOptionsMenu()
237 mSearchView.setQueryHint(getText(R.string.search_language_hint)); in onCreateOptionsMenu()
238 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
243 mSearchView.setIconified(false); in onCreateOptionsMenu()
244 mSearchView.setActivated(true); in onCreateOptionsMenu()
246 mSearchView.requestFocus(); in onCreateOptionsMenu()
[all …]
/frameworks/base/core/java/android/app/
DSearchDialog.java81 private SearchView mSearchView; field in SearchDialog
168 mSearchView = findViewById(com.android.internal.R.id.search_view); in createContentView()
169 mSearchView.setIconified(false); in createContentView()
170 mSearchView.setOnCloseListener(mOnCloseListener); in createContentView()
171 mSearchView.setOnQueryTextListener(mOnQueryChangeListener); in createContentView()
172 mSearchView.setOnSuggestionListener(mOnSuggestionSelectionListener); in createContentView()
173 mSearchView.onActionViewExpanded(); in createContentView()
184 mBadgeLabel = (TextView) mSearchView.findViewById(com.android.internal.R.id.search_badge); in createContentView()
186 mSearchView.findViewById(com.android.internal.R.id.search_src_text); in createContentView()
188 mSearchPlate = mSearchView.findViewById(com.android.internal.R.id.search_plate); in createContentView()
[all …]
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java68 private final SearchView mSearchView; field in SuggestionsAdapter
105 mSearchView = searchView; in SuggestionsAdapter()
187 if (mSearchView.getVisibility() != View.VISIBLE in runQueryOnBackgroundThread()
188 || mSearchView.getWindowVisibility() != View.VISIBLE) { in runQueryOnBackgroundThread()
372 mSearchView.onQueryRefine((CharSequence) tag); in onClick()
DSearchView.java1885 private SearchView mSearchView; field in SearchView.SearchAutoComplete
1920 mSearchView = searchView; in setSearchView()
1962 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
1979 mSearchView.onTextFocusChanged(); in onFocusChanged()
2008 mSearchView.clearFocus(); in onKeyPreIme()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java68 private final SearchView mSearchView; field in SuggestionsAdapter
97 mSearchView = searchView; in SuggestionsAdapter()
151 if (mSearchView.getVisibility() != View.VISIBLE in runQueryOnBackgroundThread()
152 || mSearchView.getWindowVisibility() != View.VISIBLE) { in runQueryOnBackgroundThread()
330 mSearchView.onQueryRefine((CharSequence) tag); in onClick()
DSearchView.java1825 private SearchView mSearchView; field in SearchView.SearchAutoComplete
1857 mSearchView = searchView; in setSearchView()
1899 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
1916 mSearchView.onTextFocusChanged(); in onFocusChanged()
1945 mSearchView.clearFocus(); in onKeyPreIme()