Searched defs:searchable (Results 1 - 8 of 8) 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.java125 * with the keycode attribute in the actionkey element of your searchable.xml configuration
496 * Components should handle this intent if they cache any searchable data and wish to stay
838 * Gets information about a searchable activity.
840 * @param componentName The activity to get searchable information for.
842 * exist, or is not searchable.
855 * @param searchable Information about how to get the suggestions.
861 public Cursor getSuggestions(SearchableInfo searchable, String query) { argument
862 return getSuggestions(searchable, query, -1);
868 * @param searchable Information about how to get the suggestions.
876 public Cursor getSuggestions(SearchableInfo searchable, Strin argument
[all...]
/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.java390 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific
393 public void setSearchableInfo(SearchableInfo searchable) { argument
394 mSearchable = searchable;
997 // if it's an action specified by the searchable activity, launch the
1307 SearchableInfo searchable = mSearchable;
1309 if (searchable.getVoiceSearchLaunchWebSearch()) {
1311 searchable);
1313 } else if (searchable.getVoiceSearchLaunchRecognizer()) {
1315 searchable);
1628 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { argument
1643 createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) argument
[all...]
/frameworks/support/tv-provider/src/android/support/media/tv/
H A DBaseProgram.java203 * @return Whether the program is searchable or not.
761 * @param searchable Whether the program is searchable or not.
765 public T setSearchable(boolean searchable) { argument
766 mValues.put(Programs.COLUMN_SEARCHABLE, searchable ? IS_SEARCHABLE : 0);
H A DChannel.java819 * @param searchable The value of {@link Channels#COLUMN_SEARCHABLE} for the channel.
822 public Builder setSearchable(boolean searchable) { argument
823 mValues.put(Channels.COLUMN_SEARCHABLE, searchable ? IS_SEARCHABLE : 0);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java92 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, argument
98 mSearchable = searchable;
735 Cursor getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) { argument
736 if (searchable == null) {
740 String authority = searchable.getSuggestAuthority();
752 final String contentPath = searchable.getSuggestPath();
761 String selection = searchable.getSuggestSelection();
H A DSearchView.java400 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific
403 public void setSearchableInfo(SearchableInfo searchable) { argument
404 mSearchable = searchable;
1237 SearchableInfo searchable = mSearchable;
1239 if (searchable.getVoiceSearchLaunchWebSearch()) {
1241 searchable);
1243 } else if (searchable.getVoiceSearchLaunchRecognizer()) {
1245 searchable);
1564 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { argument
1566 ComponentName searchActivity = searchable
1579 createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) argument
[all...]

Completed in 294 milliseconds