Searched defs: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/widget/
H A DSuggestionsAdapter.java99 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, argument
106 mSearchable = searchable;
H A DSearchView.java392 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific
395 public void setSearchableInfo(SearchableInfo searchable) { argument
396 mSearchable = searchable;
945 // if it's an action specified by the searchable activity, launch the
1267 SearchableInfo searchable = mSearchable;
1269 if (searchable.getVoiceSearchLaunchWebSearch()) {
1271 searchable);
1273 } else if (searchable.getVoiceSearchLaunchRecognizer()) {
1275 searchable);
1542 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { argument
1557 createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) argument
[all...]
/frameworks/base/core/java/android/app/
H A DSearchManager.java127 * with the keycode attribute in the actionkey element of your searchable.xml configuration
498 * Components should handle this intent if they cache any searchable data and wish to stay
852 * Gets information about a searchable activity.
854 * @param componentName The activity to get searchable information for.
856 * exist, or is not searchable.
870 * @param searchable Information about how to get the suggestions.
876 public Cursor getSuggestions(SearchableInfo searchable, String query) { argument
877 return getSuggestions(searchable, query, -1);
883 * @param searchable Information about how to get the suggestions.
891 public Cursor getSuggestions(SearchableInfo searchable, Strin argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java93 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, argument
99 mSearchable = searchable;
712 Cursor getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) { argument
713 if (searchable == null) {
717 String authority = searchable.getSuggestAuthority();
729 final String contentPath = searchable.getSuggestPath();
738 String selection = searchable.getSuggestSelection();
H A DSearchView.java410 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific
413 public void setSearchableInfo(SearchableInfo searchable) { argument
414 mSearchable = searchable;
1182 SearchableInfo searchable = mSearchable;
1184 if (searchable.getVoiceSearchLaunchWebSearch()) {
1186 searchable);
1188 } else if (searchable.getVoiceSearchLaunchRecognizer()) {
1190 searchable);
1447 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { argument
1449 ComponentName searchActivity = searchable
1463 createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) argument
[all...]

Completed in 145 milliseconds