/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchViewManager.java | 91 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 …]
|
D | SearchFragment.java | 54 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/ |
D | ActionBarAdapter.java | 83 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/ |
D | BaseTimeZonePicker.java | 62 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/ |
D | BaseTimeZonePicker.java | 62 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/ |
D | ContactResultsFragment.java | 70 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/ |
D | SearchFragment.java | 103 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/ |
D | PrintServiceSettingsFragment.java | 116 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/ |
D | PrintServiceSettingsFragment.java | 116 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/ |
D | ManageApplications.java | 190 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/ |
D | ManageApplications.java | 187 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()
|