/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SearchViewFilterMode.java | 37 private SearchView mSearchView; 50 mSearchView = (SearchView) findViewById(R.id.search_view); 60 mSearchView.setIconifiedByDefault(false); 61 mSearchView.setOnQueryTextListener(this); 62 mSearchView.setSubmitButtonEnabled(false); 63 mSearchView.setQueryHint(getString(R.string.cheese_hunt_hint));
|
SearchViewActionBar.java | 44 private SearchView mSearchView; 64 mSearchView = (SearchView) searchItem.getActionView(); 73 mSearchView.setIconifiedByDefault(false); 91 mSearchView.setSearchableInfo(info); 94 mSearchView.setOnQueryTextListener(this);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCursor.java | 70 SearchView mSearchView; 120 mSearchView = new MySearchView(getActivity()); 121 mSearchView.setOnQueryTextListener(this); 122 mSearchView.setOnCloseListener(this); 123 mSearchView.setIconifiedByDefault(true); 124 item.setActionView(mSearchView); 152 if (!TextUtils.isEmpty(mSearchView.getQuery())) { 153 mSearchView.setQuery(null, true);
|
LoaderRetained.java | 72 SearchView mSearchView; 125 mSearchView = new MySearchView(getActivity()); 126 mSearchView.setOnQueryTextListener(this); 127 mSearchView.setOnCloseListener(this); 128 mSearchView.setIconifiedByDefault(true); 129 item.setActionView(mSearchView); 157 if (!TextUtils.isEmpty(mSearchView.getQuery())) { 158 mSearchView.setQuery(null, true);
|
LoaderCustom.java | 409 SearchView mSearchView; 456 mSearchView = new MySearchView(getActivity()); 457 mSearchView.setOnQueryTextListener(this); 458 mSearchView.setOnCloseListener(this); 459 mSearchView.setIconifiedByDefault(true); 460 item.setActionView(mSearchView); 478 if (!TextUtils.isEmpty(mSearchView.getQuery())) { 479 mSearchView.setQuery(null, true);
|
/developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/ |
CursorLoaderListFragment.java | 50 SearchView mSearchView; 98 mSearchView = (SearchView) item.getActionView(); 99 mSearchView.setOnQueryTextListener(queryListener); 100 mSearchView.setOnCloseListener(closeListener); 101 mSearchView.setIconifiedByDefault(true); 113 if (!TextUtils.isEmpty(mSearchView.getQuery())) { 114 mSearchView.setQuery(null, true);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ActionBarAdapter.java | 83 private EditText mSearchView; 156 mSearchView = (EditText) mSearchContainer.findViewById(R.id.search_view); 157 mSearchView.setHint(mActivity.getString(R.string.hint_findContacts)); 158 mSearchView.addTextChangedListener(new SearchTextWatcher()); 298 if (mSearchView == null) { 302 mSearchView.setEnabled(true); 306 mSearchView.setEnabled(false); 311 if (mSearchView != null) setFocusOnSearchView(); 328 if (mSearchView != null) { 329 mSearchView.setText(query) [all...] |
ContactSelectionActivity.java | 92 private SearchView mSearchView; 144 mSearchView = (SearchView) mSearchViewContainer.findViewById(R.id.search_view); 150 mSearchView.setVisibility(View.GONE); 166 mSearchView.setIconifiedByDefault(true); 167 mSearchView.setQueryHint(getString(R.string.hint_findContacts)); 168 mSearchView.setIconified(false); 169 mSearchView.setFocusable(true); 171 mSearchView.setOnQueryTextListener(this); 172 mSearchView.setOnCloseListener(this); 173 mSearchView.setOnQueryTextFocusChangeListener(this) [all...] |
/packages/apps/Dialer/src/com/android/dialer/widget/ |
SearchEditTextLayout.java | 53 private EditText mSearchView; 98 mSearchView = (EditText) mExpanded.findViewById(R.id.search_view); 114 mSearchView.performLongClick(); 119 mSearchView.setOnFocusChangeListener(new OnFocusChangeListener() { 130 mSearchView.setOnClickListener(new View.OnClickListener() { 139 mSearchView.addTextChangedListener(new TextWatcher() { 157 mSearchView.setText(null); 235 mSearchView.requestFocus(); 277 if (TextUtils.isEmpty(mSearchView.getText())) {
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
DefaultAppSearchController.java | 53 private View mSearchView; 78 mSearchView = inflater.inflate(R.layout.all_apps_search_bar, parent, false); 79 mSearchView.setOnClickListener(this); 81 mSearchButtonView = mSearchView.findViewById(R.id.search_button); 82 mSearchBarContainerView = mSearchView.findViewById(R.id.search_container); 102 return mSearchView; 133 if (v == mSearchView) {
|
/frameworks/base/core/java/android/app/ |
SearchDialog.java | 81 private SearchView mSearchView; 168 mSearchView = (SearchView) findViewById(com.android.internal.R.id.search_view); 169 mSearchView.setIconified(false); 170 mSearchView.setOnCloseListener(mOnCloseListener); 171 mSearchView.setOnQueryTextListener(mOnQueryChangeListener); 172 mSearchView.setOnSuggestionListener(mOnSuggestionSelectionListener); 173 mSearchView.onActionViewExpanded(); 184 mBadgeLabel = (TextView) mSearchView.findViewById(com.android.internal.R.id.search_badge); 186 mSearchView.findViewById(com.android.internal.R.id.search_src_text); 188 mSearchPlate = mSearchView.findViewById(com.android.internal.R.id.search_plate) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
SearchActivity.java | 75 private SearchView mSearchView; 229 if (mSearchView != null) { 230 mSearchView.setQuery(mQuery, false); 231 mSearchView.clearFocus(); 267 mSearchView = (SearchView) item.getActionView(); 268 Utils.setUpSearchView(mSearchView, this); 269 mSearchView.setQuery(mQuery, false); 270 mSearchView.clearFocus();
|
AllInOneActivity.java | 148 private SearchView mSearchView; 718 mSearchView = (SearchView) mSearchMenu.getActionView(); 719 if (mSearchView != null) { 720 Utils.setUpSearchView(mSearchView, this); 721 mSearchView.setOnQueryTextListener(this); 722 mSearchView.setOnSuggestionListener(this); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CitiesActivity.java | 92 private SearchView mSearchView; 562 mSearchView = (SearchView) MenuItemCompat.getActionView(searchMenu); 563 mSearchView.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI); 564 mSearchView.setOnSearchClickListener(new OnClickListener() { 571 mSearchView.setOnCloseListener(new SearchView.OnCloseListener() { 579 if (mSearchView != null) { 580 mSearchView.setOnQueryTextListener(this); 581 mSearchView.setQuery(mQueryTextBuffer.toString(), false); 583 mSearchView.requestFocus(); 584 mSearchView.setIconified(false) [all...] |
/packages/apps/Dialer/src/com/android/dialer/ |
DialtactsActivity.java | 229 private EditText mSearchView; 304 Log.d(TAG, "onTextChange for mSearchView called with new query: " + newText); 341 enterSearchUi(false /* smartDialSearch */, mSearchView.getText().toString(), 354 if (TextUtils.isEmpty(mSearchView.getText().toString())) { 402 mSearchView = (EditText) searchEditTextLayout.findViewById(R.id.search_view); 403 mSearchView.addTextChangedListener(mPhoneSearchQueryTextListener); 520 mSearchView.setText(mVoiceSearchQuery); [all...] |
/frameworks/base/core/java/android/widget/ |
SuggestionsAdapter.java | 68 private final SearchView mSearchView; 105 mSearchView = searchView; 117 // // mSearchView.setWorking(true); // TODO: 123 // // mSearchView.setWorking(false); // TODO: 187 if (mSearchView.getVisibility() != View.VISIBLE 188 || mSearchView.getWindowVisibility() != View.VISIBLE) { 191 //mSearchView.getWindow().getDecorView().post(mStartSpinnerRunnable); // TODO: 205 // mSearchView.getWindow().getDecorView().post(mStopSpinnerRunnable); // TODO: 220 // mSearchView.onDataSetChanged(); // TODO: 244 // mSearchView.getWindow().getDecorView().post(mStartSpinnerRunnable); // TODO [all...] |
SearchView.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SuggestionsAdapter.java | 69 private final SearchView mSearchView; 98 mSearchView = searchView; 152 if (mSearchView.getVisibility() != View.VISIBLE 153 || mSearchView.getWindowVisibility() != View.VISIBLE) { 330 mSearchView.onQueryRefine((CharSequence) tag);
|
SearchView.java | [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/ |
SearchResultsSummary.java | 57 private SearchView mSearchView; 153 mSearchView = null; 239 mSearchView.setQuery(mQuery, false); 265 mSearchView = searchView;
|
/packages/apps/Settings/src/com/android/settings/print/ |
PrintServiceSettingsFragment.java | 141 private SearchView mSearchView; 169 if (mSearchView != null) { 170 mSearchView.setOnQueryTextListener(null); 432 mSearchView = (SearchView) searchItem.getActionView(); 433 mSearchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { 445 mSearchView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() {
|
/packages/apps/Settings/src/com/android/settings/ |
SettingsActivity.java | 399 private SearchView mSearchView; 500 mSearchView = (SearchView) mSearchMenuItem.getActionView(); 502 if (mSearchMenuItem == null || mSearchView == null) { 507 mSearchResultsFragment.setSearchView(mSearchView); 511 mSearchView.setOnQueryTextListener(this); 512 mSearchView.setOnCloseListener(this); 517 mSearchView.setQuery(query, true /* submit */); [all...] |
/prebuilts/sdk/current/support/v7/appcompat/libs/ |
android-support-v7-appcompat.jar | |