/frameworks/ex/common/java/com/android/common/ |
Search.java | 60 * @param searchable Information about how to get the suggestions. 64 public static Cursor getSuggestions(Context context, SearchableInfo searchable, String query) { 65 return getSuggestions(context, searchable, query, -1); 71 * @param searchable Information about how to get the suggestions. 77 public static Cursor getSuggestions(Context context, SearchableInfo searchable, 79 if (searchable == null) { 83 String authority = searchable.getSuggestAuthority(); 95 final String contentPath = searchable.getSuggestPath(); 104 String selection = searchable.getSuggestSelection();
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
SourceLatency.java | 60 SearchableInfo searchable = mSearchManager.getSearchableInfo(componentName); local 61 if (searchable == null || searchable.getSuggestAuthority() == null) { 62 throw new RuntimeException("Component is not searchable: " 65 return searchable; 92 final SearchableInfo searchable = getSearchable(componentName); local 99 long t = checkSourceInternal(src, searchable, prefix); 134 SearchableInfo searchable = getSearchable(componentName); local 135 return checkSourceInternal(src, searchable, query); 138 private long checkSourceInternal(String src, SearchableInfo searchable, String query) [all...] |
/packages/apps/Browser/src/com/android/browser/search/ |
DefaultSearchEngine.java | 41 private DefaultSearchEngine(Context context, SearchableInfo searchable) { 42 mSearchable = searchable; 51 SearchableInfo searchable = searchManager.getSearchableInfo(name); 52 if (searchable == null) return null; 53 return new DefaultSearchEngine(context, searchable);
|
/frameworks/base/core/java/android/app/ |
SearchManager.java | 127 * with the keycode attribute in the actionkey element of your searchable.xml configuration 498 * Components should handle this intent if they cache any searchable data and wish to stay [all...] |
SearchableInfo.java | 45 * See <a href="{@docRoot}guide/topics/search/searchable-config.html">Searchable Configuration</a> 60 private static final String MD_LABEL_SEARCHABLE = "android.app.searchable"; 61 private static final String MD_XML_ELEMENT_SEARCHABLE = "searchable"; 125 * Gets the component name of the searchable activity. 245 * Get the context for the searchable activity. 248 * @return Returns a context related to the searchable activity 303 * @param activityContext runtime context for the activity that the searchable info is about. 306 * @param cName The component name of the searchable activity 313 com.android.internal.R.styleable.Searchable); 533 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); local [all...] |
/frameworks/base/services/core/java/com/android/server/search/ |
Searchables.java | 46 * This class maintains the information about all searchable activities. 97 * presence of a "android.app.searchable" meta-data attribute. 102 * case the factory will "redirect" and return the searchable data.</li> 107 * TODO: it might make sense to implement the searchable reference as 110 * TODO: can we skip the constructor step if it's a non-searchable? 115 * activity does not define any explicit searchable metadata. 125 // Step 2. See if the current activity references a searchable. 128 // References must point directly to searchable activities. 185 * activities that are searchable, by iterating the entire set of 237 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai local 241 newSearchablesMap.put(searchable.getSearchActivity(), searchable); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/ |
OtherXmlDescriptors.java | 41 * Currently supports the <searchable> and <preferences> root nodes. 49 /** The root document descriptor for both searchable and preferences. */ 52 /** The root document descriptor for searchable. */ 61 /** @return the root descriptor for both searchable and preferences. */ 72 /** @return the root descriptor for searchable. */ 135 * @param searchableStyleMap The map style=>attributes for <searchable> from the attrs.xml file 148 ElementDescriptor searchable = createSearchable(searchableStyleMap, xmlns); 152 if (searchable != null) { 153 list.add(searchable); 154 mSearchDescriptor.setChildren(new ElementDescriptor[]{ searchable }); [all...] |
/frameworks/base/core/java/android/widget/ |
SearchView.java | 392 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific 395 public void setSearchableInfo(SearchableInfo searchable) { 396 mSearchable = searchable; 1267 SearchableInfo searchable = mSearchable; local [all...] |
SuggestionsAdapter.java | 99 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, 106 mSearchable = searchable;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SearchView.java | 410 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific 413 public void setSearchableInfo(SearchableInfo searchable) { 414 mSearchable = searchable; 1182 SearchableInfo searchable = mSearchable; local [all...] |
SuggestionsAdapter.java | 93 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, 99 mSearchable = searchable; 712 Cursor getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) { 713 if (searchable == null) { 717 String authority = searchable.getSuggestAuthority(); 729 final String contentPath = searchable.getSuggestPath(); 738 String selection = searchable.getSuggestSelection();
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
SearchableView.js | 35 * @param {!WebInspector.Searchable} searchable 37 WebInspector.SearchableView = function(searchable) 41 this._searchProvider = searchable; 553 WebInspector.Searchable = function() 557 WebInspector.Searchable.prototype = {
|
/prebuilts/sdk/current/support/v7/appcompat/libs/ |
android-support-v7-appcompat.jar | |
/frameworks/base/docs/html/training/ |
training_toc.cs | [all...] |
/frameworks/base/docs/html/guide/ |
guide_toc.cs | 287 <li><a href="<?cs var:toroot ?>guide/topics/search/searchable-config.html">Searchable Configuration</a></li>
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.lucene_1.9.1.v20100518-1140.jar | |
/prebuilts/misc/common/groovy/ |
groovy-all-1.7.0.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/20/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/system_current/ |
android.jar | |