Home
last modified time | relevance | path

Searched refs:suggestionsList (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DSuggestionSpanUtils.java122 final ArrayList<String> suggestionsList = new ArrayList<String>(); in getTextWithSuggestionSpan() local
125 if (suggestionsList.size() >= OBJ_SUGGESTIONS_MAX_SIZE) { in getTextWithSuggestionSpan()
130 suggestionsList.add(word.toString()); in getTextWithSuggestionSpan()
139 { context, null, suggestionsList.toArray(new String[suggestionsList.size()]), 0, in getTextWithSuggestionSpan()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggest.java349 final ArrayList<SuggestedWordInfo> suggestionsList; in getSuggestedWords() local
351 suggestionsList = getSuggestionsInfoListWithDebugInfo(typedWord, mSuggestions); in getSuggestedWords()
353 suggestionsList = mSuggestions; in getSuggestedWords()
377 if (allowsToBeAutoCorrected && suggestionsList.size() > 1 && mAutoCorrectionThreshold > 0 in getSuggestedWords()
379 suggestionsList.get(1).mWord)) { in getSuggestedWords()
382 return new SuggestedWords(suggestionsList, in getSuggestedWords()
413 final ArrayList<SuggestedWordInfo> suggestionsList = in getSuggestionsInfoListWithDebugInfo() local
415 suggestionsList.add(typedWordInfo); in getSuggestionsInfoListWithDebugInfo()
429 suggestionsList.add(cur); in getSuggestionsInfoListWithDebugInfo()
431 return suggestionsList; in getSuggestionsInfoListWithDebugInfo()
DSuggestedWords.java104 final ArrayList<SuggestedWordInfo> suggestionsList = new ArrayList<SuggestedWordInfo>(); in getTypedWordAndPreviousSuggestions() local
106 suggestionsList.add(new SuggestedWordInfo(typedWord, SuggestedWordInfo.MAX_SCORE)); in getTypedWordAndPreviousSuggestions()
114 suggestionsList.add(prevWordInfo); in getTypedWordAndPreviousSuggestions()
118 return suggestionsList; in getTypedWordAndPreviousSuggestions()
/packages/apps/Contacts/src/com/android/contacts/group/
DSuggestedMemberListAdapter.java180 List<SuggestedMember> suggestionsList = new ArrayList<SuggestedMember>(); in performFiltering() local
226 suggestionsList.add(member); in performFiltering()
292 results.values = suggestionsList; in performFiltering()
299 List<SuggestedMember> suggestionsList = (List<SuggestedMember>) results.values; in publishResults() local
300 if (suggestionsList == null) { in publishResults()
308 for (SuggestedMember member : suggestionsList) { in publishResults()