Searched refs:searchable (Results 1 - 6 of 6) sorted by relevance

/frameworks/ex/common/java/com/android/common/
H A DSearch.java60 * @param searchable Information about how to get the suggestions.
64 public static Cursor getSuggestions(Context context, SearchableInfo searchable, String query) { argument
65 return getSuggestions(context, searchable, query, -1);
71 * @param searchable Information about how to get the suggestions.
77 public static Cursor getSuggestions(Context context, SearchableInfo searchable, argument
79 if (searchable == null) {
83 String authority = searchable.getSuggestAuthority();
95 final String contentPath = searchable.getSuggestPath();
104 String selection = searchable.getSuggestSelection();
/frameworks/base/core/java/android/app/
H A DSearchManager.java128 * with the keycode attribute in the actionkey element of your searchable.xml configuration
393 * Components should handle this intent if they cache any searchable data and wish to stay
743 * Gets information about a searchable activity.
745 * @param componentName The activity to get searchable information for.
747 * exist, or is not searchable.
761 * @param searchable Information about how to get the suggestions.
767 public Cursor getSuggestions(SearchableInfo searchable, String query) { argument
768 return getSuggestions(searchable, query, -1);
774 * @param searchable Information about how to get the suggestions.
782 public Cursor getSuggestions(SearchableInfo searchable, Strin argument
[all...]
H A DSearchableInfo.java45 * See <a href="{@docRoot}guide/topics/search/searchable-config.html">Searchable Configuration</a>
60 private static final String MD_LABEL_SEARCHABLE = "android.app.searchable";
61 private static final String MD_XML_ELEMENT_SEARCHABLE = "searchable";
125 * Gets the component name of the searchable activity.
245 * Get the context for the searchable activity.
248 * @return Returns a context related to the searchable activity
303 * @param activityContext runtime context for the activity that the searchable info is about.
306 * @param cName The component name of the searchable activity
484 * If any action keys were defined for this searchable activity, look up and return.
533 SearchableInfo searchable
[all...]
/frameworks/base/core/java/android/server/search/
H A DSearchables.java46 * This class maintains the information about all searchable activities.
97 * presence of a "android.app.searchable" meta-data attribute.
102 * case the factory will "redirect" and return the searchable data.</li>
107 * TODO: it might make sense to implement the searchable reference as
110 * TODO: can we skip the constructor step if it's a non-searchable?
115 * activity does not define any explicit searchable metadata.
125 // Step 2. See if the current activity references a searchable.
128 // References must point directly to searchable activities.
185 * activities that are searchable, by iterating the entire set of
237 SearchableInfo searchable
[all...]
/frameworks/base/core/java/android/widget/
H A DSearchView.java341 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific
344 public void setSearchableInfo(SearchableInfo searchable) { argument
345 mSearchable = searchable;
884 // if it's an action specified by the searchable activity, launch the
1210 SearchableInfo searchable = mSearchable;
1212 if (searchable.getVoiceSearchLaunchWebSearch()) {
1214 searchable);
1216 } else if (searchable.getVoiceSearchLaunchRecognizer()) {
1218 searchable);
1489 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { argument
1504 createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) argument
[all...]
H A DSuggestionsAdapter.java98 SearchableInfo searchable,
106 mSearchable = searchable;
97 SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, WeakHashMap<String, Drawable.ConstantState> outsideDrawablesCache) argument

Completed in 99 milliseconds