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;
1653 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
1655 intent.putExtra(SearchManager.QUERY, query); in createIntent()
1658 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
1661 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
1664 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1665 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
1706 queryExtras.putParcelable(SearchManager.APP_DATA, mAppSearchData); in createVoiceAppSearchIntent()
1763 String action = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_ACTION); in createIntentFromSuggestion()
1773 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/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.java40 import android.app.SearchManager;
3137 ((SearchManager) getContext().getSystemService(Context.SEARCH_SERVICE))
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java23 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/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/core/java/android/app/
DSearchManager.java64 public class SearchManager class
556 /*package*/ SearchManager(Context context, Handler handler) throws ServiceNotFoundException { in SearchManager() method in SearchManager
918 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions()
DDialog.java1093 final SearchManager searchManager = (SearchManager) mContext in onSearchRequested()
DSystemServiceRegistry.java595 registerService(Context.SEARCH_SERVICE, SearchManager.class, in registerService()
596 new CachedServiceFetcher<SearchManager>() { in registerService()
598 public SearchManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
599 return new SearchManager(ctx.getOuterContext(), in registerService()
DActivity.java842 private SearchManager mSearchManager;
6791 mSearchManager = new SearchManager(this, null); in ensureSearchManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java12 import android.app.SearchManager;
387 final SearchManager searchManager = in startAssistActivity()
388 (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in startAssistActivity()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java28 import android.app.SearchManager;
127 private SearchManager mSearchManager;
227 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java99 import android.app.SearchManager;
370 SearchManager mSearchManager;
3237 SearchManager searchManager = getSearchManager(); in launchAssistLongPressAction()
3264 ((SearchManager) mContext.createContextAsUser(UserHandle.of(mCurrentUserId), 0) in launchAssistAction()
3298 private SearchManager getSearchManager() { in getSearchManager()
3300 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java26 import android.app.SearchManager;
710 SearchManager.INTENT_ACTION_GLOBAL_SEARCH, userId), in grantDefaultSystemHandlerPermissions()
/frameworks/base/core/java/android/provider/
DSettings.java37 import android.app.SearchManager;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dpreloaded-classes571 android.app.SearchManager
/frameworks/base/non-updatable-api/
Dsystem-current.txt686 …public class SearchManager implements android.content.DialogInterface.OnCancelListener android.con…
/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