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.java1683 private SearchView mSearchView; field in SearchView.SearchAutoComplete
1707 mSearchView = searchView; in setSearchView()
1749 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
1764 mSearchView.onTextFocusChanged(); in onFocusChanged()
1793 mSearchView.clearFocus(); in onKeyPreIme()
1794 mSearchView.setImeVisibility(false); in onKeyPreIme()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java68 private SearchView mSearchView; field in SuggestionsAdapter
98 mSearchView = searchView; in SuggestionsAdapter()
150 if (mSearchView.getVisibility() != View.VISIBLE in runQueryOnBackgroundThread()
151 || mSearchView.getWindowVisibility() != View.VISIBLE) { in runQueryOnBackgroundThread()
324 mSearchView.onQueryRefine((CharSequence) tag); in onClick()
DSearchView.java1615 private SearchView mSearchView; field in SearchView.SearchAutoComplete
1643 mSearchView = searchView; in setSearchView()
1690 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()
1705 mSearchView.onTextFocusChanged(); in onFocusChanged()
1734 mSearchView.clearFocus(); in onKeyPreIme()
1735 mSearchView.setImeVisibility(false); in onKeyPreIme()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsActivity.java103 private SearchView mSearchView; field in DocumentsActivity
477 mSearchView = (SearchView) searchMenu.getActionView(); in onCreateOptionsMenu()
478 mSearchView.setOnQueryTextListener(new OnQueryTextListener() { in onCreateOptionsMenu()
483 mSearchView.clearFocus(); in onCreateOptionsMenu()
516 mSearchView.setOnCloseListener(new SearchView.OnCloseListener() { in onCreateOptionsMenu()
562 mSearchView.setIconified(false); in onPrepareOptionsMenu()
563 mSearchView.clearFocus(); in onPrepareOptionsMenu()
564 mSearchView.setQuery(mState.currentSearch, false); in onPrepareOptionsMenu()
567 mSearchView.setIconified(true); in onPrepareOptionsMenu()
568 mSearchView.clearFocus(); in onPrepareOptionsMenu()