Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java138 public SuggestionsInfo[] onGetSuggestionsMultiple(TextInfo[] textInfos, in onGetSuggestionsMultiple() argument
140 final int length = textInfos.length; in onGetSuggestionsMultiple()
143 retval[i] = onGetSuggestions(textInfos[i], suggestionsLimit); in onGetSuggestionsMultiple()
145 textInfos[i].getCookie(), textInfos[i].getSequence()); in onGetSuggestionsMultiple()
164 public SentenceSuggestionsInfo[] onGetSentenceSuggestionsMultiple(TextInfo[] textInfos, in onGetSentenceSuggestionsMultiple() argument
166 if (textInfos == null || textInfos.length == 0) { in onGetSentenceSuggestionsMultiple()
170 Log.d(TAG, "onGetSentenceSuggestionsMultiple: + " + textInfos.length + ", " in onGetSentenceSuggestionsMultiple()
186 final int infosSize = textInfos.length; in onGetSentenceSuggestionsMultiple()
190 mSentenceLevelAdapter.getSplitWords(textInfos[i]); in onGetSentenceSuggestionsMultiple()
254 TextInfo[] textInfos, int suggestionsLimit, boolean sequentialWords) { in onGetSuggestionsMultiple() argument
[all …]
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSession.java180 public void getSentenceSuggestions(TextInfo[] textInfos, int suggestionsLimit) { in getSentenceSuggestions() argument
182 textInfos, suggestionsLimit); in getSentenceSuggestions()
205 TextInfo[] textInfos, int suggestionsLimit, boolean sequentialWords) { in getSuggestions() argument
210 textInfos, suggestionsLimit, sequentialWords); in getSuggestions()
274 public SpellCheckerParams(int what, TextInfo[] textInfos, int suggestionsLimit, in SpellCheckerParams() argument
277 mTextInfos = textInfos; in SpellCheckerParams()
423 TextInfo[] textInfos, int suggestionsLimit, boolean sequentialWords) { in getSuggestionsMultiple() argument
425 new SpellCheckerParams(TASK_GET_SUGGESTIONS_MULTIPLE, textInfos, in getSuggestionsMultiple()
429 public void getSentenceSuggestionsMultiple(TextInfo[] textInfos, int suggestionsLimit) { in getSentenceSuggestionsMultiple() argument
432 textInfos, suggestionsLimit, false)); in getSentenceSuggestionsMultiple()
/frameworks/base/core/java/com/android/internal/textservice/
DISpellCheckerSession.aidl26 in TextInfo[] textInfos, int suggestionsLimit, boolean multipleWords); in onGetSuggestionsMultiple() argument
27 void onGetSentenceSuggestionsMultiple(in TextInfo[] textInfos, int suggestionsLimit); in onGetSentenceSuggestionsMultiple() argument
/frameworks/base/core/java/android/widget/
DSpellChecker.java267 TextInfo[] textInfos = new TextInfo[mLength]; in spellCheck() local
297 textInfos[textInfosCount++] = textInfo; in spellCheck()
308 if (textInfosCount < textInfos.length) { in spellCheck()
310 System.arraycopy(textInfos, 0, textInfosCopy, 0, textInfosCount); in spellCheck()
311 textInfos = textInfosCopy; in spellCheck()
316 textInfos, SuggestionSpan.SUGGESTIONS_MAX_SIZE); in spellCheck()
318 mSpellCheckerSession.getSuggestions(textInfos, SuggestionSpan.SUGGESTIONS_MAX_SIZE, in spellCheck()