D | SpellCheckerSession.java | 248 private final Queue<SpellCheckerParams> mPendingTasks = new ArrayDeque<>(); 275 private static class SpellCheckerParams { class in SpellCheckerSession.SpellCheckerSessionListenerImpl 281 public SpellCheckerParams(int what, TextInfo[] textInfos, int suggestionsLimit, in SpellCheckerParams() method in SpellCheckerSession.SpellCheckerSessionListenerImpl.SpellCheckerParams 290 private void processTask(ISpellCheckerSession session, SpellCheckerParams scp, in processTask() 409 SpellCheckerParams scp = (SpellCheckerParams)msg.obj; in onServiceConnected() 427 processOrEnqueueTask(new SpellCheckerParams(TASK_CANCEL, null, 0, false)); in cancel() 433 new SpellCheckerParams(TASK_GET_SUGGESTIONS_MULTIPLE, textInfos, in getSuggestionsMultiple() 439 new SpellCheckerParams(TASK_GET_SUGGESTIONS_MULTIPLE_FOR_SENTENCE, in getSentenceSuggestionsMultiple() 444 processOrEnqueueTask(new SpellCheckerParams(TASK_CLOSE, null, 0, false)); in close() 453 private void processOrEnqueueTask(SpellCheckerParams scp) { in processOrEnqueueTask() [all …]
|