Home
last modified time | relevance | path

Searched refs:SearchableInfo (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/java/com/android/server/search/
DSearchables.java21 import android.app.SearchableInfo;
61 private HashMap<ComponentName, SearchableInfo> mSearchablesMap = null;
62 private ArrayList<SearchableInfo> mSearchablesList = null;
63 private ArrayList<SearchableInfo> mSearchablesInGlobalSearchList = null;
117 public SearchableInfo getSearchableInfo(ComponentName activity) { in getSearchableInfo()
119 SearchableInfo result; in getSearchableInfo()
205 HashMap<ComponentName, SearchableInfo> newSearchablesMap in buildSearchableList()
206 = new HashMap<ComponentName, SearchableInfo>(); in buildSearchableList()
207 ArrayList<SearchableInfo> newSearchablesList in buildSearchableList()
208 = new ArrayList<SearchableInfo>(); in buildSearchableList()
[all …]
DSearchManagerService.java24 import android.app.SearchableInfo;
207 public SearchableInfo getSearchableInfo(final ComponentName launchActivity) { in getSearchableInfo()
218 public List<SearchableInfo> getSearchablesInGlobalSearch() { in getSearchablesInGlobalSearch()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java20 import android.app.SearchableInfo;
21 import android.app.SearchableInfo.ActionKeyInfo;
81 SearchableInfo si = searchables.getSearchableInfo(nonActivity); in testNonSearchable()
109 ArrayList<SearchableInfo> searchablesList = searchables.getSearchablesList(); in testSearchablesListReal()
113 ArrayList<SearchableInfo> global = searchables.getSearchablesInGlobalSearchList(); in testSearchablesListReal()
127 ArrayList<SearchableInfo> searchablesList = searchables.getSearchablesList(); in testSearchablesListEmpty()
130 ArrayList<SearchableInfo> global = searchables.getSearchablesInGlobalSearchList(); in testSearchablesListEmpty()
143 private void checkSearchables(ArrayList<SearchableInfo> searchablesList) { in checkSearchables()
147 SearchableInfo si = searchablesList.get(ii); in checkSearchables()
152 private void checkSearchable(SearchableInfo si) { in checkSearchable()
/frameworks/base/core/java/android/app/
DISearchManager.aidl19 import android.app.SearchableInfo;
28 SearchableInfo getSearchableInfo(in ComponentName launchActivity); in getSearchableInfo()
29 List<SearchableInfo> getSearchablesInGlobalSearch(); in getSearchablesInGlobalSearch()
DSearchableInfo.java51 public final class SearchableInfo implements Parcelable { class
309 private SearchableInfo(Context activityContext, AttributeSet attr, final ComponentName cName) { in SearchableInfo() method in SearchableInfo
515 public static SearchableInfo getActivityMetaData(Context context, ActivityInfo activityInfo, in getActivityMetaData()
533 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); in getActivityMetaData()
562 private static SearchableInfo getActivityMetaData(Context context, XmlPullParser xml, in getActivityMetaData()
564 SearchableInfo result = null; in getActivityMetaData()
578 result = new SearchableInfo(activityContext, attr, cName); in getActivityMetaData()
788 public static final Parcelable.Creator<SearchableInfo> CREATOR
789 = new Parcelable.Creator<SearchableInfo>() {
790 public SearchableInfo createFromParcel(Parcel in) {
[all …]
DSearchableInfo.aidl19 parcelable SearchableInfo;
DSearchManager.java749 public SearchableInfo getSearchableInfo(ComponentName componentName) { in getSearchableInfo()
767 public Cursor getSuggestions(SearchableInfo searchable, String query) { in getSuggestions()
782 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) { in getSuggestions()
834 public List<SearchableInfo> getSearchablesInGlobalSearch() { in getSearchablesInGlobalSearch()
DSearchDialog.java86 private SearchableInfo mSearchable;
/frameworks/ex/common/java/com/android/common/
DSearch.java20 import android.app.SearchableInfo;
64 public static Cursor getSuggestions(Context context, SearchableInfo searchable, String query) { in getSuggestions()
77 public static Cursor getSuggestions(Context context, SearchableInfo searchable, in getSuggestions()
/frameworks/base/core/java/android/widget/
DSearchView.java23 import android.app.SearchableInfo;
132 private SearchableInfo mSearchable;
344 public void setSearchableInfo(SearchableInfo searchable) { in setSearchableInfo()
886 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onKeyDown()
934 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
993 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onSuggestionsKey()
1024 private static String getActionKeyMessage(Cursor c, SearchableInfo.ActionKeyInfo actionKey) { in getActionKeyMessage()
1210 SearchableInfo searchable = mSearchable; in onVoiceClicked()
1490 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceWebSearchIntent()
1505 private Intent createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceAppSearchIntent()
DSuggestionsAdapter.java21 import android.app.SearchableInfo;
69 private SearchableInfo mSearchable;
98 SearchableInfo searchable, in SuggestionsAdapter()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java20 import android.app.SearchableInfo;
69 private SearchableInfo mSearchable;
92 SearchableInfo searchable, in SuggestionsAdapter()
706 Cursor getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) { in getSearchManagerSuggestions()
DSearchView.java21 import android.app.SearchableInfo;
143 private SearchableInfo mSearchable;
375 public void setSearchableInfo(SearchableInfo searchable) { in setSearchableInfo()
1175 SearchableInfo searchable = mSearchable; in onVoiceClicked()
1430 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceWebSearchIntent()
1445 private Intent createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceAppSearchIntent()
/frameworks/base/core/tests/coretests/src/android/app/
DSearchManagerTest.java24 import android.app.SearchableInfo;
/frameworks/base/docs/html/training/search/
Dsetup.jd136 {@link android.app.SearchableInfo} object that is created from the searchable configuration XML
/frameworks/base/docs/html/guide/topics/search/
Dsearch-dialog.jd156 android.app.SearchableInfo} object, but you cannot create this object yourself at
704 android.app.SearchableInfo} object that represents your searchable configuration.</p>
706 <p>You can get a reference to the {@link android.app.SearchableInfo} by calling {@link
/frameworks/base/docs/html/sdk/api_diff/8/
DmissingSinces.txt48 NO DOC BLOCK: android.app.SearchableInfo Class
/frameworks/base/docs/html/
Dsitemap.txt934 http://developer.android.com/reference/android/app/SearchableInfo.html
/frameworks/base/api/
Dcurrent.txt4148 method public android.app.SearchableInfo getSearchableInfo(android.content.ComponentName);
4149 method public java.util.List<android.app.SearchableInfo> getSearchablesInGlobalSearch();
4207 public final class SearchableInfo implements android.os.Parcelable {
32058 method public void setSearchableInfo(android.app.SearchableInfo);