Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DSearchDialog.java81 private SearchView mSearchView; field in SearchDialog
170 mSearchView = (SearchView) findViewById(com.android.internal.R.id.search_view); in createContentView()
171 mSearchView.setIconified(false); in createContentView()
172 mSearchView.setOnCloseListener(mOnCloseListener); in createContentView()
173 mSearchView.setOnQueryTextListener(mOnQueryChangeListener); in createContentView()
174 mSearchView.setOnSuggestionListener(mOnSuggestionSelectionListener); in createContentView()
175 mSearchView.onActionViewExpanded(); in createContentView()
186 mBadgeLabel = (TextView) mSearchView.findViewById(com.android.internal.R.id.search_badge); in createContentView()
188 mSearchView.findViewById(com.android.internal.R.id.search_src_text); in createContentView()
190 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()
186 if (mSearchView.getVisibility() != View.VISIBLE in runQueryOnBackgroundThread()
187 || mSearchView.getWindowVisibility() != View.VISIBLE) { in runQueryOnBackgroundThread()
371 mSearchView.onQueryRefine((CharSequence) tag); in onClick()
DSearchView.java1704 private SearchView mSearchView; field in SearchView.SearchAutoComplete
1728 mSearchView = searchView; in setSearchView()
1770 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
1785 mSearchView.onTextFocusChanged(); in onFocusChanged()
1814 mSearchView.clearFocus(); in onKeyPreIme()
1815 mSearchView.setImeVisibility(false); in onKeyPreIme()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsActivity.java103 private SearchView mSearchView; field in DocumentsActivity
478 mSearchView = (SearchView) searchMenu.getActionView(); in onCreateOptionsMenu()
479 mSearchView.setOnQueryTextListener(new OnQueryTextListener() { in onCreateOptionsMenu()
484 mSearchView.clearFocus(); in onCreateOptionsMenu()
517 mSearchView.setOnCloseListener(new SearchView.OnCloseListener() { in onCreateOptionsMenu()
563 mSearchView.setIconified(false); in onPrepareOptionsMenu()
564 mSearchView.clearFocus(); in onPrepareOptionsMenu()
565 mSearchView.setQuery(mState.currentSearch, false); in onPrepareOptionsMenu()
568 mSearchView.setIconified(true); in onPrepareOptionsMenu()
569 mSearchView.clearFocus(); in onPrepareOptionsMenu()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java69 private final SearchView mSearchView; field in SuggestionsAdapter
98 mSearchView = searchView; in SuggestionsAdapter()
152 if (mSearchView.getVisibility() != View.VISIBLE in runQueryOnBackgroundThread()
153 || mSearchView.getWindowVisibility() != View.VISIBLE) { in runQueryOnBackgroundThread()
330 mSearchView.onQueryRefine((CharSequence) tag); in onClick()
DSearchView.java1612 private SearchView mSearchView; field in SearchView.SearchAutoComplete
1628 mSearchView = searchView; in setSearchView()
1670 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
1685 mSearchView.onTextFocusChanged(); in onFocusChanged()
1714 mSearchView.clearFocus(); in onKeyPreIme()
1715 mSearchView.setImeVisibility(false); in onKeyPreIme()