Home
last modified time | relevance | path

Searched refs:searchable (Results 1 – 8 of 8) sorted by relevance

/frameworks/ex/common/java/com/android/common/
DSearch.java64 public static Cursor getSuggestions(Context context, SearchableInfo searchable, String query) { in getSuggestions() argument
65 return getSuggestions(context, searchable, query, -1); in getSuggestions()
77 public static Cursor getSuggestions(Context context, SearchableInfo searchable, in getSuggestions() argument
79 if (searchable == null) { in getSuggestions()
83 String authority = searchable.getSuggestAuthority(); in getSuggestions()
95 final String contentPath = searchable.getSuggestPath(); in getSuggestions()
104 String selection = searchable.getSuggestSelection(); in getSuggestions()
/frameworks/base/core/java/android/app/
DSearchManager.java880 public Cursor getSuggestions(SearchableInfo searchable, String query) { in getSuggestions() argument
881 return getSuggestions(searchable, query, -1); in getSuggestions()
896 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) { in getSuggestions() argument
897 if (searchable == null) { in getSuggestions()
901 String authority = searchable.getSuggestAuthority(); in getSuggestions()
913 final String contentPath = searchable.getSuggestPath(); in getSuggestions()
922 String selection = searchable.getSuggestSelection(); in getSuggestions()
DSearchableInfo.java543 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); in getActivityMetaData() local
547 if (searchable != null) { in getActivityMetaData()
549 + ",label=" + searchable.getLabelId() in getActivityMetaData()
550 + ",icon=" + searchable.getIconId() in getActivityMetaData()
551 + ",suggestAuthority=" + searchable.getSuggestAuthority() in getActivityMetaData()
552 + ",target=" + searchable.getSearchActivity().getClassName() in getActivityMetaData()
553 + ",global=" + searchable.shouldIncludeInGlobalSearch() in getActivityMetaData()
554 + ",settingsDescription=" + searchable.getSettingsDescriptionId() in getActivityMetaData()
555 + ",threshold=" + searchable.getSuggestThreshold()); in getActivityMetaData()
560 return searchable; in getActivityMetaData()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java260 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai, in updateSearchableList() local
262 if (searchable != null) { in updateSearchableList()
263 newSearchablesList.add(searchable); in updateSearchableList()
264 newSearchablesMap.put(searchable.getSearchActivity(), searchable); in updateSearchableList() local
265 if (searchable.shouldIncludeInGlobalSearch()) { in updateSearchableList()
266 newSearchablesInGlobalSearchList.add(searchable); in updateSearchableList()
/frameworks/base/core/java/android/widget/
DSearchView.java415 public void setSearchableInfo(SearchableInfo searchable) { in setSearchableInfo() argument
416 mSearchable = searchable; in setSearchableInfo()
1351 SearchableInfo searchable = mSearchable; in onVoiceClicked() local
1353 if (searchable.getVoiceSearchLaunchWebSearch()) { in onVoiceClicked()
1355 searchable); in onVoiceClicked()
1357 } else if (searchable.getVoiceSearchLaunchRecognizer()) { in onVoiceClicked()
1359 searchable); in onVoiceClicked()
1674 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceWebSearchIntent() argument
1676 ComponentName searchActivity = searchable.getSearchActivity(); in createVoiceWebSearchIntent()
1689 private Intent createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceAppSearchIntent() argument
[all …]
DSuggestionsAdapter.java99 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, in SuggestionsAdapter() argument
106 mSearchable = searchable; in SuggestionsAdapter()
/frameworks/base/core/api/
Dcurrent.txt25420 field public static final String COLUMN_SEARCHABLE = "searchable";
25525 field public static final String COLUMN_SEARCHABLE = "searchable";
25590 field public static final String COLUMN_SEARCHABLE = "searchable";
25657 field public static final String COLUMN_SEARCHABLE = "searchable";
25718 field public static final String COLUMN_SEARCHABLE = "searchable";
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16510 field public static final java.lang.String COLUMN_SEARCHABLE = "searchable";