Home | History | Annotate | Download | only in inputmethodservice

Lines Matching refs:InputMethod

34 import android.view.inputmethod.EditorInfo;
35 import android.view.inputmethod.InputBinding;
36 import android.view.inputmethod.InputConnection;
37 import android.view.inputmethod.InputMethod;
38 import android.view.inputmethod.InputMethodSession;
48 * on to it back to calls on the public InputMethod interface, scheduling
70 final WeakReference<InputMethod> mInputMethod;
77 static class InputMethodSessionCallbackWrapper implements InputMethod.SessionCallback {
99 InputMethod inputMethod) {
102 mInputMethod = new WeakReference<InputMethod>(inputMethod);
105 public InputMethod getInternalInputMethod() {
110 InputMethod inputMethod = mInputMethod.get();
111 // Need a valid reference to the inputMethod for everything except a dump.
112 if (inputMethod == null && msg.what != DO_DUMP) {
137 inputMethod.attachToken((IBinder)msg.obj);
141 inputMethod.bindInput((InputBinding)msg.obj);
145 inputMethod.unbindInput();
152 inputMethod.startInput(ic, (EditorInfo)args.arg2);
160 inputMethod.restartInput(ic, (EditorInfo)args.arg2);
164 inputMethod.createSession(new InputMethodSessionCallbackWrapper(
169 inputMethod.setSessionEnabled((InputMethodSession)msg.obj,
173 inputMethod.revokeSession((InputMethodSession)msg.obj);
176 inputMethod.showSoftInput(msg.arg1, (ResultReceiver)msg.obj);
179 inputMethod.hideSoftInput(msg.arg1, (ResultReceiver)msg.obj);