/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 | 18 import android.app.SearchManager; 46 SearchManager searchManager = 47 (SearchManager) context.getSystemService(Context.SEARCH_SERVICE); 48 ComponentName name = searchManager.getWebSearchActivity(); 50 SearchableInfo searchable = searchManager.getSearchableInfo(name); 87 intent.putExtra(SearchManager.QUERY, query); 89 intent.putExtra(SearchManager.APP_DATA, appData); 92 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); 102 SearchManager searchManager [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/src/com/android/quicksearchbox/ |
SuggestionCursorBackedCursor.java | 18 import android.app.SearchManager; 27 SearchManager.SUGGEST_COLUMN_TEXT_1, // 1 28 SearchManager.SUGGEST_COLUMN_TEXT_2, // 2 29 SearchManager.SUGGEST_COLUMN_TEXT_2_URL, // 3 30 SearchManager.SUGGEST_COLUMN_ICON_1, // 4 31 SearchManager.SUGGEST_COLUMN_ICON_2, // 5 32 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, // 6 33 SearchManager.SUGGEST_COLUMN_INTENT_DATA, // 7 34 SearchManager.SUGGEST_COLUMN_INTENT_EXTRA_DATA, // 8 35 SearchManager.SUGGEST_COLUMN_QUERY, // [all...] |
CursorBackedSuggestionCursor.java | 19 import android.app.SearchManager; 38 /** Column index of {@link SearchManager#SUGGEST_COLUMN_FORMAT} in @{link mCursor}. */ 41 /** Column index of {@link SearchManager#SUGGEST_COLUMN_TEXT_1} in @{link mCursor}. */ 44 /** Column index of {@link SearchManager#SUGGEST_COLUMN_TEXT_2} in @{link mCursor}. */ 47 /** Column index of {@link SearchManager#SUGGEST_COLUMN_TEXT_2_URL} in @{link mCursor}. */ 50 /** Column index of {@link SearchManager#SUGGEST_COLUMN_ICON_1} in @{link mCursor}. */ 53 /** Column index of {@link SearchManager#SUGGEST_COLUMN_ICON_1} in @{link mCursor}. */ 56 /** Column index of {@link SearchManager#SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING} 67 mFormatCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_FORMAT); 68 mText1Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1) [all...] |
SuggestionUtils.java | 19 import android.app.SearchManager; 50 intent.putExtra(SearchManager.USER_QUERY, userQuery); 52 intent.putExtra(SearchManager.QUERY, query); 55 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); 58 intent.putExtra(SearchManager.APP_DATA, appSearchData);
|
ShortcutsProvider.java | 19 import android.app.SearchManager; 66 return SearchManager.SUGGEST_MIME_TYPE; 128 String userQuery = shortcut.getAsString(SearchManager.USER_QUERY); 148 String format = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_FORMAT); 149 String text1 = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_TEXT_1); 150 String text2 = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_TEXT_2); 151 String text2Url = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); 152 String icon1 = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_ICON_1); 153 String icon2 = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_ICON_2); 154 String shortcutId = shortcut.getAsString(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID) [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)) {
|
AbstractSource.java | 19 import android.app.SearchManager; 85 intent.putExtra(SearchManager.USER_QUERY, query); 86 intent.putExtra(SearchManager.QUERY, query); 88 intent.putExtra(SearchManager.APP_DATA, appData);
|
SearchableSources.java | 19 import android.app.SearchManager; 40 private final SearchManager mSearchManager; 54 mSearchManager = (SearchManager) context.getSystemService(Context.SEARCH_SERVICE); 61 protected SearchManager getSearchManager() {
|
/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;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GlobalSearchSupportTest.java | 20 import android.app.SearchManager; 49 .appendPath(SearchManager.SUGGEST_URI_PATH_QUERY).appendPath("D").build(); 118 .appendPath(SearchManager.SUGGEST_URI_PATH_QUERY).appendPath("12345").build(); 125 values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, "Dial number"); 126 values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, "using 12345"); 127 values.put(SearchManager.SUGGEST_COLUMN_ICON_1, 129 values.put(SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 131 values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, "tel:12345"); 132 values.putNull(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID); 137 values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, "Create contact") [all...] |
/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/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;
|
/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...] |
DictionaryDatabase.java | 19 import android.app.SearchManager; 45 public static final String KEY_WORD = SearchManager.SUGGEST_COLUMN_TEXT_1; 46 public static final String KEY_DEFINITION = SearchManager.SUGGEST_COLUMN_TEXT_2; 75 map.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID, "rowid AS " + 76 SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID); 77 map.put(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, "rowid AS " + 78 SearchManager.SUGGEST_COLUMN_SHORTCUT_ID);
|
/cts/tests/tests/app/src/android/app/cts/ |
SearchManagerTest.java | 25 import android.app.SearchManager; 31 @TestTargetClass(SearchManager.class) 69 args = {android.app.SearchManager.OnDismissListener.class} 77 @ToBeFixed(bug = "1731631", explanation = "From the doc of SearchManager, " 80 + "See setOnDismissListener(SearchManager.OnDismissListener) and " 81 + "setOnCancelListener(SearchManager.OnCancelListener) " 83 + "So that means if the SearchManager has set the OnDismissListener " 97 args = {android.app.SearchManager.OnCancelListener.class}
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSuggestionProvider.java | 22 import android.app.SearchManager; 52 * This will always return {@link SearchManager#SUGGEST_MIME_TYPE} as this 57 return SearchManager.SUGGEST_MIME_TYPE; 72 uri.getQueryParameter(SearchManager.SUGGEST_COLUMN_INTENT_EXTRA_DATA); 109 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_QUERY, 111 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", 113 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_SHORTCUT, 115 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/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 | 22 * @see android.app.SearchManager 31 * The source identifier is stored in the {@link android.app.SearchManager#APP_DATA}
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 26 import android.app.SearchManager; 56 SearchManager.SUGGEST_COLUMN_TEXT_1, 57 SearchManager.SUGGEST_COLUMN_TEXT_2, 58 SearchManager.SUGGEST_COLUMN_ICON_1, 59 SearchManager.SUGGEST_COLUMN_INTENT_DATA, 60 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 61 SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, 66 SearchManager.SUGGEST_COLUMN_TEXT_1, 67 SearchManager.SUGGEST_COLUMN_TEXT_2, 68 SearchManager.SUGGEST_COLUMN_ICON_1 [all...] |
/frameworks/base/docs/html/guide/topics/search/ |
adding-custom-suggestions.jd | 31 <li>{@link android.app.SearchManager}</li> 197 android.app.SearchManager#SUGGEST_URI_PATH_QUERY}</em> 203 android.app.SearchManager#SUGGEST_URI_PATH_QUERY}</em>/puppies 212 android.app.SearchManager#SUGGEST_URI_PATH_QUERY} is not the literal 341 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_TEXT_1}</dt> 349 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_TEXT_2}</dt> 353 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_ICON_1}</dt> 357 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_ICON_2}</dt> 361 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_INTENT_ACTION}</dt> 368 <dt>{@link android.app.SearchManager#SUGGEST_COLUMN_INTENT_DATA}</dt [all...] |
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsProvider.java | 21 import android.app.SearchManager; 110 matcher.addURI(Applications.AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY, 112 matcher.addURI(Applications.AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", 114 matcher.addURI(Applications.AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT, 116 matcher.addURI(Applications.AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*", 248 * This will always return {@link SearchManager#SUGGEST_MIME_TYPE} as this 255 return SearchManager.SUGGEST_MIME_TYPE; 257 return SearchManager.SHORTCUT_MIME_TYPE; 378 addProjection(map, SearchManager.SUGGEST_COLUMN_TEXT_1, NAME); 379 addProjection(map, SearchManager.SUGGEST_COLUMN_TEXT_2, DESCRIPTION) [all...] |