Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DSuggestionSpanUtils.java75 final String pickedWord, final SuggestedWords suggestedWords, final Locale locale) { in getTextWithSuggestionSpan() argument
76 if (TextUtils.isEmpty(pickedWord) || suggestedWords.isEmpty() in getTextWithSuggestionSpan()
78 return pickedWord; in getTextWithSuggestionSpan()
91 if (!TextUtils.equals(pickedWord, word)) { in getTextWithSuggestionSpan()
97 final Spannable spannable = new SpannableString(pickedWord); in getTextWithSuggestionSpan()
98 spannable.setSpan(suggestionSpan, 0, pickedWord.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in getTextWithSuggestionSpan()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DSuggestionSpanUtilsTest.java179 for (final SuggestedWordInfo pickedWord : suggestedWordList) { in testGetTextWithSuggestionSpan()
180 final String PICKED_WORD = pickedWord.mWord; in testGetTextWithSuggestionSpan()