Home
last modified time | relevance | path

Searched refs:suggestion (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd13 <li><a href="#HandlingSuggestionQuery">Handling a suggestion query</a></li>
14 <li><a href="#SuggestionTable">Building a suggestion table</a></li>
72 <p>When the user selects a custom suggestion, the Android system sends an {@link
77 that's relevant to the selected suggestion. Continuing
78 the dictionary example, when the user selects a suggestion, your application can immediately
94 suggestion (including a custom action and custom data). </li>
118 and the suggestion list is updated as appropriate. </li>
122 <li>If the user selects a suggestion, an intent is sent to your searchable activity, carrying a
143 to each suggestion and how you want to format queries to your content provider. The other optional
154 same as any other content provider. However, for each suggestion you provide, the respective row in
[all …]
Dsearchable-config.jd90 Currently available modes define how the query text should be rewritten when a custom suggestion
134 <h4>Search suggestion attributes</h4>
165 clicks on a custom search suggestion (such as {@code "android.intent.action.VIEW"}).
166 If this is not overridden by the selected suggestion (via the {@link
168 field of the {@link android.content.Intent} when the user clicks a suggestion.</dd>
172 clicks on a custom search suggestion.
173 If not overridden by the selected suggestion (via the {@link
176 a suggestion.</dd>
180 trigger a suggestion look-up. Only guarantees that the system will not query your
299 suggestion. For example, the Contacts application provides a search action to initiate a phone call
[all …]
Dadding-recent-query-suggestions.jd34 suggestion once he or she begins typing the same query. Figure 1 shows an example of a search dialog
53 android.content.Intent#ACTION_SEARCH} intent with the suggestion as the search query, which your
88 repeated and the suggestion list is updated.</li>
92 <li>If the user selects a suggestion, an
132 to the suggestions table that allows you to provide a second line of text with each suggestion. For
133 example, if you want to provide two lines in each suggestion:</p>
213 second line of the suggestion (or null). The second parameter is only used if you've enabled
Dsearch-dialog.jd123 for features such as voice search, search suggestion, and hint text for the search box.</p></li>
758 suggestion, but they might also want to refine the suggested search query. You can add a button
759 alongside each suggestion that inserts the suggestion in the search box for refinement by the
852 handles the event when the user selects a suggestion.</p>
865 example of custom suggestions for a dictionary application&mdash;the user can select a suggestion
/frameworks/base/docs/html/training/keyboard-input/
Dindex.jd41 as spelling suggestion behavior and action buttons such as <b>Done</b> or <b>Next</b>.
/frameworks/base/docs/html/guide/topics/text/
Dspell-checker-framework.jd124 onGetSuggestions()}, which handles a word suggestion request, or
126 onGetSuggestionsMultiple()}, which handles batches of word suggestion requests.
/frameworks/base/docs/html/guide/topics/manifest/
Dpath-permission-element.jd38 When used to provide search suggestion content, it must be appended
/frameworks/base/docs/html/training/tv/discovery/
Dsearchable.jd61 Building a suggestion table</a>.</p>
191 provider searches your suggestion data and returns a {@link android.database.Cursor} that points to
265 to define the intent action for providing a custom suggestion. This is different from the intent
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.3.jd149 flag in combination with other suggestion attributes, as well as the {@link
156 word/text that the user is typing/composing. This type of suggestion is rendered
Dandroid-4.0-highlights.jd215 accurate. Error correction and word suggestion are improved through a new set of
217 double-typed characters, skipped letters, and omitted spaces. Word suggestion
218 is also improved and the suggestion strip is simplified to show only three
970 and distribute dictionaries and suggestion engines that plug into the platform.
972 word suggestions &mdash; it can display them in a dedicated suggestion popup
Dandroid-2.3-highlights.jd81 suggestions let the user accept a suggestion and then return to correct it
Dandroid-4.3.jd936 String suggestion = String.format(res.getString(R.string.did_you_mean), address);
949 String suggestion = String.format(res.getString(R.string.did_you_mean),
/frameworks/base/core/java/android/widget/
DEditor.java2579 String suggestion = suggestions[suggestionIndex]; in updateSuggestions() local
2583 if (mSuggestionInfos[i].text.toString().equals(suggestion)) { in updateSuggestions()
2598 suggestionInfo.text.replace(0, suggestionInfo.text.length(), suggestion); in updateSuggestions()
2749 final String suggestion = suggestionInfo.text.subSequence( in onItemClick() local
2751 mTextView.replaceText_internal(spanStart, spanEnd, suggestion); in onItemClick()
2763 final int lengthDifference = suggestion.length() - (spanEnd - spanStart); in onItemClick()
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd166 parent wants your view to be, and whether that size is a hard maximum or just a suggestion. As an
/frameworks/base/docs/html/google/play/publishing/
Dmultiple-apks.jd532 <p>This scheme for version codes is just a suggestion for how you should establish a