Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java91 private SearchView mSearchView; field in SearchViewManager
207 mSearchView.clearFocus(); in onMirrorChipClick()
220 mSearchView = (SearchView) mMenuItem.getActionView(); in install()
222 mSearchView.setOnQueryTextListener(this); in install()
223 mSearchView.setOnCloseListener(this); in install()
224 mSearchView.setOnSearchClickListener(this); in install()
225 mSearchView.setOnQueryTextFocusChangeListener(this); in install()
226 final View clearButton = mSearchView.findViewById(R.id.search_close_btn); in install()
229 mSearchView.setQuery("", false); in install()
236 mSearchView.setMaxWidth(Integer.MAX_VALUE); in install()
[all …]
DSearchFragment.java54 private SearchView mSearchView; field in SearchFragment
88 mSearchView.setQuery(item, true); in onHistoryItemClicked()
103 mSearchView = view.findViewById(R.id.search_view); in onCreateView()
120 mSearchView.onActionViewExpanded(); in onActivityCreated()
121 mSearchView.setQuery(currentQuery, false); in onActivityCreated()
122 mSearchView.setOnQueryTextListener(this); in onActivityCreated()
150 if (TextUtils.isEmpty(mSearchView.getQuery())) { in onCreateDialog()
162 if (!TextUtils.isEmpty(mSearchView.getQuery())) {
173 if (!TextUtils.isEmpty(mSearchView.getQuery())) {
179 mSearchView.getContext().getApplicationContext()).getHistoryList("");
/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/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZonePicker.java62 private SearchView mSearchView; field in BaseTimeZonePicker
124 mSearchView = (SearchView) searchMenuItem.getActionView(); in onCreateOptionsMenu()
126 mSearchView.setQueryHint(getText(mSearchHintResId)); in onCreateOptionsMenu()
127 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
131 mSearchView.setIconified(false); in onCreateOptionsMenu()
132 mSearchView.setActivated(true); in onCreateOptionsMenu()
133 mSearchView.setQuery("", true /* submit */); in onCreateOptionsMenu()
137 final TextView searchViewView = (TextView) mSearchView.findViewById( in onCreateOptionsMenu()
141 final View editFrame = mSearchView.findViewById( in onCreateOptionsMenu()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DBaseTimeZonePicker.java62 private SearchView mSearchView; field in BaseTimeZonePicker
124 mSearchView = (SearchView) searchMenuItem.getActionView(); in onCreateOptionsMenu()
126 mSearchView.setQueryHint(getText(mSearchHintResId)); in onCreateOptionsMenu()
127 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
131 mSearchView.setIconified(false); in onCreateOptionsMenu()
132 mSearchView.setActivated(true); in onCreateOptionsMenu()
133 mSearchView.setQuery("", true /* submit */); in onCreateOptionsMenu()
137 final TextView searchViewView = (TextView) mSearchView.findViewById( in onCreateOptionsMenu()
141 final View editFrame = mSearchView.findViewById( in onCreateOptionsMenu()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultsFragment.java70 private SearchView mSearchView; field in ContactResultsFragment
115 mSearchView.clearFocus(); in onViewCreated()
175 mSearchView = searchView; in setupActionBar()
182 mSearchView.clearFocus(); in onPause()
189 if (mSearchView != null) { in setSearchQuery()
192 mSearchView.setQuery(query, /* submit= */false); in setSearchQuery()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFragment.java103 SearchView mSearchView; field in SearchFragment
171 mSearchView = toolbar.findViewById(R.id.search_view); in onCreateView()
172 mSearchView.setQuery(mQuery, false /* submitQuery */); in onCreateView()
173 mSearchView.setOnQueryTextListener(this); in onCreateView()
174 mSearchView.requestFocus(); in onCreateView()
334 mSearchView.setQuery(queryString, false /* submit */); in onSavedQueryClicked()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java116 private SearchView mSearchView; field in PrintServiceSettingsFragment
154 if (mSearchView != null) { in onPause()
155 mSearchView.setOnQueryTextListener(null); in onPause()
370 mSearchView = (SearchView) searchItem.getActionView(); in onCreateOptionsMenu()
371 mSearchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { in onCreateOptionsMenu()
383 mSearchView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in onCreateOptionsMenu()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/
DPrintServiceSettingsFragment.java116 private SearchView mSearchView; field in PrintServiceSettingsFragment
154 if (mSearchView != null) { in onPause()
155 mSearchView.setOnQueryTextListener(null); in onPause()
370 mSearchView = (SearchView) searchItem.getActionView(); in onCreateOptionsMenu()
371 mSearchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { in onCreateOptionsMenu()
383 mSearchView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java190 private SearchView mSearchView; field in ManageApplications
511 outState.putBoolean(EXTRA_EXPAND_SEARCH_VIEW, !mSearchView.isIconified()); in onSaveInstanceState()
615 mSearchView = (SearchView) searchMenuItem.getActionView(); in onCreateOptionsMenu()
616 mSearchView.setQueryHint(getText(R.string.search_settings)); in onCreateOptionsMenu()
617 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
1235 if (mManageApplications.mSearchView != null in onRebuildComplete()
1236 && mManageApplications.mSearchView.isVisibleToUser()) { in onRebuildComplete()
1237 final CharSequence query = mManageApplications.mSearchView.getQuery(); in onRebuildComplete()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DManageApplications.java187 private SearchView mSearchView; field in ManageApplications
605 mSearchView = (SearchView) searchMenuItem.getActionView(); in onCreateOptionsMenu()
606 mSearchView.setQueryHint(getText(R.string.search_settings)); in onCreateOptionsMenu()
607 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
1211 if (mManageApplications.mSearchView != null in onRebuildComplete()
1212 && mManageApplications.mSearchView.isVisibleToUser()) { in onRebuildComplete()
1213 final CharSequence query = mManageApplications.mSearchView.getQuery(); in onRebuildComplete()