Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerSession.java124 public SentenceSuggestionsInfo[] onGetSentenceSuggestionsMultiple(TextInfo[] textInfos, in onGetSentenceSuggestionsMultiple() argument
126 final SentenceSuggestionsInfo[] retval = splitAndSuggest(textInfos, suggestionsLimit); in onGetSentenceSuggestionsMultiple()
127 if (retval == null || retval.length != textInfos.length) { in onGetSentenceSuggestionsMultiple()
132 fixWronglyInvalidatedWordWithSingleQuote(textInfos[i], retval[i]); in onGetSentenceSuggestionsMultiple()
154 private SentenceSuggestionsInfo[] splitAndSuggest(TextInfo[] textInfos, int suggestionsLimit) { in splitAndSuggest() argument
155 if (textInfos == null || textInfos.length == 0) { in splitAndSuggest()
173 final int infosSize = textInfos.length; in splitAndSuggest()
177 sentenceLevelAdapter.getSplitWords(textInfos[i]); in splitAndSuggest()
193 public SuggestionsInfo[] onGetSuggestionsMultiple(TextInfo[] textInfos, in onGetSuggestionsMultiple() argument
197 final int length = textInfos.length; in onGetSuggestionsMultiple()
[all …]