Searched refs:searchable (Results 1 - 9 of 9) sorted by relevance
/frameworks/ex/common/java/com/android/common/ |
H A D | Search.java | 60 * @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 D | SearchManager.java | 128 * 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 D | SearchableInfo.java | 45 * 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/services/java/com/android/server/search/ |
H A D | Searchables.java | 46 * 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 D | SearchView.java | 341 * @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); 1490 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { argument 1505 createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) argument [all...] |
H A D | SuggestionsAdapter.java | 98 SearchableInfo searchable, 106 mSearchable = searchable; 97 SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, WeakHashMap<String, Drawable.ConstantState> outsideDrawablesCache) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 365 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific 368 public void setSearchableInfo(SearchableInfo searchable) { argument 369 mSearchable = searchable; 1168 SearchableInfo searchable = mSearchable; 1170 if (searchable.getVoiceSearchLaunchWebSearch()) { 1172 searchable); 1174 } else if (searchable.getVoiceSearchLaunchRecognizer()) { 1176 searchable); 1423 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { argument 1425 ComponentName searchActivity = searchable 1438 createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) argument [all...] |
H A D | SuggestionsAdapter.java | 92 SearchableInfo searchable, 99 mSearchable = searchable; 706 Cursor getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) { argument 707 if (searchable == null) { 711 String authority = searchable.getSuggestAuthority(); 723 final String contentPath = searchable.getSuggestPath(); 732 String selection = searchable.getSuggestSelection(); 91 SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, WeakHashMap<String, Drawable.ConstantState> outsideDrawablesCache) argument
|
/frameworks/base/docs/html/training/ |
H A D | training_toc.cs | 732 "How to properly add a search interface to your app and create a searchable database."
|
Completed in 251 milliseconds