Searched refs:searchable (Results 1 - 10 of 10) 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...]
H A DSearchableInfo.java46 * See <a href="{@docRoot}guide/topics/search/searchable-config.html">Searchable Configuration</a>
61 private static final String MD_LABEL_SEARCHABLE = "android.app.searchable";
62 private static final String MD_XML_ELEMENT_SEARCHABLE = "searchable";
126 * Gets the component name of the searchable activity.
246 * Get the context for the searchable activity.
249 * @return Returns a context related to the searchable activity
304 * @param activityContext runtime context for the activity that the searchable info is about.
307 * @param cName The component name of the searchable activity
486 * If any action keys were defined for this searchable activity, look up and return.
535 SearchableInfo searchable
[all...]
/frameworks/base/services/core/java/com/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
239 SearchableInfo searchable
[all...]
/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...]
/frameworks/base/core/java/android/widget/
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...]
H A DSuggestionsAdapter.java99 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, argument
106 mSearchable = searchable;
/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);

Completed in 211 milliseconds