HomeSort by relevance Sort by last modified time
    Searched refs:SearchManager (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /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/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/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/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...]
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)) {
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...]
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/
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,
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,
NaughtySuggestionProvider.java 18 import android.app.SearchManager;
39 return SearchManager.SUGGEST_MIME_TYPE;
  /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;
  /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...]
  /developers/samples/android/content/contacts/BasicContactables/BasicContactables/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()));
  /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 + "/*",
  /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);
  /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...]
  /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...]
  /frameworks/base/core/java/android/content/
SearchRecentSuggestionsProvider.java 19 import android.app.SearchManager;
34 * <li>Implement and test query search, as described in {@link android.app.SearchManager}. (This
188 mUriMatcher.addURI(mAuthority, SearchManager.SUGGEST_URI_PATH_QUERY, URI_MATCH_SUGGEST);
194 "0 AS " + SearchManager.SUGGEST_COLUMN_FORMAT,
197 + SearchManager.SUGGEST_COLUMN_ICON_1,
198 "display1 AS " + SearchManager.SUGGEST_COLUMN_TEXT_1,
199 "display2 AS " + SearchManager.SUGGEST_COLUMN_TEXT_2,
200 "query AS " + SearchManager.SUGGEST_COLUMN_QUERY,
207 "0 AS " + SearchManager.SUGGEST_COLUMN_FORMAT,
210 + SearchManager.SUGGEST_COLUMN_ICON_1
    [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,
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SearchQueryResults.java 22 import android.app.SearchManager;
94 final String queryString = queryIntent.getStringExtra(SearchManager.QUERY);
106 final Bundle appData = queryIntent.getBundleExtra(SearchManager.APP_DATA);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
SearchViewAlwaysVisible.java 22 import android.app.SearchManager;

Completed in 1191 milliseconds

1 2 3 4 5