/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...] |
/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;
|
/developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/ |
MainActivity.java | 19 import android.app.SearchManager; 61 // SearchManager.QUERY is the key that a SearchManager will use to send a query string 63 String query = intent.getStringExtra(SearchManager.QUERY); 83 SearchManager searchManager = 84 (SearchManager) getSystemService(Context.SEARCH_SERVICE); 88 searchManager.getSearchableInfo(getComponentName()));
|
/developers/samples/android/content/contacts/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/ |
MainActivity.java | 19 import android.app.SearchManager; 61 // SearchManager.QUERY is the key that a SearchManager will use to send a query string 63 String query = intent.getStringExtra(SearchManager.QUERY); 83 SearchManager searchManager = 84 (SearchManager) getSystemService(Context.SEARCH_SERVICE); 88 searchManager.getSearchableInfo(getComponentName()));
|
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
MainActivity.java | 19 import android.app.SearchManager; 61 // SearchManager.QUERY is the key that a SearchManager will use to send a query string 63 String query = intent.getStringExtra(SearchManager.QUERY); 83 SearchManager searchManager = 84 (SearchManager) getSystemService(Context.SEARCH_SERVICE); 88 searchManager.getSearchableInfo(getComponentName()));
|
/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...] |
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...] |
/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,
|
/frameworks/base/docs/html/sdk/api_diff/21/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> 87 <A NAME="android.app.SearchManager.SUGGEST_COLUMN_AUDIO_CHANNEL_CONFIG"></A> 88 <nobr><code>String</code> <A HREF="../../../../reference/android/app/SearchManager.html#SUGGEST_COLUMN_AUDIO_CHANNEL_CONFIG" target="_top"><code>SUGGEST_COLUMN_AUDIO_CHANNEL_CONFIG</code></A></nobr> 94 <A NAME="android.app.SearchManager.SUGGEST_COLUMN_CONTENT_TYPE"></A> 95 <nobr><code>String</code> <A HREF="../../../../reference/android/app/SearchManager.html#SUGGEST_COLUMN_CONTENT_TYPE" target="_top"><code>SUGGEST_COLUMN_CONTENT_TYPE</code></A></nobr> 101 <A NAME="android.app.SearchManager.SUGGEST_COLUMN_DURATION"></A> 102 <nobr><code>String</code> <A HREF="../../../../reference/android/app/SearchManager.html#SUGGEST_COLUMN_DURATION" target="_top"><code>SUGGEST_COLUMN_DURATION</code></A></nobr> 108 <A NAME="android.app.SearchManager.SUGGEST_COLUMN_IS_LIVE"></A [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ToolbarUsage.java | 20 import android.app.SearchManager; 64 // Retrieve the SearchView and plug it into SearchManager 68 SearchManager searchManager = (SearchManager) getSystemService(SEARCH_SERVICE); 69 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
|
/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()));
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
ChromeBrowserProviderSuggestionsCursor.java | 7 import android.app.SearchManager; 24 SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 25 SearchManager.SUGGEST_COLUMN_INTENT_DATA, 26 SearchManager.SUGGEST_COLUMN_TEXT_1, 27 SearchManager.SUGGEST_COLUMN_TEXT_2, 28 SearchManager.SUGGEST_COLUMN_TEXT_2_URL, 29 SearchManager.SUGGEST_COLUMN_ICON_1, 30 SearchManager.SUGGEST_COLUMN_LAST_ACCESS_HINT
|
/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...] |