Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java92 private @Nullable SearchView mSearchView; field in SearchViewManager
210 mSearchView.clearFocus(); in onMirrorChipClick()
223 mSearchView = (SearchView) mMenuItem.getActionView(); in install()
225 mSearchView.setOnQueryTextListener(this); in install()
226 mSearchView.setOnCloseListener(this); in install()
227 mSearchView.setOnSearchClickListener(this); in install()
228 mSearchView.setOnQueryTextFocusChangeListener(this); in install()
229 final View clearButton = mSearchView.findViewById(R.id.search_close_btn); in install()
235 mSearchView.setQuery("", false); in install()
236 mSearchView.requestFocus(); in install()
[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/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZonePicker.java70 private SearchView mSearchView; field in BaseTimeZonePicker
135 mSearchView = (SearchView) searchMenuItem.getActionView(); in onCreateOptionsMenu()
137 mSearchView.setQueryHint(getText(mSearchHintResId)); in onCreateOptionsMenu()
138 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
142 mSearchView.setIconified(false); in onCreateOptionsMenu()
143 mSearchView.setActivated(true); in onCreateOptionsMenu()
144 mSearchView.setQuery("", true /* submit */); in onCreateOptionsMenu()
148 final TextView searchViewView = (TextView) mSearchView.findViewById( in onCreateOptionsMenu()
152 final View editFrame = mSearchView.findViewById( in onCreateOptionsMenu()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DToolbarControllerImpl.java92 private SearchView mSearchView; field in ToolbarControllerImpl
452 if (mSearchView != null) { in setSearchHint()
453 mSearchView.setHint(mSearchHint); in setSearchHint()
486 if (mSearchView != null) { in setSearchIcon()
487 mSearchView.setIcon(mSearchIcon); in setSearchIcon()
802 if (mSearchView != null) { in setSearchQuery()
803 mSearchView.setSearchQuery(query); in setSearchQuery()
874 if (mSearchView == null && isSearching) { in update()
954 if (mSearchView != null) { in update()
956 mSearchView.setPlainText(searchMode == SearchMode.EDIT); in update()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFragment.java88 SearchView mSearchView; field in SearchFragment
156 mSearchView = toolbar.findViewById(R.id.search_view); in onCreateView()
157 mSearchView.setQuery(mQuery, false /* submitQuery */); in onCreateView()
158 mSearchView.setOnQueryTextListener(this); in onCreateView()
159 mSearchView.requestFocus(); in onCreateView()
319 mSearchView.setQuery(queryString, false /* submit */); in onSavedQueryClicked()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java115 private SearchView mSearchView; field in PrintServiceSettingsFragment
153 if (mSearchView != null) { in onPause()
154 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.java211 private SearchView mSearchView; field in ManageApplications
541 if (mSearchView != null) { in onSaveInstanceState()
542 outState.putBoolean(EXTRA_EXPAND_SEARCH_VIEW, !mSearchView.isIconified()); in onSaveInstanceState()
667 mSearchView = (SearchView) searchMenuItem.getActionView(); in onCreateOptionsMenu()
668 mSearchView.setQueryHint(getText(R.string.search_settings)); in onCreateOptionsMenu()
669 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
1298 if (mManageApplications.mSearchView != null in onRebuildComplete()
1299 && mManageApplications.mSearchView.isVisibleToUser()) { in onRebuildComplete()
1300 final CharSequence query = mManageApplications.mSearchView.getQuery(); in onRebuildComplete()