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

  /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/QuickSearchBox/src/com/android/quicksearchbox/
SearchableSources.java 96 for (SearchableInfo searchable : searchables) {
97 SearchableSource source = createSearchableSource(searchable);
113 protected SearchableSource createSearchableSource(SearchableInfo searchable) {
114 if (searchable == null) return null;
116 return new SearchableSource(mContext, searchable);
SearchableSource.java 69 public SearchableSource(Context context, SearchableInfo searchable)
72 ComponentName componentName = searchable.getSearchActivity();
73 mSearchable = searchable;
174 // Fall back to the package containing the searchable activity
253 * voice transcription, and forward the results to the searchable activity.
281 // to forward the results to the searchable activity
285 // Add all of the configuration options supplied by the searchable's metadata
344 private static Cursor getSuggestions(Context context, SearchableInfo searchable, String query,
346 if (searchable == null) {
350 String authority = searchable.getSuggestAuthority()
    [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 40 private DefaultSearchEngine(Context context, SearchableInfo searchable) {
41 mSearchable = searchable;
50 SearchableInfo searchable = searchManager.getSearchableInfo(name);
51 if (searchable == null) return null;
52 return new DefaultSearchEngine(context, searchable);
  /frameworks/base/core/java/android/app/
SearchManager.java 126 * with the keycode attribute in the actionkey element of your searchable.xml configuration
366 * Components should handle this intent if they cache any searchable data and wish to stay
687 * Gets information about a searchable activity.
689 * @param componentName The activity to get searchable information for.
690 * @return Searchable information, or <code>null</code> if the activity does not
691 * exist, or is not searchable.
705 * @param searchable Information about how to get the suggestions.
711 public Cursor getSuggestions(SearchableInfo searchable, String query) {
712 return getSuggestions(searchable, query, -1);
718 * @param searchable Information about how to get the suggestions
    [all...]
SearchableInfo.java 43 * See <a href="{@docRoot}guide/topics/search/searchable-config.html">Searchable Configuration</a>
58 private static final String MD_LABEL_SEARCHABLE = "android.app.searchable";
59 private static final String MD_XML_ELEMENT_SEARCHABLE = "searchable";
123 * Gets the component name of the searchable activity.
243 * Get the context for the searchable activity.
246 * @return Returns a context related to the searchable activity
301 * @param activityContext runtime context for the activity that the searchable info is about.
304 * @param cName The component name of the searchable activity
311 com.android.internal.R.styleable.Searchable);
522 SearchableInfo searchable = getActivityMetaData(context, xml, cName); local
    [all...]
SearchDialog.java 105 // interaction with searchable application
254 // set up the searchable and show the dialog
283 // Try to get the searchable info for the provided component.
671 // if it's an action specified by the searchable activity, launch the
806 SearchableInfo searchable = mSearchable;
808 if (searchable.getVoiceSearchLaunchWebSearch()) {
810 searchable);
812 } else if (searchable.getVoiceSearchLaunchRecognizer()) {
814 searchable)
    [all...]
SuggestionsAdapter.java 97 SearchableInfo searchable,
105 mSearchable = searchable;
  /frameworks/base/core/java/android/server/search/
Searchables.java 36 * This class maintains the information about all searchable activities.
76 * presence of a "android.app.searchable" meta-data attribute.
81 * case the factory will "redirect" and return the searchable data.</li>
86 * TODO: it might make sense to implement the searchable reference as
89 * TODO: can we skip the constructor step if it's a non-searchable?
94 * activity does not define any explicit searchable metadata.
104 // Step 2. See if the current activity references a searchable.
107 // References must point directly to searchable activities.
164 * activities that are searchable, by iterating the entire set of
215 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai) local
218 newSearchablesMap.put(searchable.getSearchActivity(), searchable); local
    [all...]
  /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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/xml/descriptors/
XmlDescriptors.java 38 * Currently supports the <searchable> and <preferences> root nodes.
46 /** The root document descriptor for both searchable and preferences. */
49 /** The root document descriptor for searchable. */
58 /** @return the root descriptor for both searchable and preferences. */
67 /** @return the root descriptor for searchable. */
124 * @param searchableStyleMap The map style=>attributes for <searchable> from the attrs.xml file
138 ElementDescriptor searchable = createSearchable(searchableStyleMap, xmlns);
142 if (searchable != null) {
143 list.add(searchable);
144 mSearchDescriptor.setChildren(new ElementDescriptor[]{ searchable });
    [all...]
  /frameworks/base/docs/html/guide/
guide_toc.cs 261 <li><a href="<?cs var:toroot?>guide/topics/search/searchable-config.html">Searchable Configuration</a></li>
    [all...]
  /prebuilt/common/groovy/
groovy-all-1.7.0.jar 

Completed in 309 milliseconds