Lines Matching refs:SpellCheckerParams
229 private final Queue<SpellCheckerParams> mPendingTasks =
230 new LinkedList<SpellCheckerParams>();
243 private static class SpellCheckerParams {
249 public SpellCheckerParams(int what, TextInfo[] textInfos, int suggestionsLimit,
258 private void processTask(ISpellCheckerSession session, SpellCheckerParams scp,
338 SpellCheckerParams scp = (SpellCheckerParams)msg.obj;
356 processOrEnqueueTask(new SpellCheckerParams(TASK_CANCEL, null, 0, false));
365 new SpellCheckerParams(TASK_GET_SUGGESTIONS_MULTIPLE, textInfos,
374 new SpellCheckerParams(TASK_GET_SUGGESTIONS_MULTIPLE_FOR_SENTENCE,
382 processOrEnqueueTask(new SpellCheckerParams(TASK_CLOSE, null, 0, false));
389 private void processOrEnqueueTask(SpellCheckerParams scp) {
397 SpellCheckerParams closeTask = null;
400 final SpellCheckerParams tmp = mPendingTasks.poll();