/frameworks/base/core/java/android/app/ |
ISearchManager.aidl | 19 import android.app.SearchableInfo; 28 SearchableInfo getSearchableInfo(in ComponentName launchActivity); 29 List<SearchableInfo> getSearchablesInGlobalSearch();
|
SearchableInfo.aidl | 19 parcelable SearchableInfo;
|
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 | 733 public SearchableInfo getSearchableInfo(ComponentName componentName) { 749 * @hide because SearchableInfo is not part of the API. 751 public Cursor getSuggestions(SearchableInfo searchable, String query) { 764 * @hide because SearchableInfo is not part of the API. 766 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) [all...] |
SearchDialog.java | 86 private SearchableInfo mSearchable;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SearchViewAlwaysVisible.java | 23 import android.app.SearchableInfo; 38 * It sets a SearchableInfo on the SearchView for suggestions and submitting queries to.
|
SearchViewActionBar.java | 23 import android.app.SearchableInfo; 40 * It sets a SearchableInfo on the SearchView for suggestions and submitting queries to. 81 List<SearchableInfo> searchables = searchManager.getSearchablesInGlobalSearch(); 84 SearchableInfo info = searchManager.getSearchableInfo(getComponentName()); 85 for (SearchableInfo inf : searchables) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
ContactsSource.java | 20 import android.app.SearchableInfo; 30 public ContactsSource(Context context, SearchableInfo searchable, Handler uiThread,
|
SearchableSources.java | 22 import android.app.SearchableInfo; 121 List<SearchableInfo> searchables = mSearchManager.getSearchablesInGlobalSearch(); 126 for (SearchableInfo searchable : searchables) { 143 protected SearchableSource createSearchableSource(SearchableInfo searchable) { 155 SearchableInfo info = mSearchManager.getSearchableInfo(component);
|
SearchableSource.java | 24 import android.app.SearchableInfo; 57 private final SearchableInfo mSearchable; 73 public SearchableSource(Context context, SearchableInfo searchable, Handler uiThread, 86 public SearchableInfo getSearchableInfo() { 348 private synchronized Uri getSuggestUriBase(SearchableInfo searchable) { 377 * This is a copy of {@link SearchManager#getSuggestions(SearchableInfo, String)}. 379 private Cursor getSuggestions(Context context, SearchableInfo searchable, String query, 410 private static Cursor getValidationCursor(Context context, SearchableInfo searchable,
|
/frameworks/base/core/java/android/server/search/ |
Searchables.java | 20 import android.app.SearchableInfo; 54 private HashMap<ComponentName, SearchableInfo> mSearchablesMap = null; 55 private ArrayList<SearchableInfo> mSearchablesList = null; 56 private ArrayList<SearchableInfo> mSearchablesInGlobalSearchList = null; 103 public SearchableInfo getSearchableInfo(ComponentName activity) { 105 SearchableInfo result; 191 HashMap<ComponentName, SearchableInfo> newSearchablesMap 192 = new HashMap<ComponentName, SearchableInfo>(); 193 ArrayList<SearchableInfo> newSearchablesList 194 = new ArrayList<SearchableInfo>(); [all...] |
SearchManagerService.java | 23 import android.app.SearchableInfo; 148 * Returns the SearchableInfo for a given activity. 151 * @return Returns a SearchableInfo record describing the parameters of the search, 154 public SearchableInfo getSearchableInfo(final ComponentName launchActivity) { 165 public List<SearchableInfo> getSearchablesInGlobalSearch() {
|
/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/search/ |
DefaultSearchEngine.java | 20 import android.app.SearchableInfo; 37 private final SearchableInfo mSearchable; 41 private DefaultSearchEngine(Context context, SearchableInfo searchable) { 51 SearchableInfo searchable = searchManager.getSearchableInfo(name);
|
/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/ui/ |
ContactSuggestionView.java | 24 import android.app.SearchableInfo; 87 protected boolean isSearchableContacts(SearchableInfo searchable) {
|
/frameworks/base/core/java/android/widget/ |
SearchView.java | 23 import android.app.SearchableInfo; 130 private SearchableInfo mSearchable; 206 * are only relevant when a SearchableInfo has been specified by {@link #setSearchableInfo}. 328 * Sets the SearchableInfo for this SearchView. Properties in the SearchableInfo are used 332 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific 335 public void setSearchableInfo(SearchableInfo searchable) { 495 * in the SearchableInfo. 588 * if a SearchableInfo has been specified with {@link #setSearchableInfo(SearchableInfo)} [all...] |
SuggestionsAdapter.java | 21 import android.app.SearchableInfo; 72 private SearchableInfo mSearchable; 101 SearchableInfo searchable,
|
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
pkg_android.app.html | 84 <A NAME="SearchableInfo"></A> 85 <nobr><A HREF="../../../../reference/android/app/SearchableInfo.html" target="_top"><code>SearchableInfo</code></A></nobr>
|
android.app.SearchManager.html | 87 <nobr><code>SearchableInfo</code> <A HREF="../../../../reference/android/app/SearchManager.html#getSearchableInfo(android.content.ComponentName)" target="_top"><code>getSearchableInfo</code></A>(<code>ComponentName</code>)</nobr> 94 <nobr><code>List<SearchableInfo></code> <A HREF="../../../../reference/android/app/SearchManager.html#getSearchablesInGlobalSearch()" target="_top"><code>getSearchablesInGlobalSearch</code></A>()</nobr>
|
classes_index_additions.html | 391 <A HREF="pkg_android.app.html#SearchableInfo" class="hiddenlink" target="rightframe"><b>SearchableInfo</b></A><br>
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarController.java | 29 import android.app.SearchableInfo; 693 final SearchableInfo searchableInfo = searchManager.getSearchableInfo(componentName); 696 intent.setComponent(searchableInfo.getSearchActivity()); [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ConversationList.java | 41 import android.app.SearchableInfo; 339 SearchableInfo info = searchManager.getSearchableInfo(this.getComponentName()); [all...] |
/frameworks/base/docs/html/guide/topics/search/ |
search-dialog.jd | 169 android.app.SearchableInfo} object, but you cannot create this object yourself at [all...] |