Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidWordLevelSpellCheckerSession.java221 final int suggestionsLimit) { in onGetSuggestionsInternal() argument
222 return onGetSuggestionsInternal(textInfo, null, suggestionsLimit); in onGetSuggestionsInternal()
227 final int suggestionsLimit) { in onGetSuggestionsInternal() argument
287 final Result result = getResult(capitalizeType, mLocale, suggestionsLimit, in onGetSuggestionsInternal()
292 + suggestionsLimit); in onGetSuggestionsInternal()
337 final int suggestionsLimit, final float recommendedThreshold, final String originalText, in getResult() argument
339 if (suggestionResults.isEmpty() || suggestionsLimit <= 0) { in getResult()
365 suggestions.subList(0, Math.min(suggestions.size(), suggestionsLimit)) in getResult()
391 final int suggestionsLimit) { in onGetSuggestions() argument
394 return onGetSuggestionsInternal(textInfo, suggestionsLimit); in onGetSuggestions()
DAndroidSpellCheckerSession.java125 int suggestionsLimit) { in onGetSentenceSuggestionsMultiple() argument
126 final SentenceSuggestionsInfo[] retval = splitAndSuggest(textInfos, suggestionsLimit); in onGetSentenceSuggestionsMultiple()
154 private SentenceSuggestionsInfo[] splitAndSuggest(TextInfo[] textInfos, int suggestionsLimit) { in splitAndSuggest() argument
187 splitTextInfos, suggestionsLimit, true)); in splitAndSuggest()
194 int suggestionsLimit, boolean sequentialWords) { in onGetSuggestionsMultiple() argument
214 retval[i] = onGetSuggestionsInternal(textInfo, prevWordsInfo, suggestionsLimit); in onGetSuggestionsMultiple()