/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);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
SearchViewManager.java | 59 private SearchView mSearchView; 73 mSearchView = (SearchView) mMenuItem.getActionView(); 75 mSearchView.setOnQueryTextListener(this); 76 mSearchView.setOnCloseListener(this); 77 mSearchView.setOnSearchClickListener(this); 78 mSearchView.setOnQueryTextFocusChangeListener(this); 113 mSearchView.setIconified(false); 114 mSearchView.clearFocus(); 115 mSearchView.setQuery(mCurrentSearch, false); 117 mSearchView.clearFocus() [all...] |
/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);
|
/frameworks/base/core/java/com/android/internal/app/ |
LocalePickerWithRegion.java | 55 private SearchView mSearchView = null; 190 if (mSearchView != null) { 191 mPreviousSearchHadFocus = mSearchView.hasFocus(); 192 mPreviousSearch = mSearchView.getQuery(); 235 mSearchView = (SearchView) searchMenuItem.getActionView(); 237 mSearchView.setQueryHint(getText(R.string.search_language_hint)); 238 mSearchView.setOnQueryTextListener(this); 243 mSearchView.setIconified(false); 244 mSearchView.setActivated(true); 246 mSearchView.requestFocus() [all...] |
/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/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); 234 mSearchView.requestFocus(); 276 if (TextUtils.isEmpty(mSearchView.getText())) {
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ActionBarAdapter.java | 85 private EditText mSearchView; 158 mSearchView = (EditText) mSearchContainer.findViewById(R.id.search_view); 159 mSearchView.setHint(mActivity.getString(R.string.hint_findContacts)); 160 mSearchView.addTextChangedListener(new SearchTextWatcher()); 300 if (mSearchView == null) { 304 mSearchView.setEnabled(true); 308 mSearchView.setEnabled(false); 313 if (mSearchView != null) setFocusOnSearchView(); 330 if (mSearchView != null) { 331 mSearchView.setText(query) [all...] |
ContactSelectionActivity.java | 88 private SearchView mSearchView; 140 mSearchView = (SearchView) mSearchViewContainer.findViewById(R.id.search_view); 146 mSearchView.setVisibility(View.GONE); 162 mSearchView.setIconifiedByDefault(true); 163 mSearchView.setQueryHint(getString(R.string.hint_findContacts)); 164 mSearchView.setIconified(false); 165 mSearchView.setFocusable(true); 167 mSearchView.setOnQueryTextListener(this); 168 mSearchView.setOnCloseListener(this); 169 mSearchView.setOnQueryTextFocusChangeListener(this) [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
BlockedListSearchFragment.java | 52 private EditText mSearchView; 112 mSearchView = (EditText) searchEditTextLayout.findViewById(R.id.search_view); 113 mSearchView.addTextChangedListener(mPhoneSearchQueryTextListener); 114 mSearchView.setHint(R.string.block_number_search_hint); 120 mSearchView.setText(getQueryString()); 124 mSearchView.setTextSize(TypedValue.COMPLEX_UNIT_PX,
|
/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...] |
/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) { 331 mSearchView.onQueryRefine((CharSequence) tag);
|
SearchView.java | [all...] |
/packages/apps/Dialer/src/com/android/dialer/ |
DialtactsActivity.java | 228 private EditText mSearchView; 305 Log.d(TAG, "onTextChange for mSearchView called with new query: " + newText); 342 enterSearchUi(false /* smartDialSearch */, mSearchView.getText().toString(), 355 if (TextUtils.isEmpty(mSearchView.getText().toString())) { 402 mSearchView = (EditText) searchEditTextLayout.findViewById(R.id.search_view); 403 mSearchView.addTextChangedListener(mPhoneSearchQueryTextListener); 520 mSearchView.setText(mVoiceSearchQuery); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SettingsActivity.java | 409 private SearchView mSearchView; 460 mSearchView = (SearchView) mSearchMenuItem.getActionView(); 462 if (mSearchMenuItem == null || mSearchView == null) { 467 mSearchResultsFragment.setSearchView(mSearchView); 471 mSearchView.setOnQueryTextListener(this); 472 mSearchView.setOnCloseListener(this); 477 mSearchView.setQuery(query, true /* submit */); [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/ |
SearchResultsSummary.java | 59 private SearchView mSearchView; 155 mSearchView = null; 241 mSearchView.setQuery(mQuery, false); 267 mSearchView = searchView;
|
/packages/apps/Settings/src/com/android/settings/print/ |
PrintServiceSettingsFragment.java | 124 private SearchView mSearchView; 160 if (mSearchView != null) { 161 mSearchView.setOnQueryTextListener(null); 412 mSearchView = (SearchView) searchItem.getActionView(); 413 mSearchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { 425 mSearchView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() {
|
/prebuilts/sdk/current/support/v7/appcompat/libs/ |
android-support-v7-appcompat.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |