HomeSort by relevance Sort by last modified time
    Searched defs:searchView (Results 1 - 25 of 40) sorted by null

1 2

  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarUsage.java 24 import android.widget.SearchView;
25 import android.widget.SearchView.OnQueryTextListener;
52 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
53 searchView.setOnQueryTextListener(this);
81 // The following callbacks are called for the SearchView.OnQueryChangeListener
82 // For more about using SearchView, see src/.../view/SearchView1.java and SearchView2.java
  /cts/tests/tests/holo/src/android/holo/cts/modifiers/
SearchViewModifier.java 23 import android.widget.SearchView;
38 SearchView searchView = (SearchView) view;
43 searchView.setQueryHint(context.getString(R.string.searchview_query_hint));
47 searchView.setQuery(context.getString(R.string.searchview_query), false);
54 searchView.setIconifiedByDefault(false);
55 return searchView;
  /development/samples/ApiDemos/src/com/example/android/apis/view/
WindowFocusObserver.java 28 import android.widget.SearchView;
34 public class WindowFocusObserver extends Activity implements SearchView.OnQueryTextListener {
62 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
63 searchView.setOnQueryTextListener(this);
ContentBrowserActivity.java 38 import android.widget.SearchView;
43 import android.widget.SearchView.OnQueryTextListener;
187 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
188 searchView.setOnQueryTextListener(this);
ContentBrowserNavActivity.java 38 import android.widget.SearchView;
43 import android.widget.SearchView.OnQueryTextListener;
189 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
190 searchView.setOnQueryTextListener(this);
SystemUIModes.java 39 import android.widget.SearchView;
43 import android.widget.SearchView.OnQueryTextListener;
278 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
279 searchView.setOnQueryTextListener(this);
VideoPlayerActivity.java 37 import android.widget.SearchView;
42 import android.widget.SearchView.OnQueryTextListener;
211 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
212 searchView.setOnQueryTextListener(this);
  /development/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarUsage.java 24 import android.support.v7.widget.SearchView;
53 SearchView searchView = (SearchView) MenuItemCompat
55 searchView.setOnQueryTextListener(mOnQueryTextListener);
83 // The following callbacks are called for the SearchView.OnQueryChangeListener
84 // For more about using SearchView, see src/.../view/SearchView1.java and SearchView2.java
85 private final SearchView.OnQueryTextListener mOnQueryTextListener =
86 new SearchView.OnQueryTextListener() {
  /developers/samples/android/content/contacts/BasicContactables/BasicContactables/src/main/java/com/example/android/basiccontactables/
MainActivity.java 24 import android.widget.SearchView;
82 // Associate searchable configuration with the SearchView
85 SearchView searchView =
86 (SearchView) menu.findItem(R.id.search).getActionView();
87 searchView.setSearchableInfo(
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactsListFragment.java 55 import android.widget.SearchView;
81 * On newer API platforms, the search is implemented in a SearchView in the ActionBar; as the user
125 * In platform versions prior to Android 3.0, the ActionBar and SearchView are not supported,
319 // searches. In Android 3.0 and later, searching is done via a SearchView in the ActionBar.
326 // In version 3.0 and later, sets up and configures the ActionBar SearchView
333 // Retrieves the SearchView from the search menu item
334 final SearchView searchView = (SearchView) searchItem.getActionView();
336 // Assign searchable info to SearchView
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
SelectPrinterFragment.java 62 import android.widget.SearchView;
127 SearchView searchView = (SearchView) searchItem.getActionView();
128 searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
140 searchView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() {
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
SearchableDictionary.java 34 import android.widget.SearchView;
137 SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView();
138 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
139 searchView.setIconifiedByDefault(false);
WordActivity.java 31 import android.widget.SearchView;
74 SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView();
75 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
76 searchView.setIconifiedByDefault(false);
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderCursorSupport.java 105 final View searchView = SearchViewCompat.newSearchView(getActivity());
106 if (searchView != null) {
107 SearchViewCompat.setOnQueryTextListener(searchView,
128 SearchViewCompat.setOnCloseListener(searchView,
132 if (!TextUtils.isEmpty(SearchViewCompat.getQuery(searchView))) {
133 SearchViewCompat.setQuery(searchView, null, true);
139 MenuItemCompat.setActionView(item, searchView);
LoaderRetainedSupport.java 107 View searchView = SearchViewCompat.newSearchView(getActivity());
108 if (searchView != null) {
109 SearchViewCompat.setOnQueryTextListener(searchView,
130 MenuItemCompat.setActionView(item, searchView);
LoaderCustomSupport.java 444 final View searchView = SearchViewCompat.newSearchView(getActivity());
445 if (searchView != null) {
446 SearchViewCompat.setOnQueryTextListener(searchView,
457 SearchViewCompat.setOnCloseListener(searchView,
461 if (!TextUtils.isEmpty(SearchViewCompat.getQuery(searchView))) {
462 SearchViewCompat.setQuery(searchView, null, true);
468 MenuItemCompat.setActionView(item, searchView);
  /packages/apps/Settings/src/com/android/settings/print/
PrintServiceSettingsFragment.java 64 import android.widget.SearchView;
413 SearchView searchView = (SearchView) searchItem.getActionView();
414 searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
426 searchView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() {
  /developers/samples/android/input/gestures/BasicGestureDetect/BasicGestureDetect/libs/
android-support-v4.jar 
  /development/samples/training/ContactsList/libs/
android-support-v4.jar 
  /development/samples/training/EffectiveNavigation/libs/
android-support-v4.jar 
  /development/samples/training/NavigationDrawer/libs/
android-support-v4.jar 
  /development/samples/training/basic/ActivityLifecycle/libs/
android-support-v13.jar 
  /sdk/testapps/jarCheckTests1/app/libs/
android-support-v4.jar 
  /sdk/testapps/jarCheckTests1/lib1/libs/
android-support-v4.jar 
  /sdk/testapps/jarCheckTests1/lib2/libs/
android-support-v4.jar 

Completed in 2457 milliseconds

1 2