Home
last modified time | relevance | path

Searched refs:search (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/base/docs/html/guide/topics/search/
Dindex.jd8 <li><a href="search-dialog.html">Creating a Search Interface</a></li>
26 to search any data that is available to them, whether the content is located on the device or
27 the Internet. To help create a consistent search experience for users, Android provides a
28 search framework that helps you implement search for your application.</p>
31 <img src="{@docRoot}images/search/search-suggest-custom.png" alt="" height="417" />
32 <p class="img-caption"><strong>Figure 1.</strong> Screenshot of a search dialog with custom
33 search suggestions.</p>
36 <p>The search framework offers two modes of search input: a search dialog at the top of the
37 screen or a search widget ({@link android.widget.SearchView}) that you can embed in your activity
38 layout. In either case, the Android system will assist your search implementation by
[all …]
Dsearch-dialog.jd16 <li><a href="#PerformingSearch">Performing a search</a></li>
21 <li><a href="#InvokingTheSearchDialog">Invoking the search dialog</a></li>
22 <li><a href="#LifeCycle">The impact of the search dialog on your activity lifecycle</a></li>
23 <li><a href="#SearchContextData">Passing search context data</a></li>
28 <li><a href="#ConfiguringWidget">Configuring the search widget</a></li>
29 <li><a href="#WidgetFeatures">Other search widget features</a></li>
62 <p>When you're ready to add search functionality to your application, Android helps you implement
63 the user interface with either a search dialog that appears at the top of the activity window or a
64 search widget that you can insert in your layout. Both the search dialog and the widget can deliver
65 the user's search query to a specific activity in your application. This way, the user can initiate
[all …]
Dadding-recent-query-suggestions.jd31 <p>When using the Android search dialog or search widget, you can provide search suggestions based
32 on recent search
34 suggestion once he or she begins typing the same query. Figure 1 shows an example of a search dialog
37 <p>Before you begin, you need to implement the search dialog or a search widget for basic searches
39 If you haven't, see <a href="search-dialog.html">Creating a Search Interface</a>.</p>
46 <img src="{@docRoot}images/search/search-suggest-recent-queries.png" alt="" height="417" />
47 <p class="img-caption"><strong>Figure 1.</strong> Screenshot of a search dialog with recent query
53 android.content.Intent#ACTION_SEARCH} intent with the suggestion as the search query, which your
54 searchable activity already handles (as described in <a href="search-dialog.html">Creating a Search
61 href="{@docRoot}guide/topics/search/search-dialog.html">Creating a Search Interface</a>.</li>
[all …]
Dsearchable-config.jd9 <li><a href="search-dialog.html">Creating a Search Interface</a></li>
16 <p>In order to implement search with assistance from the Android system (to deliver search queries
17 to an activity and provide search suggestions), your application must provide a search configuration
20 <p>This page describes the search configuration file in terms of its syntax and usage. For more
21 information about how to implement search features for your application, begin with the developer
22 guide about <a href="search-dialog.html">Creating a Search Interface</a>.</p>
69 <dd>Defines all search configurations used by the Android system to provide assisted search.
79 your application as a searchable item in the system's search settings.</dd>
82 <dd><em>String resource</em>. (Recommended.) The text to display in the search text field when
89 <dd><em>Keyword</em>. Sets additional modes that control the search presentation.
[all …]
Dadding-custom-suggestions.jd49 <p>When using the Android search dialog or search widget, you can provide custom search suggestions
54 an example of a search dialog with custom suggestions.</p>
60 Android search dialog or a search widget for searches in your
61 application. If you haven't, see <a href="search-dialog.html">Creating a Search Interface</a>.</p>
67 <img src="{@docRoot}images/search/search-suggest-custom.png" alt="" height="417" />
68 <p class="img-caption"><strong>Figure 1.</strong> Screenshot of a search dialog with custom
69 search suggestions.</p>
74 your searchable activity. Whereas a normal search query sends an intent with the {@link
85 href="search-dialog.html">Creating a Search Interface</a>.</li>
97 <p>Just as the Android system displays the search dialog, it also displays your search
[all …]
/frameworks/base/docs/html/training/search/
Dindex.jd23 <li><a href="{@docRoot}guide/topics/search/index.html">Search</a></li>
31 <p>Android's built-in search features offer apps an easy way to provide a
32 consistent search experience for all users. There are two ways to implement search in your app
34 search with {@link android.widget.SearchView}, which was introduced in Android 3.0, while
35 maintaining backward compatibility with older versions of Android by using the default search
43 <dd>Learn how to add a search interface to your app and how to configure an activity to handle
44 search queries.</dd>
46 <dt><b><a href="search.html">Storing and Searching for Data</a></b></dt>
48 <dd>Learn a simple way to store and search for data in a SQLite virtual database table.</dd>
52 <dd>Learn how to keep search features backward compatible with older devices by using.</dd>
Dbackward-compat.jd4 previous.link=search.html
13 <li><a href="{@docRoot}training/search/backward-compat.html#set-sdk">Set Minimum
16 <li><a href="{@docRoot}training/search/backward-compat.html#provide-sd">Provide the Search
19 … <li><a href="{@docRoot}training/search/backward-compat.html#check-ver">Check the Android Build
26 later. To support older platforms, you can fall back to the search dialog. The search dialog is a
31 <p>To setup the search dialog, first declare in your manifest that you want to support older
44 <p>To invoke the search dialog on older devices, call {@link
45 android.app.Activity#onSearchRequested onSearchRequested()} whenever a user selects the search
49 user selects the search menu item.
55 case R.id.search:
[all …]
Dsetup.jd4 next.link=search.html
13 <li><a href="{@docRoot}training/search/setup.html#add-sv">Add the Search View to the Action
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
32 the action bar is the preferred way to provide search in your app. Like with all items in
35 android.widget.SearchView} as an icon initially, then takes up the entire action bar as a search
46 This code defines how to create the search item, such as the icon to use and the title of the
55 &lt;item android:id="@+id/search"
85 <p>A <a href="http://developer.android.com/guide/topics/search/searchable-config.html">searchable
91 …ng an <code>android:hint</code> attribute to give the user an idea of what to enter into the search
[all …]
Dsearch.jd15 <li><a href="{@docRoot}training/search/search.html#create">Create the Virtual
18 <li><a href="{@docRoot}training/search/search.html#populate">Populate the Virtual
21 <li><a href="{@docRoot}training/search/search.html#search">Search for the Query</a></li>
168 <h2 id="search">Search for the Query</h2>
171 android.widget.SearchView} to search the data. Add the following methods to the
/frameworks/base/docs/html/tools/help/uiautomator/
DUiSelector.jd83 <div class="jd-descrdiv">Set the search criteria to match widgets that are checkable.</div>
101 <div class="jd-descrdiv">Set the search criteria to match widgets that
138 <div class="jd-descrdiv">Set the search criteria to match the class property
157 <div class="jd-descrdiv">Set the search criteria to match the class property
176 <div class="jd-descrdiv">Set the search criteria to match the class property
195 <div class="jd-descrdiv">Set the search criteria to match widgets that are clickable.</div>
213 <div class="jd-descrdiv">Set the search criteria to match the content-description
232 <div class="jd-descrdiv">Set the search criteria to match the content-description
251 <div class="jd-descrdiv">Set the search criteria to match the content-description
270 <div class="jd-descrdiv">Set the search criteria to match the content-description
[all …]
DUiScrollable.jd334 scroll action in search of a child element.</div>
628 scroll action in search of a child element.</div>
2102 The search first looks for a child element that matches the selector
2104 If both search conditions are fulfilled, the method returns a {@ link UiObject}
2127 …tml">UiObject</a></code> representing the child element that matches the search conditions</li></u…
2168 The search first looks for a child element that matches the selector
2170 If both search conditions are fulfilled, the method returns a {@ link UiObject}
2173 scroll search.
2191 …tml">UiObject</a></code> representing the child element that matches the search conditions</li></u…
2231 matches the selector you provided. The search is performed without
[all …]
/frameworks/base/docs/html/training/contacts-provider/
Dretrieve-names.jd33 <a href="{@docRoot}guide/topics/search/search-dialog.html">Creating a Search Interface</a>
50 search string, using the following techniques:
55 Retrieve a list of contacts by matching the search string to all or part of the contact
61 Retrieve a list of contacts by matching the search string to a particular type of detail
63 contacts whose email address matches the search string.
67 Retrieve a list of contacts by matching the search string to any type of detail data,
69 this technique allows you to accept any type of data for a search string and then list the
84 To do any type of search of the Contacts Provider, your app must have
96 This technique tries to match a search string to the name of a contact or contacts in the
103 To display the search results in a {@link android.widget.ListView}, you need a main layout file
[all …]
Dretrieve-details.jd56 To retrieve all the details for a contact, search the
137 // Defines the array to hold the search criteria
148 Using "?" as a placeholder in your selection text expression ensures that the resulting search
301 Modify the selection text to search for the
346 Define a search text expression that retrieves rows for a specific contact's
365 // Defines the array to hold the search criteria
/frameworks/base/docs/html/distribute/googleplay/promote/
Dlinking.jd22 <li>Link to a <a href="#PerformingSearch">search result</a> of your choice</li>
72 <pre>http://play.google.com/store/search?q=pub:&lt;publisher_name&gt;</pre>
76 <pre>market://search?q=pub:&lt;publisher_name&gt;</pre>
82 …"><code><a href="http://play.google.com/store/search?q=pub:Google Inc.">http://play.google.com/sto…
89 <p>Use the format below to link users to a search query result on Google Play.
90 The search result page shows a list of apps (and optionally other content) that
93 <p>To create the link, you just need a search query string. If you want the
94 query to search outside of the Google Play Apps listings, you can remove the
100 <pre>http://play.google.com/store/search?q=&lt;search_query&gt;&c=apps</pre>
104 <pre>market://search?q=&lt;seach_query&gt;&c=apps</pre>
[all …]
/frameworks/native/opengl/libs/EGL/
DLoader.cpp306 const String8& pattern, const char* const search, bool exact) { in load_driver() argument
319 absolutePath.appendFormat("%s/%s.so", search, pattern.string()); in load_driver()
327 DIR* d = opendir(search); in load_driver()
342 result.appendFormat("%s/%s", search, e->d_name); in load_driver()
/frameworks/base/docs/html/about/versions/
Dandroid-1.6-highlights.jd53 <img src="{@docRoot}sdk/images/search.png" class="screenshot" alt="" /><br/>
70 <p>Android 1.6 includes a redesigned search framework that provides a quick,
71 effective, and consistent way for users to search across multiple sources&mdash;such as
75 <p>The system constantly learns which search results are more relevant based on what is
79 <p>The search framework also provides developers a way to easily expose relevant
146 <p>The Android search framework has been redesigned and expanded to provide
148 content from their applications in Quick Search Box, the global search tool.
151 To enable application search suggestions, users simply select each application from which
/frameworks/native/opengl/libs/GLES_trace/tools/
Dgenapi.py296 m = re.search(self.API_ENTRY_REGEX, apientry)
305 m = re.search(self.API_ENTRY_REGEX, apientry)
313 m = re.search(self.CALL_GL_API_REGEX, callsite)
/frameworks/base/tools/preload/
Dsorttable.js35 if (table.className.search(/\bsortable\b/) != -1) {
61 if (table.rows[i].className.search(/\bsortbottom\b/) != -1) {
94 if (this.className.search(/\bsorttable_sorted\b/) != -1) {
107 if (this.className.search(/\bsorttable_sorted_reverse\b/) != -1) {
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java17 package com.android.server.search;
33 import com.android.server.search.Searchables;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsActivity.java534 final MenuItem search = menu.findItem(R.id.menu_search); in onPrepareOptionsMenu() local
544 search.setVisible(false); in onPrepareOptionsMenu()
549 search.collapseActionView(); in onPrepareOptionsMenu()
561 search.expandActionView(); in onPrepareOptionsMenu()
572 search.collapseActionView(); in onPrepareOptionsMenu()
598 search.setVisible(searchVisible); in onPrepareOptionsMenu()
/frameworks/base/docs/html/
Doffline.jd50 documentation. Because some features such as search and videos are network-based, not everything
/frameworks/base/core/java/android/provider/
DBrowser.java535 public static final void addSearchUrl(ContentResolver cr, String search) { in addSearchUrl() argument
538 values.put(Searches.SEARCH, search); in addSearchUrl()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc3 …search_dir, DiagnosticEngine::Warning, "can not open search directory `-L%0'", "can not open searc…
/frameworks/webview/chromium/tools/
Dmerge_from_chromium.py327 return re.search(r'^[MADRC]', status, flags=re.MULTILINE) is not None
405 return re.search(r'^git-svn-id: .*@([0-9]+)', commit_message,
/frameworks/base/docs/html/distribute/googleplay/about/
Dvisibility.jd50 search, cross-linking, and more.</p>
71 ranking in the various lists and search results in Google Play. It's also one of
98 <h3 id="search">Search</h3>
223 everything about your app. When they see your app listed in search results, top

1234