Searched refs:suggestions (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/android/view/textservice/ |
H A D | SuggestionsInfo.java | 25 * This class contains a metadata of suggestions from the text service 31 * Flag of the attributes of the suggestions that can be obtained by 37 * Flag of the attributes of the suggestions that can be obtained by 43 * Flag of the attributes of the suggestions that can be obtained by 45 * the result suggestions include highly recommended ones. 57 * @param suggestions from the text service 59 public SuggestionsInfo(int suggestionsAttributes, String[] suggestions) { argument 60 this(suggestionsAttributes, suggestions, 0, 0); 66 * @param suggestions from the text service 71 int suggestionsAttributes, String[] suggestions, in 70 SuggestionsInfo( int suggestionsAttributes, String[] suggestions, int cookie, int sequence) argument [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionSpan.java | 41 * the original text by one of the suggestions. 53 * Sets this flag if the suggestions should be easily accessible with few interactions. 54 * This flag should be set for every suggestions that the user is likely to use. 59 * Sets this flag if the suggestions apply to a misspelled word/text. This type of suggestion is 103 * @param suggestions Suggestions for the string under the span 106 public SuggestionSpan(Context context, String[] suggestions, int flags) { argument 107 this(context, null, suggestions, flags, null); 111 * @param locale Locale of the suggestions 112 * @param suggestions Suggestions for the string under the span 115 public SuggestionSpan(Locale locale, String[] suggestions, in argument 128 SuggestionSpan(Context context, Locale locale, String[] suggestions, int flags, Class<?> notificationTargetClass) argument 283 hashCodeInternal(String[] suggestions, String locale, String notificationTargetClassName) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SpellChecker.java | 475 String[] suggestions; 477 suggestions = new String[suggestionsCount]; 479 suggestions[i] = suggestionsInfo.getSuggestionAt(i); 482 suggestions = ArrayUtils.emptyArray(String.class); 485 SuggestionSpan suggestionSpan = new SuggestionSpan(mTextView.getContext(), suggestions,
|
H A D | Editor.java | 946 * Downgrades to simple suggestions all the easy correction spans that are not a spell check 2423 // The suggestions are sorted according to their types (easy correction first, then 2523 String[] suggestions = suggestionSpan.getSuggestions(); 2524 int nbSuggestions = suggestions.length; 2526 String suggestion = suggestions[suggestionIndex]; 2709 String[] suggestions = suggestionInfo.suggestionSpan.getSuggestions(); 2710 suggestions[suggestionInfo.suggestionIndex] = originalText;
|
/frameworks/base/services/java/com/android/server/ |
H A D | InputMethodManagerService.java | 1571 final String[] suggestions = span.getSuggestions(); 1572 if (index < 0 || index >= suggestions.length) return false; 1580 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_AFTER, suggestions[index]);
|
Completed in 515 milliseconds