Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/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.java25 import android.app.SearchableInfo;
211 public SearchableInfo getSearchableInfo(final ComponentName launchActivity) { in getSearchableInfo()
222 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.java52 public final class SearchableInfo implements Parcelable { class
310 private SearchableInfo(Context activityContext, AttributeSet attr, final ComponentName cName) { in SearchableInfo() method in SearchableInfo
516 public static SearchableInfo getActivityMetaData(Context context, ActivityInfo activityInfo, in getActivityMetaData()
534 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); in getActivityMetaData()
563 private static SearchableInfo getActivityMetaData(Context context, XmlPullParser xml, in getActivityMetaData()
565 SearchableInfo result = null; in getActivityMetaData()
579 result = new SearchableInfo(activityContext, attr, cName); in getActivityMetaData()
792 public static final Parcelable.Creator<SearchableInfo> CREATOR
793 = new Parcelable.Creator<SearchableInfo>() {
794 public SearchableInfo createFromParcel(Parcel in) {
[all …]
DSearchableInfo.aidl19 parcelable SearchableInfo;
DSearchManager.java849 public SearchableInfo getSearchableInfo(ComponentName componentName) { in getSearchableInfo()
867 public Cursor getSuggestions(SearchableInfo searchable, String query) { in getSuggestions()
882 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) { in getSuggestions()
934 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.java24 import android.app.SearchableInfo;
146 private SearchableInfo mSearchable;
394 public void setSearchableInfo(SearchableInfo searchable) { in setSearchableInfo()
958 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onKeyDown()
1006 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
1065 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onSuggestionsKey()
1096 private static String getActionKeyMessage(Cursor c, SearchableInfo.ActionKeyInfo actionKey) { in getActionKeyMessage()
1266 SearchableInfo searchable = mSearchable; in onVoiceClicked()
1534 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceWebSearchIntent()
1549 private Intent createVoiceAppSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceAppSearchIntent()
DSuggestionsAdapter.java21 import android.app.SearchableInfo;
69 private final SearchableInfo mSearchable;
99 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, in SuggestionsAdapter()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java20 import android.app.SearchableInfo;
70 private final SearchableInfo mSearchable;
93 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, in SuggestionsAdapter()
712 Cursor getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) { in getSearchManagerSuggestions()
DSearchView.java22 import android.app.SearchableInfo;
162 private SearchableInfo mSearchable;
425 public void setSearchableInfo(SearchableInfo searchable) { in setSearchableInfo()
1201 SearchableInfo searchable = mSearchable; in onVoiceClicked()
1466 private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) { in createVoiceWebSearchIntent()
1482 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/support/v7/appcompat/api/
D22.0.0.txt404 method public void setSearchableInfo(android.app.SearchableInfo);
D22.1.0.txt566 method public void setSearchableInfo(android.app.SearchableInfo);
D22.2.0.txt1751 method public void setSearchableInfo(android.app.SearchableInfo);
D22.2.1.txt1805 method public void setSearchableInfo(android.app.SearchableInfo);
Dcurrent.txt1883 method public void setSearchableInfo(android.app.SearchableInfo);
D23.txt1883 method public void setSearchableInfo(android.app.SearchableInfo);
/frameworks/base/
DAndroid.mk568 frameworks/base/core/java/android/app/SearchableInfo.aidl \
/frameworks/base/docs/html/
Dsitemap.txt934 http://developer.android.com/reference/android/app/SearchableInfo.html
/frameworks/base/api/
Dcurrent.txt5174 method public android.app.SearchableInfo getSearchableInfo(android.content.ComponentName);
5175 method public java.util.List<android.app.SearchableInfo> getSearchablesInGlobalSearch();
5245 public final class SearchableInfo implements android.os.Parcelable {
5272 field public static final android.os.Parcelable.Creator<android.app.SearchableInfo> CREATOR;
41103 method public void setSearchableInfo(android.app.SearchableInfo);

12