OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:inputConnection
(Results
1 - 3
of
3
) sorted by null
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
InputConnectionWrapperTest.java
42
import android.view.inputmethod.
InputConnection
;
58
InputConnection
inputConnection
= mock(
InputConnection
.class);
59
doReturn(true).when(
inputConnection
).commitContent(any(InputContentInfo.class),
68
wrapper.setTarget(
inputConnection
);
71
verify(
inputConnection
, times(1)).beginBatchEdit();
74
verify(
inputConnection
, times(1)).clearMetaKeyStates(KeyEvent.META_ALT_ON);
79
verify(
inputConnection
, times(1)).commitCompletion(completionInfoCaptor.capture());
87
verify(
inputConnection
, times(1)).commitCorrection(correctionInfoCaptor.capture())
[
all
...]
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
SoftInputWindow.java
30
import android.view.inputmethod.
InputConnection
;
123
void onStartInput(int clientId, int targetWindowHandle,
InputConnection
inputConnection
) {
144
inputConnection
.sendKeyEvent(
146
inputConnection
.sendKeyEvent(
156
handleCharacter(
inputConnection
, primaryCode, isShifted);
166
if (
inputConnection
== null) {
169
inputConnection
.commitText(text, 0);
201
void handleCharacter(
InputConnection
inputConnection
, int primaryCode, boolean isShifted)
[
all
...]
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
SoftKeyboard.java
32
import android.view.inputmethod.
InputConnection
;
286
InputConnection
ic = getCurrentInputConnection();
318
*
InputConnection
. It is only needed when using the
326
InputConnection
ic = getCurrentInputConnection();
395
InputConnection
ic = getCurrentInputConnection();
442
private void commitTyped(
InputConnection
inputConnection
) {
444
inputConnection
.commitText(mComposing, mComposing.length());
542
InputConnection
ic = getCurrentInputConnection();
Completed in 3924 milliseconds