/frameworks/base/core/tests/coretests/src/android/app/ |
SearchManagerTest.java | 23 import android.app.SearchManager; 58 * SearchManager tests 114 SearchManager searchManager1 = (SearchManager) 117 SearchManager searchManager2 = (SearchManager) 128 SearchManager searchManager = (SearchManager) 130 assertNotNull(searchManager); [all...] |
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;
|
/packages/apps/Browser/src/com/android/browser/search/ |
DefaultSearchEngine.java | 19 import android.app.SearchManager; 47 SearchManager searchManager = 48 (SearchManager) context.getSystemService(Context.SEARCH_SERVICE); 49 ComponentName name = searchManager.getWebSearchActivity(); 51 SearchableInfo searchable = searchManager.getSearchableInfo(name); 88 intent.putExtra(SearchManager.QUERY, query); 90 intent.putExtra(SearchManager.APP_DATA, appData); 93 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); 101 intent.putExtra(SearchManager.EXTRA_WEB_SEARCH_PENDINGINTENT, pending) [all...] |
OpenSearchSearchEngine.java | 28 import android.app.SearchManager; 68 SearchManager.SUGGEST_COLUMN_QUERY, 69 SearchManager.SUGGEST_COLUMN_ICON_1, 70 SearchManager.SUGGEST_COLUMN_TEXT_1, 71 SearchManager.SUGGEST_COLUMN_TEXT_2, 76 SearchManager.SUGGEST_COLUMN_QUERY, 77 SearchManager.SUGGEST_COLUMN_ICON_1, 78 SearchManager.SUGGEST_COLUMN_TEXT_1, 109 intent.putExtra(SearchManager.QUERY, query); 111 intent.putExtra(SearchManager.APP_DATA, appData) [all...] |
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/ |
SpammySuggestionProvider.java | 19 import android.app.SearchManager; 34 SearchManager.SUGGEST_COLUMN_TEXT_1, 35 SearchManager.SUGGEST_COLUMN_TEXT_2, 36 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 37 SearchManager.SUGGEST_COLUMN_INTENT_DATA, 65 return SearchManager.SUGGEST_MIME_TYPE;
|
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
android.app.SearchManager.html | 10 android.app.SearchManager 74 Class android.app.<A HREF="../../../../reference/android/app/SearchManager.html" target="_top"><font size="+2"><code>SearchManager</code></font></A> 86 <A NAME="android.app.SearchManager.onCancel_changed(android.content.DialogInterface)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/app/SearchManager.html#onCancel(android.content.DialogInterface)" target="_top"><code>onCancel</code></A>(<code>DialogInterface</code>) </nobr> 96 <A NAME="android.app.SearchManager.onDismiss_changed(android.content.DialogInterface)"></A> 97 <nobr><code>void</code> <A HREF="../../../../reference/android/app/SearchManager.html#onDismiss(android.content.DialogInterface)" target="_top"><code>onDismiss</code></A>(<code>DialogInterface</code>) </nobr> 115 <A NAME="android.app.SearchManager.EXTRA_DATA_KEY"></A> 116 <nobr><code>String</code> <A HREF="../../../../reference/android/app/SearchManager.html#EXTRA_DATA_KEY" target="_top"><code>EXTRA_DATA_KEY</code></A></nobr> 122 <A NAME="android.app.SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED"></A [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CursorBackedSuggestionCursor.java | 19 import android.app.SearchManager; 39 /** Column index of {@link SearchManager#SUGGEST_COLUMN_FORMAT} in @{link mCursor}. */ 42 /** Column index of {@link SearchManager#SUGGEST_COLUMN_TEXT_1} in @{link mCursor}. */ 45 /** Column index of {@link SearchManager#SUGGEST_COLUMN_TEXT_2} in @{link mCursor}. */ 48 /** Column index of {@link SearchManager#SUGGEST_COLUMN_TEXT_2_URL} in @{link mCursor}. */ 51 /** Column index of {@link SearchManager#SUGGEST_COLUMN_ICON_1} in @{link mCursor}. */ 54 /** Column index of {@link SearchManager#SUGGEST_COLUMN_ICON_1} in @{link mCursor}. */ 57 /** Column index of {@link SearchManager#SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING} 68 mFormatCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_FORMAT); 69 mText1Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1) [all...] |
ShortcutsProvider.java | 19 import android.app.SearchManager; 67 return SearchManager.SUGGEST_MIME_TYPE; 107 String sourceAction = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_INTENT_ACTION); 139 String userQuery = shortcut.getAsString(SearchManager.USER_QUERY); 159 String format = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_FORMAT); 160 String text1 = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_TEXT_1); 161 String text2 = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_TEXT_2); 162 String text2Url = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); 163 String icon1 = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_ICON_1); 164 String icon2 = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_ICON_2) [all...] |
SuggestionCursorBackedCursor.java | 18 import android.app.SearchManager; 32 SearchManager.SUGGEST_COLUMN_TEXT_1, // 1 33 SearchManager.SUGGEST_COLUMN_TEXT_2, // 2 34 SearchManager.SUGGEST_COLUMN_TEXT_2_URL, // 3 35 SearchManager.SUGGEST_COLUMN_ICON_1, // 4 36 SearchManager.SUGGEST_COLUMN_ICON_2, // 5 37 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, // 6 38 SearchManager.SUGGEST_COLUMN_INTENT_DATA, // 7 39 SearchManager.SUGGEST_COLUMN_INTENT_EXTRA_DATA, // 8 40 SearchManager.SUGGEST_COLUMN_QUERY, // [all...] |
CorporaUpdateReceiver.java | 19 import android.app.SearchManager; 36 if (SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED.equals(action) 37 || SearchManager.INTENT_ACTION_SEARCH_SETTINGS_CHANGED.equals(action)) {
|
SuggestionUtils.java | 21 import android.app.SearchManager; 51 intent.putExtra(SearchManager.USER_QUERY, userQuery); 53 intent.putExtra(SearchManager.QUERY, query); 56 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); 59 intent.putExtra(SearchManager.APP_DATA, appSearchData);
|
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
HangingSuggestionProvider.java | 19 import android.app.SearchManager; 34 SearchManager.SUGGEST_COLUMN_TEXT_1, 35 SearchManager.SUGGEST_COLUMN_ICON_1, 36 SearchManager.SUGGEST_COLUMN_TEXT_2, 37 SearchManager.SUGGEST_COLUMN_ICON_2, 38 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 39 SearchManager.SUGGEST_COLUMN_INTENT_DATA,
|
CrashingSuggestionProvider.java | 19 import android.app.SearchManager; 34 SearchManager.SUGGEST_COLUMN_TEXT_1, 35 SearchManager.SUGGEST_COLUMN_ICON_1, 36 SearchManager.SUGGEST_COLUMN_TEXT_2, 37 SearchManager.SUGGEST_COLUMN_ICON_2, 38 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 39 SearchManager.SUGGEST_COLUMN_INTENT_DATA,
|
NaughtySuggestionProvider.java | 18 import android.app.SearchManager; 39 return SearchManager.SUGGEST_MIME_TYPE;
|
/packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/ |
SlowSuggestionProvider.java | 19 import android.app.SearchManager; 34 SearchManager.SUGGEST_COLUMN_TEXT_1, 35 SearchManager.SUGGEST_COLUMN_TEXT_2, 36 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 37 SearchManager.SUGGEST_COLUMN_INTENT_DATA, 71 return SearchManager.SUGGEST_MIME_TYPE;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GlobalSearchSupportTest.java | 20 import android.app.SearchManager; 61 .appendPath(SearchManager.SUGGEST_URI_PATH_QUERY).appendPath("D").build(); 169 ContactsContract.AUTHORITY).appendPath(SearchManager.SUGGEST_URI_PATH_QUERY) 176 String icon1 = c.getString(c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1)); 184 // SearchManager does not declare a constant for _id 198 values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, expectedText1); 199 values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, expectedText2); 201 values.put(SearchManager.SUGGEST_COLUMN_ICON_2, expectedIcon2); 202 values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, 205 values.put(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, contact.getLookupKey()) [all...] |
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryProvider.java | 19 import android.app.SearchManager; 61 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY, SEARCH_SUGGEST); 62 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", SEARCH_SUGGEST); 65 * {@link SearchManager#SUGGEST_COLUMN_SHORTCUT_ID} as a column in our suggestions table, we 70 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT, REFRESH_SHORTCUT); 71 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*", REFRESH_SHORTCUT); 121 /* SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, 123 SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID}; 149 * {@link SearchManager#SUGGEST_COLUMN_SHORTCUT_ID} as a column in our suggestions table, we 160 SearchManager.SUGGEST_COLUMN_SHORTCUT_ID [all...] |
WordActivity.java | 21 import android.app.SearchManager; 73 SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE); 75 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSuggestionProvider.java | 25 import android.app.SearchManager; 58 * This will always return {@link SearchManager#SUGGEST_MIME_TYPE} as this 63 return SearchManager.SUGGEST_MIME_TYPE; 84 uri.getQueryParameter(SearchManager.SUGGEST_COLUMN_INTENT_EXTRA_DATA); 121 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_QUERY, 123 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", 125 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_SHORTCUT, 127 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*",
|
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/ |
PartialSuggestionProvider.java | 19 import android.app.SearchManager; 42 SearchManager.SUGGEST_COLUMN_TEXT_1, 43 SearchManager.SUGGEST_COLUMN_TEXT_2, 44 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 45 SearchManager.SUGGEST_COLUMN_INTENT_DATA, 53 mCursor.getExtras().putBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS, false); 114 cursor.getExtras().putBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS, true); 124 return SearchManager.SUGGEST_MIME_TYPE;
|
/frameworks/support/v4/honeycomb/android/support/v4/widget/ |
SearchViewCompatHoneycomb.java | 19 import android.app.SearchManager; 47 SearchManager searchManager = (SearchManager) 49 sv.setSearchableInfo(searchManager.getSearchableInfo(searchableComponent));
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SearchViewActionBar.java | 22 import android.app.SearchManager; 79 SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE); 80 if (searchManager != null) { 81 List<SearchableInfo> searchables = searchManager.getSearchablesInGlobalSearch(); 84 SearchableInfo info = searchManager.getSearchableInfo(getComponentName());
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 19 import android.app.SearchManager; 50 SearchManager.SUGGEST_COLUMN_TEXT_1, 51 SearchManager.SUGGEST_COLUMN_TEXT_2, 52 SearchManager.SUGGEST_COLUMN_ICON_1, 53 SearchManager.SUGGEST_COLUMN_ICON_2, 54 SearchManager.SUGGEST_COLUMN_INTENT_DATA, 55 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 56 SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, 57 SearchManager.SUGGEST_COLUMN_INTENT_EXTRA_DATA, 58 SearchManager.SUGGEST_COLUMN_LAST_ACCESS_HINT [all...] |
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
android.app.SearchManager.html | 10 android.app.SearchManager 74 Class android.app.<A HREF="../../../../reference/android/app/SearchManager.html" target="_top"><font size="+2"><code>SearchManager</code></font></A> 86 <A NAME="android.app.SearchManager.getSearchableInfo_added(android.content.ComponentName)"></A> 87 <nobr><code>SearchableInfo</code> <A HREF="../../../../reference/android/app/SearchManager.html#getSearchableInfo(android.content.ComponentName)" target="_top"><code>getSearchableInfo</code></A>(<code>ComponentName</code>)</nobr> 93 <A NAME="android.app.SearchManager.getSearchablesInGlobalSearch_added()"></A> 94 <nobr><code>List<SearchableInfo></code> <A HREF="../../../../reference/android/app/SearchManager.html#getSearchablesInGlobalSearch()" target="_top"><code>getSearchablesInGlobalSearch</code></A>()</nobr> 109 <A NAME="android.app.SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS"></A> 110 <nobr><code>String</code> <A HREF="../../../../reference/android/app/SearchManager.html#CURSOR_EXTRA_KEY_IN_PROGRESS" target="_top"><code>CURSOR_EXTRA_KEY_IN_PROGRESS</code></A></nobr> 116 <A NAME="android.app.SearchManager.EXTRA_SELECT_QUERY"></A [all...] |
/frameworks/ex/common/java/com/android/common/ |
Search.java | 19 import android.app.SearchManager; 29 * @see android.app.SearchManager 38 * The source identifier is stored in the {@link android.app.SearchManager#APP_DATA} 51 * See {@code SearchManager.SUGGEST_COLUMN_LAST_ACCESS_HINT} in ICS. 101 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); 114 uriBuilder.appendQueryParameter(SearchManager.SUGGEST_PARAMETER_LIMIT,
|