Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/view/
DSearchViewActionBar.java79 SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE); in setupSearchView() local
80 if (searchManager != null) { in setupSearchView()
81 List<SearchableInfo> searchables = searchManager.getSearchablesInGlobalSearch(); in setupSearchView()
84 SearchableInfo info = searchManager.getSearchableInfo(getComponentName()); in setupSearchView()
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java83 SearchManager searchManager = in onCreateOptionsMenu() local
88 searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java73 SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE); in onCreateOptionsMenu() local
75 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
DSearchableDictionary.java136 SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE); in onCreateOptionsMenu() local
138 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListFragment.java330 final SearchManager searchManager = in onCreateOptionsMenu() local
338 searchManager.getSearchableInfo(getActivity().getComponentName())); in onCreateOptionsMenu()