HomeSort by relevance Sort by last modified time
    Searched refs:SearchableInfo (Results 1 - 14 of 14) sorted by null

  /frameworks/base/core/java/android/app/
SearchableInfo.aidl 19 parcelable SearchableInfo;
ISearchManager.aidl 19 import android.app.SearchableInfo;
27 SearchableInfo getSearchableInfo(in ComponentName launchActivity);
28 List<SearchableInfo> getSearchablesInGlobalSearch();
SearchableInfo.java 49 public final class SearchableInfo implements Parcelable {
53 private static final String LOG_TAG = "SearchableInfo";
307 private SearchableInfo(Context activityContext, AttributeSet attr, final ComponentName cName) {
379 * @see SearchableInfo#findActionKey(int)
513 public static SearchableInfo getActivityMetaData(Context context, ActivityInfo activityInfo) {
522 SearchableInfo searchable = getActivityMetaData(context, xml, cName);
549 * @result A completely constructed SearchableInfo, or null if insufficient XML data for it
551 private static SearchableInfo getActivityMetaData(Context context, XmlPullParser xml,
553 SearchableInfo result = null;
567 result = new SearchableInfo(activityContext, attr, cName)
    [all...]
SearchManager.java 685 public SearchableInfo getSearchableInfo(ComponentName componentName) {
701 * @hide because SearchableInfo is not part of the API.
703 public Cursor getSuggestions(SearchableInfo searchable, String query) {
716 * @hide because SearchableInfo is not part of the API.
718 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) {
770 public List<SearchableInfo> getSearchablesInGlobalSearch() {
    [all...]
SearchDialog.java 106 private SearchableInfo mSearchable;
671 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
804 SearchableInfo searchable = mSearchable;
    [all...]
SuggestionsAdapter.java 68 private SearchableInfo mSearchable;
97 SearchableInfo searchable,
  /frameworks/base/core/java/android/server/search/
Searchables.java 21 import android.app.SearchableInfo;
50 private HashMap<ComponentName, SearchableInfo> mSearchablesMap = null;
51 private ArrayList<SearchableInfo> mSearchablesList = null;
52 private ArrayList<SearchableInfo> mSearchablesInGlobalSearchList = null;
96 public SearchableInfo getSearchableInfo(ComponentName activity) {
98 SearchableInfo result;
184 HashMap<ComponentName, SearchableInfo> newSearchablesMap
185 = new HashMap<ComponentName, SearchableInfo>();
186 ArrayList<SearchableInfo> newSearchablesList
187 = new ArrayList<SearchableInfo>();
    [all...]
SearchManagerService.java 23 import android.app.SearchableInfo;
108 * Returns the SearchableInfo for a given activity.
111 * @return Returns a SearchableInfo record describing the parameters of the search,
114 public SearchableInfo getSearchableInfo(final ComponentName launchActivity) {
125 public List<SearchableInfo> getSearchablesInGlobalSearch() {
  /frameworks/base/core/tests/coretests/src/android/app/
SearchablesTest.java 20 import android.app.SearchableInfo;
21 import android.app.SearchableInfo.ActionKeyInfo;
55 * SearchableInfo tests
63 * confirm XML ordering enforced (will fail today - bug in SearchableInfo)
81 SearchableInfo si = searchables.getSearchableInfo(nonActivity);
95 * confirm XML ordering enforced (will fail today - bug in SearchableInfo)
109 ArrayList<SearchableInfo> searchablesList = searchables.getSearchablesList();
113 ArrayList<SearchableInfo> global = searchables.getSearchablesInGlobalSearchList();
127 ArrayList<SearchableInfo> searchablesList = searchables.getSearchablesList();
130 ArrayList<SearchableInfo> global = searchables.getSearchablesInGlobalSearchList()
    [all...]
SearchManagerTest.java 24 import android.app.SearchableInfo;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SearchableSources.java 20 import android.app.SearchableInfo;
160 List<SearchableInfo> searchables = mSearchManager.getSearchablesInGlobalSearch();
165 for (SearchableInfo searchable : searchables) {
180 SearchableInfo webSearchable = mSearchManager.getSearchableInfo(name);
198 private SearchableSource createSearchableSource(SearchableInfo searchable) {
SearchableSource.java 23 import android.app.SearchableInfo;
58 private final SearchableInfo mSearchable;
74 public SearchableSource(Context context, SearchableInfo searchable)
91 protected SearchableInfo getSearchableInfo() {
393 * This is a copy of {@link SearchManager#getSuggestions(SearchableInfo, String)}.
395 private static Cursor getSuggestions(Context context, SearchableInfo searchable, String query,
441 private static Cursor getValidationCursor(Context context, SearchableInfo searchable,
  /packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
SourceLatency.java 21 import android.app.SearchableInfo;
59 private SearchableInfo getSearchable(ComponentName componentName) {
60 SearchableInfo searchable = mSearchManager.getSearchableInfo(componentName);
92 final SearchableInfo searchable = getSearchable(componentName);
134 SearchableInfo searchable = getSearchable(componentName);
138 private long checkSourceInternal(String src, SearchableInfo searchable, String query) {
160 public Cursor getSuggestions(SearchableInfo searchable, String query) {
164 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) {
221 private SearchableInfo mSearchable;
  /packages/apps/Browser/src/com/android/browser/
BrowserProvider.java 20 import android.app.SearchableInfo;
401 // and this is the SearchableInfo to use to get them.
402 private SearchableInfo mSearchableInfo;
406 * allowed. If so, store the SearchableInfo to grab suggestions
    [all...]

Completed in 154 milliseconds