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()
1358 SearchableInfo searchable = mSearchable; in onVoiceClicked() local
1360 if (searchable.getVoiceSearchLaunchWebSearch()) { in onVoiceClicked()
1362 searchable); in onVoiceClicked()
1364 } else if (searchable.getVoiceSearchLaunchRecognizer()) { in onVoiceClicked()
1366 searchable); in onVoiceClicked()
1681 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceWebSearchIntent() argument
1683 ComponentName searchActivity = searchable.getSearchActivity(); in createVoiceWebSearchIntent()
1696 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.txt25430 field public static final String COLUMN_SEARCHABLE = "searchable";
25536 field public static final String COLUMN_SEARCHABLE = "searchable";
25605 field public static final String COLUMN_SEARCHABLE = "searchable";
25674 field public static final String COLUMN_SEARCHABLE = "searchable";
25736 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";