/frameworks/base/core/tests/coretests/src/android/app/ |
D | SearchManagerTest.java | 23 import android.app.SearchManager; 114 SearchManager searchManager1 = (SearchManager) in testSearchManagerAvailable() 117 SearchManager searchManager2 = (SearchManager) in testSearchManagerAvailable() 128 SearchManager searchManager = (SearchManager) in testStartSearchIdempotent() 142 SearchManager searchManager = (SearchManager) in testStopSearchIdempotent() 157 SearchManager searchManager = (SearchManager) in testSearchManagerInvocations()
|
D | SuggestionProvider.java | 19 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/ |
D | SearchRecentSuggestionsProvider.java | 19 import android.app.SearchManager; 188 mUriMatcher.addURI(mAuthority, SearchManager.SUGGEST_URI_PATH_QUERY, URI_MATCH_SUGGEST); in setupSuggestions() 194 "0 AS " + SearchManager.SUGGEST_COLUMN_FORMAT, in setupSuggestions() 197 + SearchManager.SUGGEST_COLUMN_ICON_1, in setupSuggestions() 198 "display1 AS " + SearchManager.SUGGEST_COLUMN_TEXT_1, in setupSuggestions() 199 "display2 AS " + SearchManager.SUGGEST_COLUMN_TEXT_2, in setupSuggestions() 200 "query AS " + SearchManager.SUGGEST_COLUMN_QUERY, in setupSuggestions() 207 "0 AS " + SearchManager.SUGGEST_COLUMN_FORMAT, in setupSuggestions() 210 + SearchManager.SUGGEST_COLUMN_ICON_1, in setupSuggestions() 211 "display1 AS " + SearchManager.SUGGEST_COLUMN_TEXT_1, in setupSuggestions() [all …]
|
/frameworks/base/docs/html/training/tv/discovery/ |
D | searchable.jd | 56 <p>The {@link android.app.SearchManager} describes the data fields it expects by representing them … 63 <p>The {@link android.app.SearchManager} class includes several columns for Android TV. Some of the 99 <li>{@link android.app.SearchManager#SUGGEST_COLUMN_TEXT_1}</li> 100 <li>{@link android.app.SearchManager#SUGGEST_COLUMN_CONTENT_TYPE}</li> 101 <li>{@link android.app.SearchManager#SUGGEST_COLUMN_PRODUCTION_YEAR}</li> 115 public static final String KEY_NAME = SearchManager.SUGGEST_COLUMN_TEXT_1; 116 public static final String KEY_DESCRIPTION = SearchManager.SUGGEST_COLUMN_TEXT_2; 117 public static final String KEY_ICON = SearchManager.SUGGEST_COLUMN_RESULT_CARD_IMAGE; 118 public static final String KEY_DATA_TYPE = SearchManager.SUGGEST_COLUMN_CONTENT_TYPE; 119 public static final String KEY_IS_LIVE = SearchManager.SUGGEST_COLUMN_IS_LIVE; [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 20 import android.app.SearchManager; 67 private final SearchManager mSearchManager; 104 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in SuggestionsAdapter() 237 ? extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS) in updateSpinnerState() 242 && extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS)) { in updateSpinnerState() 267 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor() 268 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor() 269 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor() 270 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor() 271 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor() [all …]
|
D | SearchView.java | 22 import android.app.SearchManager; 1521 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent() 1523 intent.putExtra(SearchManager.QUERY, query); in createIntent() 1526 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent() 1529 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent() 1532 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent() 1533 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent() 1574 queryExtras.putParcelable(SearchManager.APP_DATA, mAppSearchData); in createVoiceAppSearchIntent() 1631 String action = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_ACTION); in createIntentFromSuggestion() 1641 String data = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_DATA); in createIntentFromSuggestion() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SuggestionsAdapter.java | 19 import android.app.SearchManager; 68 private final SearchManager mSearchManager; 97 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in SuggestionsAdapter() 199 ? extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS) in updateSpinnerState() 204 && extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS)) { in updateSpinnerState() 227 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor() 228 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor() 229 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor() 230 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor() 231 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor() [all …]
|
D | SearchView.java | 21 import android.app.SearchManager; 1423 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent() 1425 intent.putExtra(SearchManager.QUERY, query); in createIntent() 1428 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent() 1431 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent() 1434 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent() 1435 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent() 1480 queryExtras.putParcelable(SearchManager.APP_DATA, mAppSearchData); in createVoiceAppSearchIntent() 1539 String action = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_ACTION); in createIntentFromSuggestion() 1549 String data = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_DATA); in createIntentFromSuggestion() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SearchRecentSuggestionsProviderTest.java | 19 import android.app.SearchManager; 162 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in testReordering() 163 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in testReordering() 164 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in testReordering() 318 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in checkResultCounts() 319 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in checkResultCounts() 320 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in checkResultCounts() 380 '/' + SearchManager.SUGGEST_URI_PATH_QUERY; in getQueryCursor()
|
/frameworks/ex/common/java/com/android/common/ |
D | Search.java | 19 import android.app.SearchManager; 101 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions() 114 uriBuilder.appendQueryParameter(SearchManager.SUGGEST_PARAMETER_LIMIT, in getSuggestions()
|
/frameworks/support/v4/honeycomb/android/support/v4/widget/ |
D | SearchViewCompatHoneycomb.java | 19 import android.app.SearchManager; 47 SearchManager searchManager = (SearchManager) in setSearchableInfo()
|
/frameworks/base/docs/html/guide/topics/search/ |
D | adding-custom-suggestions.jd | 30 <li>{@link android.app.SearchManager}</li> 194 android.app.SearchManager#SUGGEST_URI_PATH_QUERY}</em> 200 android.app.SearchManager#SUGGEST_URI_PATH_QUERY}</em>/puppies 209 android.app.SearchManager#SUGGEST_URI_PATH_QUERY} is not the literal 338 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_TEXT_1}</dt> 346 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_TEXT_2}</dt> 350 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_ICON_1}</dt> 354 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_ICON_2}</dt> 358 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_INTENT_ACTION}</dt> 365 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_INTENT_DATA}</dt> [all …]
|
D | search-dialog.jd | 39 <li>{@link android.app.SearchManager}</li> 206 searchable activity retrieves the query from the intent's {@link android.app.SearchManager#QUERY 284 {@link android.app.SearchManager#QUERY QUERY} string extra. You must check for 297 String query = intent.getStringExtra(SearchManager.QUERY); 303 <p>The {@link android.app.SearchManager#QUERY QUERY} string is always included with 537 closed with {@link android.app.SearchManager#setOnDismissListener(SearchManager.OnDismissListener) 539 and/or {@link android.app.SearchManager#setOnCancelListener(SearchManager.OnCancelListener) 541 should need to register only the {@link android.app.SearchManager.OnDismissListener 543 android.app.SearchManager.OnCancelListener OnCancelListener} only pertains to events in which the 584 String query = intent.getStringExtra(SearchManager.QUERY); [all …]
|
D | searchable-config.jd | 96 <td>Use the value from the {@link android.app.SearchManager#SUGGEST_COLUMN_TEXT_1} 102 {@link android.app.SearchManager#SUGGEST_COLUMN_INTENT_DATA} column to rewrite the 104 {@link android.app.SearchManager#SUGGEST_COLUMN_INTENT_DATA} are suitable for user 167 android.app.SearchManager#SUGGEST_COLUMN_INTENT_ACTION} column), this value is placed in the action 174 android.app.SearchManager#SUGGEST_COLUMN_INTENT_DATA} column), this value is 317 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. Not all 327 getStringExtra(SearchManager.ACTION_MSG)}.</dd> 335 getStringExtra(SearchManager.ACTION_MSG)}. This should only be used if all your 353 android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. If the data
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 124 public SearchDialog(Context context, SearchManager searchManager) { in SearchDialog() 254 SearchManager searchManager = (SearchManager) in show() 597 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent() 599 intent.putExtra(SearchManager.QUERY, query); in createIntent() 602 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent() 605 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent() 608 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent() 609 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
|
D | SearchManager.java | 60 public class SearchManager class 555 /*package*/ SearchManager(Context context, Handler handler) { in SearchManager() method in SearchManager 914 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneFallbackEventHandler.java | 20 import android.app.SearchManager; 48 SearchManager mSearchManager; 256 SearchManager getSearchManager() { in getSearchManager() 258 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SearchPanelView.java | 20 import android.app.SearchManager; 89 final Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in startAssistActivity() 119 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in maybeSwapSearchIcon() 262 return ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in isAssistantAvailable()
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | SearchManagerService.java | 24 import android.app.SearchManager; 165 Intent intent = new Intent(SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED); in updateSearchables() 191 Intent intent = new Intent(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED); in onChange()
|
D | Searchables.java | 20 import android.app.SearchManager; 284 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); in findGlobalSearchActivities() 319 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); in isInstalled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 19 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/docs/html/sdk/api_diff/4/ |
D | missingSinces.txt | 143 NO DOC BLOCK: android.app.SearchManager Field EXTRA_DATA_KEY 175 NO DOC BLOCK: android.app.SearchManager Field INTENT_ACTION_SEARCH_SETTINGS_CHANGED 176 NO DOC BLOCK: android.app.SearchManager Field INTENT_ACTION_SEARCHABLES_CHANGED 177 NO DOC BLOCK: android.app.SearchManager Field INTENT_ACTION_WEB_SEARCH_SETTINGS 212 NO DOC BLOCK: android.app.SearchManager Field SHORTCUT_MIME_TYPE 218 NO DOC BLOCK: android.app.SearchManager Field SUGGEST_COLUMN_INTENT_EXTRA_DATA 219 NO DOC BLOCK: android.app.SearchManager Field SUGGEST_COLUMN_SHORTCUT_ID 220 NO DOC BLOCK: android.app.SearchManager Field SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING 221 NO DOC BLOCK: android.app.SearchManager Field SUGGEST_NEVER_MAKE_SHORTCUT 222 NO DOC BLOCK: android.app.SearchManager Field SUGGEST_URI_PATH_SHORTCUT [all …]
|
/frameworks/base/docs/html/training/search/ |
D | backward-compat.jd | 77 SearchManager searchManager = 78 (SearchManager) getSystemService(Context.SEARCH_SERVICE);
|
D | setup.jd | 124 SearchManager searchManager = 125 (SearchManager) getSystemService(Context.SEARCH_SERVICE); 135 <p>The call to {@link android.app.SearchManager#getSearchableInfo getSearchableInfo()} obtains a 187 String query = intent.getStringExtra(SearchManager.QUERY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsActivity.java | 21 import android.app.SearchManager; 165 } else if (action.equals(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED)) { 394 filter.addAction(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED); in onCreate()
|