Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java1595 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, in downgradeEasyCorrectionSpans() local
1597 for (int i = 0; i < suggestionSpans.length; i++) { in downgradeEasyCorrectionSpans()
1598 int flags = suggestionSpans[i].getFlags(); in downgradeEasyCorrectionSpans()
1602 suggestionSpans[i].setFlags(flags); in downgradeEasyCorrectionSpans()
2523 final SuggestionSpan[] suggestionSpans = spannable.getSpans(selectionStart, selectionEnd, in shouldOfferToShowSuggestions() local
2525 if (suggestionSpans.length == 0) { in shouldOfferToShowSuggestions()
2530 for (int i = 0; i < suggestionSpans.length; i++) { in shouldOfferToShowSuggestions()
2531 if (suggestionSpans[i].getSuggestions().length > 0) { in shouldOfferToShowSuggestions()
2542 for (int i = 0; i < suggestionSpans.length; i++) { in shouldOfferToShowSuggestions()
2543 final int spanStart = spannable.getSpanStart(suggestionSpans[i]); in shouldOfferToShowSuggestions()
[all …]
DTextView.java6023 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, spannable.length(), in removeMisspelledSpans() local
6025 for (int i = 0; i < suggestionSpans.length; i++) { in removeMisspelledSpans()
6026 int flags = suggestionSpans[i].getFlags(); in removeMisspelledSpans()
6029 spannable.removeSpan(suggestionSpans[i]); in removeMisspelledSpans()