Home
last modified time | relevance | path

Searched refs:mSearchView (Results 1 – 5 of 5) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DSearchViewFilterMode.java37 private SearchView mSearchView; field in SearchViewFilterMode
50 mSearchView = (SearchView) findViewById(R.id.search_view); in onCreate()
60 mSearchView.setIconifiedByDefault(false); in setupSearchView()
61 mSearchView.setOnQueryTextListener(this); in setupSearchView()
62 mSearchView.setSubmitButtonEnabled(false); in setupSearchView()
63 mSearchView.setQueryHint(getString(R.string.cheese_hunt_hint)); in setupSearchView()
DSearchViewActionBar.java44 private SearchView mSearchView; field in SearchViewActionBar
64 mSearchView = (SearchView) searchItem.getActionView(); in onCreateOptionsMenu()
73 mSearchView.setIconifiedByDefault(false); in setupSearchView()
91 mSearchView.setSearchableInfo(info); in setupSearchView()
94 mSearchView.setOnQueryTextListener(this); in setupSearchView()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCursor.java70 SearchView mSearchView; field in LoaderCursor.CursorLoaderListFragment
120 mSearchView = new MySearchView(getActivity()); in onCreateOptionsMenu()
121 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
122 mSearchView.setOnCloseListener(this); in onCreateOptionsMenu()
123 mSearchView.setIconifiedByDefault(true); in onCreateOptionsMenu()
124 item.setActionView(mSearchView); in onCreateOptionsMenu()
152 if (!TextUtils.isEmpty(mSearchView.getQuery())) { in onClose()
153 mSearchView.setQuery(null, true); in onClose()
DLoaderRetained.java72 SearchView mSearchView; field in LoaderRetained.CursorLoaderListFragment
125 mSearchView = new MySearchView(getActivity()); in onCreateOptionsMenu()
126 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
127 mSearchView.setOnCloseListener(this); in onCreateOptionsMenu()
128 mSearchView.setIconifiedByDefault(true); in onCreateOptionsMenu()
129 item.setActionView(mSearchView); in onCreateOptionsMenu()
157 if (!TextUtils.isEmpty(mSearchView.getQuery())) { in onClose()
158 mSearchView.setQuery(null, true); in onClose()
DLoaderCustom.java409 SearchView mSearchView; field in LoaderCustom.AppListFragment
456 mSearchView = new MySearchView(getActivity()); in onCreateOptionsMenu()
457 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
458 mSearchView.setOnCloseListener(this); in onCreateOptionsMenu()
459 mSearchView.setIconifiedByDefault(true); in onCreateOptionsMenu()
460 item.setActionView(mSearchView); in onCreateOptionsMenu()
478 if (!TextUtils.isEmpty(mSearchView.getQuery())) { in onClose()
479 mSearchView.setQuery(null, true); in onClose()