Home
last modified time | relevance | path

Searched refs:SearchManager (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/
DSearchManagerTest.java110 SearchManager searchManager1 = (SearchManager) in testSearchManagerAvailable()
113 SearchManager searchManager2 = (SearchManager) in testSearchManagerAvailable()
124 SearchManager searchManager = (SearchManager) in testStartSearchIdempotent()
138 SearchManager searchManager = (SearchManager) in testStopSearchIdempotent()
153 SearchManager searchManager = (SearchManager) in testSearchManagerInvocations()
DSuggestionProvider.java19 import android.app.SearchManager;
41 sURLMatcher.addURI("*", SearchManager.SUGGEST_URI_PATH_QUERY,
43 sURLMatcher.addURI("*", SearchManager.SUGGEST_URI_PATH_QUERY + "/*",
49 SearchManager.SUGGEST_COLUMN_TEXT_1,
50 SearchManager.SUGGEST_COLUMN_INTENT_ACTION,
51 SearchManager.SUGGEST_COLUMN_QUERY
90 return SearchManager.SUGGEST_MIME_TYPE; in getType()
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java19 import android.app.SearchManager;
190 mUriMatcher.addURI(mAuthority, SearchManager.SUGGEST_URI_PATH_QUERY, URI_MATCH_SUGGEST); in setupSuggestions()
196 "0 AS " + SearchManager.SUGGEST_COLUMN_FORMAT, in setupSuggestions()
199 + SearchManager.SUGGEST_COLUMN_ICON_1, in setupSuggestions()
200 "display1 AS " + SearchManager.SUGGEST_COLUMN_TEXT_1, in setupSuggestions()
201 "display2 AS " + SearchManager.SUGGEST_COLUMN_TEXT_2, in setupSuggestions()
202 "query AS " + SearchManager.SUGGEST_COLUMN_QUERY, in setupSuggestions()
209 "0 AS " + SearchManager.SUGGEST_COLUMN_FORMAT, in setupSuggestions()
212 + SearchManager.SUGGEST_COLUMN_ICON_1, in setupSuggestions()
213 "display1 AS " + SearchManager.SUGGEST_COLUMN_TEXT_1, in setupSuggestions()
[all …]
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java20 import android.app.SearchManager;
67 private final SearchManager mSearchManager;
104 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in SuggestionsAdapter()
238 ? extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS) in updateSpinnerState()
243 && extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS)) { in updateSpinnerState()
268 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor()
269 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor()
270 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor()
271 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor()
272 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor()
[all …]
DSearchView.java23 import android.app.SearchManager;
1652 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
1654 intent.putExtra(SearchManager.QUERY, query); in createIntent()
1657 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
1660 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
1663 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1664 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
1705 queryExtras.putParcelable(SearchManager.APP_DATA, mAppSearchData); in createVoiceAppSearchIntent()
1762 String action = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_ACTION); in createIntentFromSuggestion()
1772 String data = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_DATA); in createIntentFromSuggestion()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSearchRecentSuggestionsProviderTest.java19 import android.app.SearchManager;
167 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in testReordering()
168 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in testReordering()
169 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in testReordering()
325 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in checkResultCounts()
326 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in checkResultCounts()
327 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in checkResultCounts()
387 '/' + SearchManager.SUGGEST_URI_PATH_QUERY; in getQueryCursor()
/frameworks/ex/common/java/com/android/common/
DSearch.java19 import android.app.SearchManager;
101 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions()
114 uriBuilder.appendQueryParameter(SearchManager.SUGGEST_PARAMETER_LIMIT, in getSuggestions()
/frameworks/base/core/java/android/app/
DSearchDialog.java127 public SearchDialog(Context context, SearchManager searchManager) { in SearchDialog()
255 SearchManager searchManager = (SearchManager) in show()
613 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
615 intent.putExtra(SearchManager.QUERY, query); in createIntent()
618 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
621 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
624 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
625 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
DSearchManager.java62 public class SearchManager class
554 /*package*/ SearchManager(Context context, Handler handler) throws ServiceNotFoundException { in SearchManager() method in SearchManager
916 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions()
DDialog.java1095 final SearchManager searchManager = (SearchManager) mContext in onSearchRequested()
DSystemServiceRegistry.java577 registerService(Context.SEARCH_SERVICE, SearchManager.class, in registerService()
578 new CachedServiceFetcher<SearchManager>() { in registerService()
580 public SearchManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
581 return new SearchManager(ctx.getOuterContext(), in registerService()
DActivity.java836 private SearchManager mSearchManager;
6645 mSearchManager = new SearchManager(this, null); in ensureSearchManager()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java20 import android.app.SearchManager;
51 SearchManager mSearchManager;
290 SearchManager getSearchManager() { in getSearchManager()
292 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager()
DPhoneWindow.java39 import android.app.SearchManager;
3195 return ((SearchManager)getContext().getSystemService(Context.SEARCH_SERVICE))
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java19 import android.app.SearchManager;
332 || intent.getAction().equals(SearchManager.INTENT_ACTION_GLOBAL_SEARCH)); in queryIntentActivities()
347 || intent.getAction().equals(SearchManager.INTENT_ACTION_GLOBAL_SEARCH)); in resolveActivity()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java24 import android.app.SearchManager;
186 Intent intent = new Intent(SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED); in updateSearchables()
212 Intent intent = new Intent(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED); in onChange()
DSearchables.java20 import android.app.SearchManager;
306 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); in findGlobalSearchActivities()
341 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); in isInstalled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java11 import android.app.SearchManager;
369 final SearchManager searchManager = in startAssistActivity()
370 (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in startAssistActivity()
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java22 import android.app.SearchManager;
229 .putExtra(SearchManager.QUERY, text), in createForFlight()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java113 import android.app.SearchManager;
383 SearchManager mSearchManager;
3311 SearchManager searchManager = getSearchManager(); in launchAssistLongPressAction()
3336 ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in launchAssistAction()
3382 private SearchManager getSearchManager() { in getSearchManager()
3384 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java27 import android.app.SearchManager;
627 SearchManager.INTENT_ACTION_GLOBAL_SEARCH, userId), in grantDefaultSystemHandlerPermissions()
/frameworks/base/core/java/android/provider/
DSettings.java46 import android.app.SearchManager;
/frameworks/base/config/
Dpreloaded-classes342 android.app.SearchManager
Dhiddenapi-greylist-max-o.txt1366 Landroid/app/Activity;->mSearchManager:Landroid/app/SearchManager;
8487 Landroid/app/SearchDialog;-><init>(Landroid/content/Context;Landroid/app/SearchManager;)V
8531 Landroid/app/SearchManager;->CONTEXT_IS_VOICE:Ljava/lang/String;
8532 Landroid/app/SearchManager;->DBG:Z
8533 Landroid/app/SearchManager;->ensureSearchDialog()V
8534 Landroid/app/SearchManager;->getAssistIntent(Z)Landroid/content/Intent;
8535 Landroid/app/SearchManager;->getGlobalSearchActivities()Ljava/util/List;
8536 Landroid/app/SearchManager;->launchLegacyAssist(Ljava/lang/String;ILandroid/os/Bundle;)Z
8537 Landroid/app/SearchManager;->mCancelListener:Landroid/app/SearchManager$OnCancelListener;
8538 Landroid/app/SearchManager;->mContext:Landroid/content/Context;
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4954 …public class SearchManager implements android.content.DialogInterface.OnCancelListener android.con…
4960 method public void setOnCancelListener(android.app.SearchManager.OnCancelListener);
4961 method public void setOnDismissListener(android.app.SearchManager.OnDismissListener);
5019 public static abstract interface SearchManager.OnCancelListener {
5023 public static abstract interface SearchManager.OnDismissListener {

12