Home | History | Annotate | Download | only in textservice

Lines Matching defs:session

49  * {@link #createSession()} to provide a spell checker session that is corresponding
50 * to requested language and so on. The spell checker session returned by this method
51 * should extend {@link SpellCheckerService.Session}.
56 * <p>{@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)}
61 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)} for
65 * <p>Please note that {@link SpellCheckerService.Session#getLocale()} does not return a valid
66 * locale before {@link SpellCheckerService.Session#onCreate()} </p>
91 * Factory method to create a spell checker session impl
94 public abstract Session createSession();
99 public static abstract class Session {
106 public final void setInternalISpellCheckerSession(InternalISpellCheckerSession session) {
107 mInternalSession = session;
136 * {@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)}
162 * {@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)}
214 * Request to close this session.
222 * @return Locale for this session
229 * @return Bundle for this session
239 private final Session mSession;
244 Bundle bundle, Session session) {
246 mSession = session;
249 session.setInternalISpellCheckerSession(this);
320 final Session session = service.createSession();
322 new InternalISpellCheckerSession(locale, listener, bundle, session);
323 session.onCreate();
331 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)}