Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java61 private SearchView mSearchView; field in SearchViewManager
79 mSearchView = (SearchView) mMenuItem.getActionView(); in install()
81 mSearchView.setOnQueryTextListener(this); in install()
82 mSearchView.setOnCloseListener(this); in install()
83 mSearchView.setOnSearchClickListener(this); in install()
84 mSearchView.setOnQueryTextFocusChangeListener(this); in install()
91 mSearchView.setMaxWidth(Integer.MAX_VALUE); in install()
119 mSearchView.setIconified(false); in update()
120 mSearchView.clearFocus(); in update()
121 mSearchView.setQuery(mCurrentSearch, false); in update()
[all …]
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java83 private EditText mSearchView; field in ActionBarAdapter
153 mSearchView = (EditText) mSearchContainer.findViewById(R.id.search_view); in setupSearchAndSelectionViews()
154 mSearchView.setHint(mActivity.getString(mSearchHintResId)); in setupSearchAndSelectionViews()
155 mSearchView.addTextChangedListener(new SearchTextWatcher()); in setupSearchAndSelectionViews()
266 if (mSearchView == null) { in setSearchMode()
270 mSearchView.setEnabled(true); in setSearchMode()
274 mSearchView.setEnabled(false); in setSearchMode()
279 if (mSearchView != null) setFocusOnSearchView(); in setSearchMode()
296 if (mSearchView != null) { in setQueryString()
297 mSearchView.setText(query); in setQueryString()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java49 private EditText mSearchView; field in SearchEditTextLayout
85 mSearchView = (EditText) mExpanded.findViewById(R.id.search_view); in onFinishInflate()
110 mSearchView.onTouchEvent(event); in onFinishInflate()
114 mSearchView.setOnFocusChangeListener( in onFinishInflate()
126 mSearchView.setOnClickListener( in onFinishInflate()
136 mSearchView.addTextChangedListener( in onFinishInflate()
155 mSearchView.setText(null); in onFinishInflate()
239 mSearchView.requestFocus(); in expand()
281 if (TextUtils.isEmpty(mSearchView.getText())) { in updateVisibility()
/packages/apps/Calendar/src/com/android/calendar/
DSearchActivity.java75 private SearchView mSearchView; field in SearchActivity
229 if (mSearchView != null) { in search()
230 mSearchView.setQuery(mQuery, false); in search()
231 mSearchView.clearFocus(); in search()
267 mSearchView = (SearchView) item.getActionView(); in onCreateOptionsMenu()
268 Utils.setUpSearchView(mSearchView, this); in onCreateOptionsMenu()
269 mSearchView.setQuery(mQuery, false); in onCreateOptionsMenu()
270 mSearchView.clearFocus(); in onCreateOptionsMenu()
DAllInOneActivity.java148 private SearchView mSearchView; field in AllInOneActivity
718 mSearchView = (SearchView) mSearchMenu.getActionView(); in onCreateOptionsMenu()
719 if (mSearchView != null) { in onCreateOptionsMenu()
720 Utils.setUpSearchView(mSearchView, this); in onCreateOptionsMenu()
721 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
722 mSearchView.setOnSuggestionListener(this); in onCreateOptionsMenu()
1101 if (mSearchView != null) { in handleEvent()
1102 mSearchView.clearFocus(); in handleEvent()
/packages/apps/Settings/src/com/android/settings/search/
DSearchFragment.java123 SearchView mSearchView; field in SearchFragment
203 mSearchView = toolbar.findViewById(R.id.search_view); in onCreateView()
204 mSearchView.setQuery(mQuery, false /* submitQuery */); in onCreateView()
205 mSearchView.setOnQueryTextListener(this); in onCreateView()
206 mSearchView.requestFocus(); in onCreateView()
211 View searchText = mSearchView.findViewById(com.android.internal.R.id.search_src_text); in onCreateView()
220 View editFrame = mSearchView.findViewById(com.android.internal.R.id.search_edit_frame); in onCreateView()
394 mSearchView.setQuery(queryString, false /* submit */); in onSavedQueryClicked()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DBlockedListSearchFragment.java70 private EditText mSearchView; field in BlockedListSearchFragment
104 mSearchView = (EditText) searchEditTextLayout.findViewById(R.id.search_view); in onResume()
105 mSearchView.addTextChangedListener(mPhoneSearchQueryTextListener); in onResume()
106 mSearchView.setHint(R.string.block_number_search_hint); in onResume()
113 mSearchView.setText(getQueryString()); in onResume()
117 mSearchView.setTextSize( in onResume()
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java232 private EditText mSearchView; field in DialtactsActivity
323 false /* smartDialSearch */, mSearchView.getText().toString(), true /* animate */);
336 if (TextUtils.isEmpty(mSearchView.getText().toString())) {
413 mSearchView = (EditText) searchEditTextLayout.findViewById(R.id.search_view); in onCreate()
414 mSearchView.addTextChangedListener(mPhoneSearchQueryTextListener); in onCreate()
542 mSearchView.setText(mVoiceSearchQuery); in onResume()
1017 mSearchView.setText(mPendingSearchViewQuery); in onCreateOptionsMenu()
1216 mSearchView.setText(null); in exitSearchUi()
1313 if (!TextUtils.equals(mSearchView.getText(), normalizedQuery)) { in onDialpadQueryChanged()
1328 mSearchView.setText(normalizedQuery); in onDialpadQueryChanged()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java124 private SearchView mSearchView; field in PrintServiceSettingsFragment
160 if (mSearchView != null) { in onPause()
161 mSearchView.setOnQueryTextListener(null); in onPause()
413 mSearchView = (SearchView) searchItem.getActionView(); in onCreateOptionsMenu()
414 mSearchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { in onCreateOptionsMenu()
426 mSearchView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in onCreateOptionsMenu()