Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/app/
DSearchManagerTest.java23 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()
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;
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/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java19 import android.app.SearchManager;
67 private SearchManager mSearchManager;
97 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in SuggestionsAdapter()
197 ? extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS) in updateSpinnerState()
202 && extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS)) { in updateSpinnerState()
225 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor()
226 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor()
227 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor()
228 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor()
229 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor()
[all …]
DSearchView.java20 import android.app.SearchManager;
1409 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
1411 intent.putExtra(SearchManager.QUERY, query); in createIntent()
1414 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
1417 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
1420 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1421 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
1462 queryExtras.putParcelable(SearchManager.APP_DATA, mAppSearchData); in createVoiceAppSearchIntent()
1519 String action = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_ACTION); in createIntentFromSuggestion()
1529 String data = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_DATA); in createIntentFromSuggestion()
[all …]
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java20 import android.app.SearchManager;
67 private SearchManager mSearchManager;
104 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in SuggestionsAdapter()
235 ? extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS) in updateSpinnerState()
240 && extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS)) { in updateSpinnerState()
265 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor()
266 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor()
267 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor()
268 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor()
269 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor()
[all …]
DSearchView.java22 import android.app.SearchManager;
1469 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
1471 intent.putExtra(SearchManager.QUERY, query); in createIntent()
1474 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
1477 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
1480 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1481 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
1522 queryExtras.putParcelable(SearchManager.APP_DATA, mAppSearchData); in createVoiceAppSearchIntent()
1579 String action = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_ACTION); in createIntentFromSuggestion()
1589 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;
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/
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/support/v4/honeycomb/android/support/v4/widget/
DSearchViewCompatHoneycomb.java19 import android.app.SearchManager;
47 SearchManager searchManager = (SearchManager) in setSearchableInfo()
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd30 <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 …]
Dsearch-dialog.jd39 <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 …]
Dsearchable-config.jd96 <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/
DSearchDialog.java124 public SearchDialog(Context context, SearchManager searchManager) { in SearchDialog()
255 SearchManager searchManager = (SearchManager) in show()
598 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
600 intent.putExtra(SearchManager.QUERY, query); in createIntent()
603 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
606 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
609 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
610 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
DSearchManager.java61 public class SearchManager class
450 /*package*/ SearchManager(Context context, Handler handler) { in SearchManager() method in SearchManager
805 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSelectorView.java21 import android.app.SearchManager;
68 ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
202 ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in updateTargets()
214 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in updateResources()
DKeyguardViewMediator.java28 import android.app.SearchManager;
177 private SearchManager mSearchManager;
548 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in onSystemReady()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneFallbackEventHandler.java20 import android.app.SearchManager;
47 SearchManager mSearchManager;
259 SearchManager getSearchManager() { in getSearchManager()
261 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSearchPanelView.java22 import android.app.SearchManager;
96 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in startAssistActivity()
172 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in maybeSwapSearchIcon()
303 return ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in isAssistantAvailable()
/frameworks/base/services/java/com/android/server/search/
DSearchManagerService.java23 import android.app.SearchManager;
163 Intent intent = new Intent(SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED); in updateSearchables()
189 Intent intent = new Intent(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED); in onChange()
DSearchables.java20 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/
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/docs/html/sdk/api_diff/4/
DmissingSinces.txt143 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/
Dbackward-compat.jd77 SearchManager searchManager =
78 (SearchManager) getSystemService(Context.SEARCH_SERVICE);
Dsetup.jd124 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);

12