Home
last modified time | relevance | path

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

12345678

/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.</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 App
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 app 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 app 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/training/tv/discovery/
Din-app-search.jd13 <li><a href="#add-search-action">Add a Search Action</a></li>
14 <li><a href="#add-search-ui">Add Search Input and Results</a></li>
24 users to find what they are looking for. A search interface can help your users get to the
30 library</a> provides a set of classes to enable a standard search interface within your app that
31 is consistent with other search functions on TV and provides features such as voice input.
35 This lesson discusses how to provide a search interface in your app using Leanback support
40 <h2 id="add-search-action">Add a Search Action</h2>
44 browsing interface, you can enable a search interface as a standard part of the user
45 interface. The search interface is an icon that appears in the layout when you set {@link
74 <strong>Note:</strong> You can set the color of the search icon using the
[all …]
Dsearchable.jd2 page.tags="search","searchable"
20 <li><a href="{@docRoot}guide/topics/search/index.html">Search</a></li>
21 <li><a href="{@docRoot}training/search/index.html">Adding Search Functionality</a></li>
30 <p>Android TV uses the Android <a href="{@docRoot}guide/topics/search/index.html">search interface<…
31 to retrieve content data from installed apps and deliver search results to the user. Your app's
35 <p>Your app must provide Android TV with the data fields from which it generates suggested search
36 results as the user enters characters in the search dialog. To do that, your app must implement a
38 up the suggestions along with a <a href="{@docRoot}guide/topics/search/searchable-config.html">
41 intent that fires when the user selects a suggested search result. All of this is described in
42 more detail in <a href="{@docRoot}guide/topics/search/adding-custom-suggestions.html">Adding Custom
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Dlinking.jd62 <pre>http://play.google.com/store/search?q=pub:&lt;publisher_name&gt;</pre>
66 <pre>market://search?q=pub:&lt;publisher_name&gt;</pre>
72 …"><code><a href="http://play.google.com/store/search?q=pub:Google Inc.">http://play.google.com/sto…
86 <pre>http://play.google.com/store/search?q=&lt;search_query&gt;&amp;c=apps</pre>
90 <pre>market://search?q=&lt;seach_query&gt;&amp;c=apps</pre>
96 …"><code><a href="http://play.google.com/store/search?q=maps&amp;c=apps">http://play.google.com/sto…
178 <td><nobr><code>http://play.google.com/store/search?q=pub:&lt;publisher_name&gt;</code></nobr></td>
179 <td><nobr><code>market://search?q=pub:&lt;publisher_name&gt;</code></nobr></td>
183 <td><code>http://play.google.com/store/search?q=&lt;query&gt;</code></td>
184 <td><code>market://search?q=&lt;query&gt;</code></td>
/frameworks/base/docs/html/distribute/engage/
Ddeep-linking.jd2 page.metaDescription=Use search to bring your existing users back into your app.
4 page.tags="engagement", "app indexing", "search", "deep linking"
17 your app from a search suggestion, or go back to your email reminders in Google Now. </p>
30 <p>Re-engage with your users with deep-links displayed in search results, links
40 Google, play a song” or “Ok Google, search for
61 you can use the App Indexing API to have deep links appear in search suggestions.</li>
62 <li>App Indexing is flexible—you can direct search users to your app or website on a
63 page by page basis. Moving from search results to apps is seamless, without any pop-ups
/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 …]
/frameworks/base/docs/html/distribute/tools/promote/
Dlinking.jd5 …arn how to build links that take users to your published apps in Google Play from browse or search.
27 <li>Link to a <a href="#PerformingSearch">search result</a> of your choice</li>
77 <pre>http://play.google.com/store/search?q=pub:&lt;publisher_name&gt;</pre>
81 <pre>market://search?q=pub:&lt;publisher_name&gt;</pre>
87 …"><code><a href="http://play.google.com/store/search?q=pub:Google Inc.">http://play.google.com/sto…
94 <p>Use the format below to link users to a search query result on Google Play.
95 The search result page shows a list of apps (and optionally other content) that
98 <p>To create the link, you just need a search query string. If you want the
99 query to search outside of the Google Play Apps listings, you can remove the
105 <pre>http://play.google.com/store/search?q=&lt;search_query&gt;&c=apps</pre>
[all …]
/frameworks/base/docs/html/training/app-indexing/
Dindex.jd2 page.tags="app indexing", "search"
3 meta.tags="getusers", "search","appindexing"
20 <li><a href="http://insidesearch.blogspot.com/2013/12/the-power-of-search-now-across-apps.html" cla…
45 content alongside links to your web pages in users' search results. Users on
46 mobile devices can then click on a link to open your app from their search
65 your application content so that users can open this content directly from mobile search
/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/EGL/
DLoader.cpp379 const String8& pattern, const char* const search, bool exact) { in load_driver() argument
382 absolutePath.appendFormat("%s/%s.so", search, pattern.string()); in load_driver()
390 DIR* d = opendir(search); in load_driver()
405 result.appendFormat("%s/%s", search, e->d_name); in load_driver()
/frameworks/base/docs/html/design/tv/
Dindex.jd29 <p>The Home Screen is the start of the user experience, providing search, content
38 <p>By bringing the power of Google search to the big screen, Android TV makes new, dynamic
42 <img src="{@docRoot}design/tv/images/search.jpg" alt="Recommendations Row" />
45 <a href="{@docRoot}training/tv/discovery/in-app-search.html">Searching within TV Apps</a>.
/frameworks/support/v4/api21/android/support/v4/media/session/
DMediaSessionCompatApi21.java140 public void onPlayFromSearch(String search, Bundle extras); in onPlayFromSearch() argument
180 public void onPlayFromSearch(String search, Bundle extras) { in onPlayFromSearch() argument
181 mCallback.onPlayFromSearch(search, extras); in onPlayFromSearch()
/frameworks/base/docs/html/guide/components/
Dintents-common.jd66 <li><a href="#PlaySearch">Play music based on a search query</a></li>
83 <li><a href="#SearchWeb">Perform a web search</a></li>
1549 <h3 id="PlaySearch">Play music based on a search query</h3>
1565 <p>To play music based on a search query, use the
1568 intent performs a search within its inventory to match existing content to the given query and
1572 extra, which specifies the inteded search mode. For example, the search mode can specify whether
1573 the search is for an artist name or song name.</p>
1590 <p>Indicates the search mode (whether the user is looking for a particular artist, album, song,
1591 or playlist). Most search modes take additional extras. For example, if the user
1593 the song title, the artist, and the album. This intent supports the following search modes for
[all …]
/frameworks/base/docs/html/distribute/users/
Dpromote-with-ads.jd39 From search
43 Connect with users as they search for content and services provided by
115 <li>Promote your app broadly across display, search, and video to reach even
149 From search
195 lists and search with keywords.
/frameworks/base/docs/html/training/transitions/
Dtransitions.jd126 to an event, such as a user action. For example, consider a search app: when the user enters
127 a search term and clicks the search button, the app changes to the scene that represents the
128 results layout while applying a transition that fades out the search button and fades in the
129 search results.</p>
210 example, you can implement a search interaction with just a single layout. Start with the
211 layout showing a search entry field and a search icon. To change the user interface to show
212 the results, remove the search button when the user clicks it by calling the {@link
213 android.view.ViewGroup#removeView ViewGroup.removeView()} method, and add the search results by
/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/docs/html/tv/
Dindex.jd38 Enable users to find movies through voice search.
117 <img src="{@docRoot}tv/images/search.png" alt="Search"
125 … <a href="{@docRoot}training/tv/discovery/in-app-search.html">Learn about app search</a>
214 on our blog. Just search for "Android TV".

12345678