Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DSearchManagerTest.java128 SearchManager searchManager = (SearchManager) in testStartSearchIdempotent() local
130 assertNotNull(searchManager); in testStartSearchIdempotent()
132 searchManager.startSearch(null, false, SEARCHABLE_ACTIVITY, null, false); in testStartSearchIdempotent()
133 searchManager.startSearch(null, false, SEARCHABLE_ACTIVITY, null, false); in testStartSearchIdempotent()
134 searchManager.stopSearch(); in testStartSearchIdempotent()
142 SearchManager searchManager = (SearchManager) in testStopSearchIdempotent() local
144 assertNotNull(searchManager); in testStopSearchIdempotent()
145 searchManager.stopSearch(); in testStopSearchIdempotent()
147 searchManager.startSearch(null, false, SEARCHABLE_ACTIVITY, null, false); in testStopSearchIdempotent()
148 searchManager.stopSearch(); in testStopSearchIdempotent()
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarUsage.java55 SearchManager searchManager = (SearchManager) getSystemService(SEARCH_SERVICE); in onCreateOptionsMenu() local
56 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
/frameworks/support/compat/honeycomb/android/support/v4/widget/
DSearchViewCompatHoneycomb.java57 SearchManager searchManager = (SearchManager) in setSearchableInfo() local
59 sv.setSearchableInfo(searchManager.getSearchableInfo(searchableComponent)); in setSearchableInfo()
/frameworks/base/docs/html/training/search/
Dbackward-compat.jd77 SearchManager searchManager =
82 searchManager.getSearchableInfo(getComponentName()));
Dsetup.jd124 SearchManager searchManager =
129 searchManager.getSearchableInfo(getComponentName()));
/frameworks/base/core/java/android/app/
DSearchDialog.java124 public SearchDialog(Context context, SearchManager searchManager) { in SearchDialog() argument
252 SearchManager searchManager = (SearchManager) in show() local
255 mSearchable = searchManager.getSearchableInfo(componentName); in show()
DDialog.java1027 final SearchManager searchManager = (SearchManager) mContext in onSearchRequested() local
1032 if (appName != null && searchManager.getSearchableInfo(appName) != null) { in onSearchRequested()
1033 searchManager.startSearch(null, false, appName, null, false); in onSearchRequested()
/frameworks/base/docs/html/guide/topics/search/
Dsearch-dialog.jd702 …SearchManager searchManager = (SearchManager) {@link android.app.Activity#getSystemService(java.la…
705 …searchView.setSearchableInfo(searchManager.getSearchableInfo({@link android.app.Activity#getCompon…
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3585 SearchManager searchManager = getSearchManager(); in launchAssistLongPressAction() local
3586 if (searchManager != null) { in launchAssistLongPressAction()
3587 searchManager.stopSearch(); in launchAssistLongPressAction()