/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/src/com/android/quicksearchbox/ |
ContactsSource.java | 30 public ContactsSource(Context context, SearchableInfo searchable, Handler uiThread, 32 super(context, searchable, uiThread, iconLoader);
|
SearchableSources.java | 126 for (SearchableInfo searchable : searchables) { 127 SearchableSource source = createSearchableSource(searchable); 143 protected SearchableSource createSearchableSource(SearchableInfo searchable) { 144 if (searchable == null) return null; 146 return new SearchableSource(mContext, searchable, getUiThreadHandler(),
|
SearchableSource.java | 73 public SearchableSource(Context context, SearchableInfo searchable, Handler uiThread, 76 ComponentName componentName = searchable.getSearchActivity(); 77 if (DBG) Log.d(TAG, "created Searchable for " + componentName); 78 mSearchable = searchable; 179 // Fall back to the package containing the searchable activity 254 * voice transcription, and forward the results to the searchable activity. 282 // to forward the results to the searchable activity 286 // Add all of the configuration options supplied by the searchable's metadata 348 private synchronized Uri getSuggestUriBase(SearchableInfo searchable) { 349 if (searchable == null) [all...] |
/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/inputmethods/PinyinIME/jni/include/ |
userdict.h | 271 UserDictSearchable *searchable, 274 bool cache_hit(UserDictSearchable *searchable, 277 bool load_cache(UserDictSearchable *searchable, 280 void save_cache(UserDictSearchable *searchable, 285 bool load_miss_cache(UserDictSearchable *searchable); 287 void save_miss_cache(UserDictSearchable *searchable); 315 const UserDictSearchable *searchable); 318 uint16 fulllen, const UserDictSearchable *searchable); 344 // Prepare searchable to fasten locate process 345 void prepare_locate(UserDictSearchable *searchable, [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);
|
/packages/inputmethods/PinyinIME/jni/share/ |
userdict.cpp | 368 const uint16 * id1, uint16 len1, const UserDictSearchable *searchable) { 369 if (len1 < searchable->splids_len) 374 for (i = 0; i < searchable->splids_len; i++) { 377 const char py2 = ((searchable->signature[i/4] & (0xff << off)) >> off); 386 const uint16 * id1, uint16 len1, const UserDictSearchable *searchable) { 387 if (len1 < searchable->splids_len) 389 if (len1 > searchable->splids_len) 397 const char py2 = ((searchable->signature[i/4] & (0xff << off)) >> off); 409 const UserDictSearchable *searchable) { 410 if (fulllen < searchable->splids_len 529 UserDictSearchable searchable; local [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
ContactSuggestionView.java | 87 protected boolean isSearchableContacts(SearchableInfo searchable) { 88 return TextUtils.equals(ContactsContract.AUTHORITY, searchable.getSuggestAuthority());
|
/frameworks/base/core/java/android/app/ |
SearchManager.java | 128 * with the keycode attribute in the actionkey element of your searchable.xml configuration 393 * Components should handle this intent if they cache any searchable data and wish to stay 743 * Gets information about a searchable activity. 745 * @param componentName The activity to get searchable information for. 746 * @return Searchable information, or <code>null</code> if the activity does not 747 * exist, or is not searchable. 761 * @param searchable Information about how to get the suggestions. 767 public Cursor getSuggestions(SearchableInfo searchable, String query) [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/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 | 341 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific 344 public void setSearchableInfo(SearchableInfo searchable) { 345 mSearchable = searchable; 884 // if it's an action specified by the searchable activity, launch the 1210 SearchableInfo searchable = mSearchable; local [all...] |
SuggestionsAdapter.java | 98 SearchableInfo searchable, 106 mSearchable = searchable;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SearchView.java | 365 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific 368 public void setSearchableInfo(SearchableInfo searchable) { 369 mSearchable = searchable; 1168 SearchableInfo searchable = mSearchable; local [all...] |
SuggestionsAdapter.java | 92 SearchableInfo searchable, 99 mSearchable = searchable; 706 Cursor getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) { 707 if (searchable == null) { 711 String authority = searchable.getSuggestAuthority(); 723 final String contentPath = searchable.getSuggestPath(); 732 String selection = searchable.getSuggestSelection();
|
/external/chromium/chrome/browser/resources/touch_ntp/standalone/ |
standalone_hack.js | 62 description: 'Fast, searchable email with less spam.',
|
/frameworks/base/docs/html/training/ |
training_toc.cs | 732 "How to properly add a search interface to your app and create a searchable database." [all...] |
/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 | |