Searched refs:suggestionSpans (Results 1 – 2 of 2) sorted by relevance
1595 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, in downgradeEasyCorrectionSpans() local1597 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() local2525 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 …]
6023 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, spannable.length(), in removeMisspelledSpans() local6025 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()