Home
last modified time | relevance | path

Searched refs:ic (Results 1 – 4 of 4) sorted by relevance

/development/samples/SampleInputMethodAccessibilityService/src/com/example/android/sampleinputmethodaccessibilityservice/
DSampleInputMethodAccessibilityService.java105 final InputMethod.AccessibilityInputConnection ic = in addButtons()
107 if (ic == null) { in addButtons()
110 action.accept(item.second, ic); in addButtons()
167 (value, ic) -> ic.commitText(value, 1, null)); in onServiceConnected()
178 (keyCode, ic) -> { in onServiceConnected()
180 ic.sendKeyEvent(new KeyEvent(eventTime, eventTime, in onServiceConnected()
184 ic.sendKeyEvent(new KeyEvent(eventTime, SystemClock.uptimeMillis(), in onServiceConnected()
200 (action, ic) -> ic.performEditorAction(action)); in onServiceConnected()
212 (action, ic) -> ic.performContextMenuAction(action)); in onServiceConnected()
220 (pair, ic) -> ic.setSelection(pair.first, pair.second)); in onServiceConnected()
[all …]
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java326 InputConnection ic = getCurrentInputConnection(); in onUpdateSelection() local
327 if (ic != null) { in onUpdateSelection()
328 ic.finishComposingText(); in onUpdateSelection()
366 InputConnection ic = getCurrentInputConnection(); in translateKeyDown() local
367 if (c == 0 || ic == null) { in translateKeyDown()
435 InputConnection ic = getCurrentInputConnection(); in onKeyDown() local
436 if (ic != null) { in onKeyDown()
439 ic.clearMetaKeyStates(KeyEvent.META_ALT_ON); in onKeyDown()
582 InputConnection ic = getCurrentInputConnection(); in onText() local
583 if (ic == null) return; in onText()
[all …]
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java208 final InputConnection ic = super.onCreateInputConnection(editorInfo); in createEditTextWithContentMimeTypes()
219 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); in createEditTextWithContentMimeTypes()
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/
DImageKeyboard.java70 final InputConnection ic = getCurrentInputConnection(); in isCommitContentSupported() local
71 if (ic == null) { in isCommitContentSupported()