Searched refs:suggestionSpan (Results 1 – 2 of 2) sorted by relevance
2708 SuggestionSpan suggestionSpan; // the SuggestionSpan that this TextView represents field in Editor.SuggestionsPopupWindow.SuggestionInfo2787 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() local2881 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 …]
481 SuggestionSpan suggestionSpan = new SuggestionSpan(mTextView.getContext(), suggestions, in createMisspelledSuggestionSpan() local495 mSuggestionSpanCache.put(key, suggestionSpan); in createMisspelledSuggestionSpan()497 editable.setSpan(suggestionSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in createMisspelledSuggestionSpan()