Home
last modified time | relevance | path

Searched refs:inputConnection (Results 1 – 3 of 3) sorted by relevance

/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DSoftInputWindow.java123 void onStartInput(int clientId, int targetWindowHandle, InputConnection inputConnection) { in onStartInput() argument
144 inputConnection.sendKeyEvent( in onStartInput()
146 inputConnection.sendKeyEvent( in onStartInput()
156 handleCharacter(inputConnection, primaryCode, isShifted); in onStartInput()
166 if (inputConnection == null) { in onStartInput()
169 inputConnection.commitText(text, 0); in onStartInput()
201 void handleCharacter(InputConnection inputConnection, int primaryCode, boolean isShifted) { in handleCharacter() argument
205 inputConnection.commitText(String.valueOf((char) primaryCode), 1); in handleCharacter()
DClientCallbackImpl.java134 public void onStartInputOrWindowGainedFocus(InputConnection inputConnection, in onStartInputOrWindowGainedFocus() argument
166 if (inputConnection == null || editorInfo == null) { in onStartInputOrWindowGainedFocus()
176 window.onStartInput(mClientId, targetWindowHandle, inputConnection); in onStartInputOrWindowGainedFocus()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java471 private void commitTyped(InputConnection inputConnection) { in commitTyped() argument
473 inputConnection.commitText(mComposing, mComposing.length()); in commitTyped()