HomeSort by relevance Sort by last modified time
    Searched refs:SearchView (Results 1 - 25 of 69) sorted by null

1 2 3

  /frameworks/support/v4/honeycomb/android/support/v4/widget/
SearchViewCompatHoneycomb.java 23 import android.widget.SearchView;
24 import android.widget.SearchView.OnCloseListener;
25 import android.widget.SearchView.OnQueryTextListener;
28 * Implementation of SearchView compatibility that can call Honeycomb APIs.
42 return new SearchView(context);
45 public static void setSearchableInfo(View searchView, ComponentName searchableComponent) {
46 SearchView sv = ((SearchView) searchView);
66 public static void setOnQueryTextListener(Object searchView, Object listener)
    [all...]
  /frameworks/support/v4/ics/android/support/v4/widget/
SearchViewCompatIcs.java 21 import android.widget.SearchView;
24 * Implementation of SearchView compatibility that can call ICS APIs.
28 public static class MySearchView extends SearchView {
33 // The normal SearchView doesn't clear its search text when
46 public static void setImeOptions(View searchView, int imeOptions) {
47 ((SearchView) searchView).setImeOptions(imeOptions);
50 public static void setInputType(View searchView, int inputType) {
51 ((SearchView) searchView).setInputType(inputType)
    [all...]
  /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/
SearchViewFilterMode.java 27 import android.widget.SearchView;
31 * Shows a list that can be filtered in-place with a SearchView in non-iconified mode.
33 public class SearchViewFilterMode extends Activity implements SearchView.OnQueryTextListener {
37 private SearchView mSearchView;
50 mSearchView = (SearchView) findViewById(R.id.search_view);
SearchViewActionBar.java 33 import android.widget.SearchView;
39 * This demonstrates the usage of SearchView in an ActionBar as a menu item.
40 * It sets a SearchableInfo on the SearchView for suggestions and submitting queries to.
42 public class SearchViewActionBar extends Activity implements SearchView.OnQueryTextListener {
44 private SearchView mSearchView;
64 mSearchView = (SearchView) searchItem.getActionView();
SearchViewAlwaysVisible.java 31 import android.widget.SearchView;
37 * This demonstrates the usage of SearchView in an ActionBar as a menu item.
38 * It sets a SearchableInfo on the SearchView for suggestions and submitting queries to.
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);
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() {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SearchMailActionBarView.java 25 import android.widget.SearchView;
92 final SearchView searchWidget = (SearchView) search.getActionView();
106 final SearchView searchWidget = (SearchView) search.getActionView();
  /developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/
MainActivity.java 24 import android.widget.SearchView;
30 * {@link SearchView} ActionBar item.
CursorLoaderListFragment.java 33 import android.widget.SearchView;
34 import android.widget.SearchView.OnCloseListener;
35 import android.widget.SearchView.OnQueryTextListener;
49 // The SearchView for doing filtering.
50 SearchView mSearchView;
98 mSearchView = (SearchView) item.getActionView();
105 * The {@link OnCloseListener} called when the SearchView is closed. Resets
108 private SearchView.OnCloseListener closeListener = new SearchView.OnCloseListener() {
112 // Restore the SearchView if a query was entere
    [all...]
  /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
LoaderCursor.java 37 import android.widget.SearchView;
38 import android.widget.SearchView.OnCloseListener;
40 import android.widget.SearchView.OnQueryTextListener;
69 // The SearchView for doing filtering.
70 SearchView mSearchView;
100 public static class MySearchView extends SearchView {
105 // The normal SearchView doesn't clear its search text when
LoaderRetained.java 39 import android.widget.SearchView;
41 import android.widget.SearchView.OnCloseListener;
42 import android.widget.SearchView.OnQueryTextListener;
71 // The SearchView for doing filtering.
72 SearchView mSearchView;
105 public static class MySearchView extends SearchView {
110 // The normal SearchView doesn't clear its search text when
LoaderCustom.java 57 import android.widget.SearchView;
59 import android.widget.SearchView.OnCloseListener;
60 import android.widget.SearchView.OnQueryTextListener;
408 // The SearchView for doing filtering.
409 SearchView mSearchView;
436 public static class MySearchView extends SearchView {
441 // The normal SearchView doesn't clear its search text when
  /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/SearchableDictionary/src/com/example/android/searchabledict/
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);
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);
  /development/samples/Support13Demos/src/com/example/android/supportv13/app/
CursorFragment.java 34 import android.widget.SearchView;
36 import android.widget.SearchView.OnQueryTextListener;
79 SearchView sv = new SearchView(getActivity());
  /packages/apps/Contacts/src/com/android/contacts/activities/
JoinContactActivity.java 35 import android.widget.SearchView;
36 import android.widget.SearchView.OnCloseListener;
37 import android.widget.SearchView.OnQueryTextListener;
73 private SearchView mSearchView;
145 mSearchView = (SearchView) searchViewLayout.findViewById(R.id.search_view);
147 // In order to make the SearchView look like "shown via search menu", we need to
163 mSearchView = (SearchView) findViewById(R.id.search_view);
ActionBarAdapter.java 33 import android.widget.SearchView;
34 import android.widget.SearchView.OnCloseListener;
35 import android.widget.SearchView.OnQueryTextListener;
72 private SearchView mSearchView;
156 mSearchView = (SearchView) customSearchView.findViewById(R.id.search_view);
157 // Since the {@link SearchView} in this app is "click-to-expand", set the below mode on the
158 // {@link SearchView} so that the magnifying glass icon appears inside the editable text
242 // Show tabs or the expanded {@link SearchView}, depending on whether or not we are in
245 // Expanding the {@link SearchView} clears the query, so set the query from the
415 // Since we have the {@link SearchView} in a custom action bar, we must manually handl
    [all...]
  /frameworks/base/core/java/android/app/
SearchDialog.java 51 import android.widget.SearchView;
81 private SearchView mSearchView;
170 mSearchView = (SearchView) findViewById(com.android.internal.R.id.search_view);
185 // TODO: Move the badge logic to SearchView or move the badge to search_bar.xml
673 private final SearchView.OnCloseListener mOnCloseListener = new SearchView.OnCloseListener() {
680 private final SearchView.OnQueryTextListener mOnQueryChangeListener =
681 new SearchView.OnQueryTextListener() {
693 private final SearchView.OnSuggestionListener mOnSuggestionSelectionListener =
694 new SearchView.OnSuggestionListener()
    [all...]

Completed in 545 milliseconds

1 2 3