Home
last modified time | relevance | path

Searched refs:suggestionSpans (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DEditor.java1362 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, in downgradeEasyCorrectionSpans() local
1364 for (int i = 0; i < suggestionSpans.length; i++) { in downgradeEasyCorrectionSpans()
1365 int flags = suggestionSpans[i].getFlags(); in downgradeEasyCorrectionSpans()
1369 suggestionSpans[i].setFlags(flags); in downgradeEasyCorrectionSpans()
2289 final SuggestionSpan[] suggestionSpans = spannable.getSpans(selectionStart, selectionEnd, in shouldOfferToShowSuggestions() local
2291 if (suggestionSpans.length == 0) { in shouldOfferToShowSuggestions()
2296 for (int i = 0; i < suggestionSpans.length; i++) { in shouldOfferToShowSuggestions()
2297 if (suggestionSpans[i].getSuggestions().length > 0) { in shouldOfferToShowSuggestions()
2308 for (int i = 0; i < suggestionSpans.length; i++) { in shouldOfferToShowSuggestions()
2309 final int spanStart = spannable.getSpanStart(suggestionSpans[i]); in shouldOfferToShowSuggestions()
[all …]
DSpellChecker.java588 SuggestionSpan[] suggestionSpans = editable.getSpans(start - 1, end + 1, in parse() local
679 removeSpansAt(editable, start, suggestionSpans); in parse()
684 removeSpansAt(editable, end, suggestionSpans); in parse()
DTextView.java5898 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, spannable.length(), in removeMisspelledSpans() local
5900 for (int i = 0; i < suggestionSpans.length; i++) { in removeMisspelledSpans()
5901 int flags = suggestionSpans[i].getFlags(); in removeMisspelledSpans()
5904 spannable.removeSpan(suggestionSpans[i]); in removeMisspelledSpans()