Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java2708 SuggestionSpan suggestionSpan; // the SuggestionSpan that this TextView represents field in Editor.SuggestionsPopupWindow.SuggestionInfo
2787 for (SuggestionSpan suggestionSpan : suggestionSpans) { in getSuggestionSpans()
2788 int start = spannable.getSpanStart(suggestionSpan); in getSuggestionSpans()
2789 int end = spannable.getSpanEnd(suggestionSpan); in getSuggestionSpans()
2790 mSpansLengths.put(suggestionSpan, Integer.valueOf(end - start)); in getSuggestionSpans()
2880 SuggestionSpan suggestionSpan = suggestionSpans[spanIndex]; in updateSuggestions() local
2881 final int spanStart = spannable.getSpanStart(suggestionSpan); in updateSuggestions()
2882 final int spanEnd = spannable.getSpanEnd(suggestionSpan); in updateSuggestions()
2886 if ((suggestionSpan.getFlags() & SuggestionSpan.FLAG_MISSPELLED) != 0) { in updateSuggestions()
2887 misspelledSpan = suggestionSpan; in updateSuggestions()
[all …]
DSpellChecker.java481 SuggestionSpan suggestionSpan = new SuggestionSpan(mTextView.getContext(), suggestions, in createMisspelledSuggestionSpan() local
495 mSuggestionSpanCache.put(key, suggestionSpan); in createMisspelledSuggestionSpan()
497 editable.setSpan(suggestionSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in createMisspelledSuggestionSpan()