Home
last modified time | relevance | path

Searched refs:searchView (Results 1 – 9 of 9) sorted by relevance

/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderCursorSupport.java105 final View searchView = SearchViewCompat.newSearchView(getActivity()); in onCreateOptionsMenu() local
106 if (searchView != null) { in onCreateOptionsMenu()
107 SearchViewCompat.setOnQueryTextListener(searchView, in onCreateOptionsMenu()
128 SearchViewCompat.setOnCloseListener(searchView, in onCreateOptionsMenu()
132 if (!TextUtils.isEmpty(SearchViewCompat.getQuery(searchView))) { in onCreateOptionsMenu()
133 SearchViewCompat.setQuery(searchView, null, true); in onCreateOptionsMenu()
139 MenuItemCompat.setActionView(item, searchView); in onCreateOptionsMenu()
DLoaderRetainedSupport.java107 View searchView = SearchViewCompat.newSearchView(getActivity()); in onCreateOptionsMenu() local
108 if (searchView != null) { in onCreateOptionsMenu()
109 SearchViewCompat.setOnQueryTextListener(searchView, in onCreateOptionsMenu()
130 MenuItemCompat.setActionView(item, searchView); in onCreateOptionsMenu()
DLoaderCustomSupport.java444 final View searchView = SearchViewCompat.newSearchView(getActivity()); in onCreateOptionsMenu() local
445 if (searchView != null) { in onCreateOptionsMenu()
446 SearchViewCompat.setOnQueryTextListener(searchView, in onCreateOptionsMenu()
457 SearchViewCompat.setOnCloseListener(searchView, in onCreateOptionsMenu()
461 if (!TextUtils.isEmpty(SearchViewCompat.getQuery(searchView))) { in onCreateOptionsMenu()
462 SearchViewCompat.setQuery(searchView, null, true); in onCreateOptionsMenu()
468 MenuItemCompat.setActionView(item, searchView); in onCreateOptionsMenu()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java74 SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView(); in onCreateOptionsMenu() local
75 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
76 searchView.setIconifiedByDefault(false); in onCreateOptionsMenu()
DSearchableDictionary.java137 SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView(); in onCreateOptionsMenu() local
138 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
139 searchView.setIconifiedByDefault(false); in onCreateOptionsMenu()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarUsage.java52 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
53 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DVideoPlayerActivity.java211 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
212 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
DContentBrowserActivity.java187 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
188 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
DOverscanActivity.java219 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
220 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()