/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | SuggestionParser.java | 101 public boolean dismissSuggestion(Tile suggestion) { in dismissSuggestion() argument 102 String keyBase = suggestion.intent.getComponent().flattenToShortString(); in dismissSuggestion() 104 String dismissControl = suggestion.metaData.getString(META_DATA_DISMISS_CONTROL); in dismissSuggestion() 148 private boolean isAvailable(Tile suggestion) { in isAvailable() argument 149 String featureRequired = suggestion.metaData.getString(META_DATA_REQUIRE_FEATURE); in isAvailable() 156 public boolean satisfiesRequiredAccount(Tile suggestion) { in satisfiesRequiredAccount() argument 157 String requiredAccountType = suggestion.metaData.getString(META_DATA_REQUIRE_ACCOUNT); in satisfiesRequiredAccount() 166 public boolean isSupported(Tile suggestion) { in isSupported() argument 167 int isSupportedResource = suggestion.metaData.getInt(META_DATA_IS_SUPPORTED); in isSupported() 169 if (suggestion.intent == null) { in isSupported() [all …]
|
/frameworks/base/docs/html/guide/topics/search/ |
D | adding-custom-suggestions.jd | 13 <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 …]
|
D | searchable-config.jd | 90 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 …]
|
D | adding-recent-query-suggestions.jd | 34 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
|
D | search-dialog.jd | 122 for features such as voice search, search suggestion, and hint text for the search box.</p></li> 737 suggestion, but they might also want to refine the suggested search query. You can add a button 738 alongside each suggestion that inserts the suggestion in the search box for refinement by the 831 handles the event when the user selects a suggestion.</p> 844 example of custom suggestions for a dictionary application—the user can select a suggestion
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SuggestionsPopupWindowTest.java | 314 final TextView suggestion = (TextView) listView.getChildAt(j); in testTextAppearanceInSuggestionsPopup() 315 assertNotNull(suggestion); in testTextAppearanceInSuggestionsPopup() 316 final Spanned spanned = (Spanned) suggestion.getText(); in testTextAppearanceInSuggestionsPopup()
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | index.jd | 41 as spelling suggestion behavior and action buttons such as <b>Done</b> or <b>Next</b>.
|
/frameworks/base/docs/html/distribute/engage/ |
D | deep-linking.jd | 17 your app from a search suggestion, or go back to your email reminders in Google Now. </p>
|
/frameworks/base/docs/html/guide/topics/text/ |
D | spell-checker-framework.jd | 124 onGetSuggestions()}, which handles a word suggestion request, or 126 onGetSuggestionsMultiple()}, which handles batches of word suggestion requests.
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | path-permission-element.jd | 38 When used to provide search suggestion content, it must be appended
|
/frameworks/base/docs/html/training/tv/discovery/ |
D | searchable.jd | 61 Building a suggestion table</a>.</p> 192 provider searches your suggestion data and returns a {@link android.database.Cursor} that points to 266 to define the intent action for providing a custom suggestion. This is different from the intent
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.0.3.jd | 149 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
|
D | android-4.0-highlights.jd | 215 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 — it can display them in a dedicated suggestion popup
|
D | android-2.3-highlights.jd | 81 suggestions let the user accept a suggestion and then return to correct it
|
D | android-4.3.jd | 936 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/ |
D | Editor.java | 2640 final String suggestion = suggestionInfo.mText.subSequence( in replaceWithSuggestion() local 2642 mTextView.replaceText_internal(spanStart, spanEnd, suggestion); in replaceWithSuggestion() 2648 final int lengthDelta = suggestion.length() - (spanEnd - spanStart); in replaceWithSuggestion() 3236 final String suggestion = suggestions[suggestionIndex]; in getSuggestionInfo() local 3239 if (otherSuggestionInfo.mText.toString().equals(suggestion)) { in getSuggestionInfo() 3254 suggestionInfo.mSuggestionEnd = suggestion.length(); in getSuggestionInfo() 3255 suggestionInfo.mText.replace(0, suggestionInfo.mText.length(), suggestion); in getSuggestionInfo()
|
/frameworks/rs/api/ |
D | rs_for_each.spec | 39 allocations. This is a hint only. Implementations may not follow the suggestion.
|
/frameworks/base/docs/html/training/custom-views/ |
D | custom-drawing.jd | 166 parent wants your view to be, and whether that size is a hard maximum or just a suggestion. As an
|
/frameworks/rs/scriptc/ |
D | rs_for_each.rsh | 36 * allocations. This is a hint only. Implementations may not follow the suggestion.
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 1906 // have generic constants and the package providing the suggestion 1917 // Click on a suggestion.
|
/frameworks/base/docs/html/wear/preview/features/ |
D | complications.jd | 140 We provide design guidelines for our style, as a suggestion for standard
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_for_each.jd | 192 allocations. This is a hint only. Implementations may not follow the suggestion.
|
/frameworks/base/docs/html/google/play/publishing/ |
D | multiple-apks.jd | 532 <p>This scheme for version codes is just a suggestion for how you should establish a
|