Searched refs:textInfos (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 138 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/ |
D | SpellCheckerSession.java | 177 public void getSentenceSuggestions(TextInfo[] textInfos, int suggestionsLimit) { in getSentenceSuggestions() argument 179 textInfos, suggestionsLimit); in getSentenceSuggestions() 202 TextInfo[] textInfos, int suggestionsLimit, boolean sequentialWords) { in getSuggestions() argument 207 textInfos, suggestionsLimit, sequentialWords); in getSuggestions() 271 public SpellCheckerParams(int what, TextInfo[] textInfos, int suggestionsLimit, in SpellCheckerParams() argument 274 mTextInfos = textInfos; in SpellCheckerParams() 420 TextInfo[] textInfos, int suggestionsLimit, boolean sequentialWords) { in getSuggestionsMultiple() argument 422 new SpellCheckerParams(TASK_GET_SUGGESTIONS_MULTIPLE, textInfos, in getSuggestionsMultiple() 426 public void getSentenceSuggestionsMultiple(TextInfo[] textInfos, int suggestionsLimit) { in getSentenceSuggestionsMultiple() argument 429 textInfos, suggestionsLimit, false)); in getSentenceSuggestionsMultiple()
|
/frameworks/base/core/java/com/android/internal/textservice/ |
D | ISpellCheckerSession.aidl | 26 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/ |
D | SpellChecker.java | 270 TextInfo[] textInfos = new TextInfo[mLength]; in spellCheck() local 300 textInfos[textInfosCount++] = textInfo; in spellCheck() 311 if (textInfosCount < textInfos.length) { in spellCheck() 313 System.arraycopy(textInfos, 0, textInfosCopy, 0, textInfosCount); in spellCheck() 314 textInfos = textInfosCopy; in spellCheck() 319 textInfos, SuggestionSpan.SUGGESTIONS_MAX_SIZE); in spellCheck() 321 mSpellCheckerSession.getSuggestions(textInfos, SuggestionSpan.SUGGESTIONS_MAX_SIZE, in spellCheck()
|