HomeSort by relevance Sort by last modified time
    Searched full:searchable (Results 1 - 25 of 190) sorted by null

1 2 3 4 5 6 7 8

  /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...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/
README.searchcvs.setup.web.txt 2 can be updated without worry of data duplication. The database is then searchable
  /development/samples/training/ContactsList/res/xml/
searchable_contacts.xml 18 <!-- Define a searchable configuration. See the docs for more information:
19 http://developer.android.com/guide/topics/search/searchable-config.html -->
21 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
  /frameworks/base/docs/html/training/search/
setup.jd 16 <li><a href="{@docRoot}training/search/setup.html#create-sc">Create a Searchable
19 <li><a href="{@docRoot}training/search/setup.html#create-sa">Create a Searchable
83 <h2 id="create-sc">Create a Searchable Configuration</h2>
85 <p>A <a href="http://developer.android.com/guide/topics/search/searchable-config.html">searchable
87 <code>res/xml/searchable.xml</code> file. At a minimum, a searchable configuration must contain
96 &lt;searchable xmlns:android="http://schemas.android.com/apk/res/android"
102 <code>&lt;meta-data&gt;</code></a> element that points to the <code>res/xml/searchable.xml</code> file,
108 &lt;meta-data android:name="android.app.searchable"
    [all...]
  /frameworks/base/docs/html/guide/topics/search/
adding-recent-query-suggestions.jd 12 <li><a href="#RecentQuerySearchableConfiguration">Modifying the Searchable
26 <li><a href="searchable-config.html">Searchable Configuration</a></li>
52 the suggestions, your searchable activity receives a {@link
54 searchable activity already handles (as described in <a href="search-dialog.html">Creating a Search
60 <li>Implement a searchable activity, as described in <a
64 <li>Modify the searchable configuration with information about the content provider that
73 <p>When the system identifies that your activity is searchable and provides search
90 to your searchable activity using the normal {@link android.content.Intent#ACTION_SEARCH}
93 {@link android.content.Intent#ACTION_SEARCH} intent is delivered to your searchable activity usin
    [all...]
search-dialog.jd 12 <li><a href="#SearchableConfiguration">Creating a Searchable Configuration</a></li>
13 <li><a href="#SearchableActivity">Creating a Searchable Activity</a>
15 <li><a href="#DeclaringSearchableActivity">Declaring a searchable activity</a></li>
45 <li><a href="{@docRoot}resources/samples/SearchableDictionary/index.html">Searchable
117 that you've declared to handle searches (the "searchable activity") and delivers it the intent. To
121 <li>A searchable configuration
124 <li>A searchable activity
144 <p>The rest of this document shows you how to create the searchable configuration, searchable
148 <h2 id="SearchableConfiguration">Creating a Searchable Configuration</h2
    [all...]
adding-custom-suggestions.jd 10 <li><a href="#CustomSearchableConfiguration">Modifying the Searchable Configuration</a></li>
37 <li><a href="{@docRoot}resources/samples/SearchableDictionary/index.html">Searchable
43 <li><a href="searchable-config.html">Searchable Configuration</a></li>
74 your searchable activity. Whereas a normal search query sends an intent with the {@link
84 <li>Implement a basic searchable activity, as described in <a
86 <li>Modify the searchable configuration with information about the content provider that
103 <p>When the system identifies that your activity is searchable and provides search
120 to your searchable activity using the normal {@link android.content.Intent#ACTION_SEARCH}
122 <li>If the user selects a suggestion, an intent is sent to your searchable activity, carrying
    [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/app/
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...]
  /development/samples/SearchableDictionary/
AndroidManifest.xml 44 <!-- Points to searchable meta data. -->
45 <meta-data android:name="android.app.searchable"
46 android:resource="@xml/searchable" />
57 <!-- Points to searchable activity so the whole app can invoke search. -->
  /development/samples/SearchableDictionary/res/xml/
searchable.xml 25 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
36 </searchable>
  /frameworks/base/core/tests/coretests/res/xml/
searchable.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
26 </searchable
  /packages/apps/Calendar/res/xml/
searchable.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
28 </searchable>
  /packages/apps/Contacts/res/xml/
searchable.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
29 </searchable>
  /packages/apps/QuickSearchBox/res/xml/
google_searchable.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
27 </searchable>
  /packages/apps/QuickSearchBox/tests/naughty/res/xml/
searchable_crashing.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
24 </searchable>
searchable_hanging.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
24 </searchable>
  /packages/apps/QuickSearchBox/tests/partial/res/xml/
searchable.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
24 </searchable>
  /packages/apps/QuickSearchBox/tests/slow/
AndroidManifest.xml 32 <meta-data android:name="android.app.searchable"
33 android:resource="@xml/searchable" />
  /packages/apps/QuickSearchBox/tests/slow/res/xml/
searchable.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
24 </searchable>
  /packages/apps/QuickSearchBox/tests/spammy/
AndroidManifest.xml 32 <meta-data android:name="android.app.searchable"
33 android:resource="@xml/searchable" />
  /packages/apps/QuickSearchBox/tests/spammy/res/xml/
searchable.xml 17 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
24 </searchable>
  /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/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...]

Completed in 1511 milliseconds

1 2 3 4 5 6 7 8