Home
last modified time | relevance | path

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

/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
DEmojiEditTextHelper.java142 public InputConnection onCreateInputConnection(@NonNull final InputConnection inputConnection, in onCreateInputConnection() argument
144 Preconditions.checkNotNull(inputConnection, "inputConnection cannot be null"); in onCreateInputConnection()
145 return mHelper.onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection()
184 InputConnection onCreateInputConnection(@NonNull InputConnection inputConnection, in onCreateInputConnection() argument
186 return inputConnection; in onCreateInputConnection()
229 InputConnection onCreateInputConnection(@NonNull final InputConnection inputConnection, in onCreateInputConnection() argument
231 if (inputConnection instanceof EmojiInputConnection) { in onCreateInputConnection()
232 return inputConnection; in onCreateInputConnection()
234 return new EmojiInputConnection(mEditText, inputConnection, outAttrs); in onCreateInputConnection()
DEmojiInputConnection.java46 @NonNull final InputConnection inputConnection, in EmojiInputConnection() argument
48 super(inputConnection, false); in EmojiInputConnection()
DEmojiEditText.java82 final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local
83 return getEmojiEditTextHelper().onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection()
DEmojiExtractEditText.java90 final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local
91 return getEmojiEditTextHelper().onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection()
/frameworks/support/v13/java/android/support/v13/view/inputmethod/
DInputConnectionCompat.java40 boolean commitContent(@NonNull InputConnection inputConnection, in commitContent() argument
66 public boolean commitContent(@NonNull InputConnection inputConnection, in commitContent() argument
76 return inputConnection.performPrivateCommand(COMMIT_CONTENT_ACTION, params); in commitContent()
137 public boolean commitContent(@NonNull InputConnection inputConnection,
140 return inputConnection.commitContent((InputContentInfo) inputContentInfo.unwrap(),
147 @Nullable InputConnection inputConnection, @NonNull EditorInfo editorInfo,
150 return new InputConnectionWrapper(inputConnection, false /* mutable */) {
184 public static boolean commitContent(@NonNull InputConnection inputConnection,
199 return IMPL.commitContent(inputConnection, inputContentInfo, flags, opts);
267 public static InputConnection createWrapper(@NonNull InputConnection inputConnection,
[all …]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DEmojiKeyboardTest.java74 final InputConnection inputConnection = KeyboardUtil.initTextViewForSimulatedIme( in testAppendWithSoftKeyboard() local
76 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, in testAppendWithSoftKeyboard()
90 final InputConnection inputConnection = KeyboardUtil.initTextViewForSimulatedIme( in testBackDeleteWithSoftKeyboard() local
92 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, string.toString()); in testBackDeleteWithSoftKeyboard()
101 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 1, 0); in testBackDeleteWithSoftKeyboard()
112 final InputConnection inputConnection = KeyboardUtil.initTextViewForSimulatedIme( in testForwardDeleteWithSoftKeyboard() local
114 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, string.toString()); in testForwardDeleteWithSoftKeyboard()
123 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 0, 1); in testForwardDeleteWithSoftKeyboard()
135 final InputConnection inputConnection = KeyboardUtil.initTextViewForSimulatedIme( in testBackDeleteWithHardwareKeyboard() local
137 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, string.toString()); in testBackDeleteWithHardwareKeyboard()
[all …]
DEmojiCompatTest.java703 final InputConnection inputConnection = mock(InputConnection.class); in testHandleDeleteSurroundingText_pre19() local
709 reset(inputConnection); in testHandleDeleteSurroundingText_pre19()
711 verifyNoMoreInteractions(inputConnection); in testHandleDeleteSurroundingText_pre19()
714 assertFalse(EmojiCompat.handleDeleteSurroundingText(inputConnection, editable, in testHandleDeleteSurroundingText_pre19()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
DKeyboardUtil.java78 final InputConnection inputConnection, final CharSequence text) in setComposingTextInBatch() argument
84 inputConnection.beginBatchEdit(); in setComposingTextInBatch()
85 inputConnection.setComposingText(text, 1); in setComposingTextInBatch()
86 inputConnection.endBatchEdit(); in setComposingTextInBatch()
96 final InputConnection inputConnection, final int before, final int after) in deleteSurroundingText() argument
102 inputConnection.beginBatchEdit(); in deleteSurroundingText()
103 inputConnection.deleteSurroundingText(before, after); in deleteSurroundingText()
104 inputConnection.endBatchEdit(); in deleteSurroundingText()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java132 public void startInput(InputConnection inputConnection, EditorInfo info); in startInput() argument
150 public void restartInput(InputConnection inputConnection, EditorInfo attribute); in restartInput() argument
180 default void dispatchStartInputWithToken(@Nullable InputConnection inputConnection, in dispatchStartInputWithToken() argument
184 restartInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
186 startInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DEmojiEditTextHelperPre19Test.java63 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection(param, in testGetOnCreateInputConnection_returnsSameInputConnection() local
66 assertSame(param, inputConnection); in testGetOnCreateInputConnection_returnsSameInputConnection()
DEmojiEditTextHelperTest.java86 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection( in testGetOnCreateInputConnection_returnsEmojiInputConnection() local
89 assertThat(inputConnection, instanceOf(EmojiInputConnection.class)); in testGetOnCreateInputConnection_returnsEmojiInputConnection()
/frameworks/support/emoji/appcompat/src/android/support/text/emoji/widget/
DEmojiAppCompatEditText.java76 InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local
77 return getEmojiEditTextHelper().onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection()
/frameworks/support/emoji/core/src/android/support/text/emoji/
DEmojiProcessor.java338 static boolean handleDeleteSurroundingText(@NonNull final InputConnection inputConnection, in handleDeleteSurroundingText() argument
342 if (editable == null || inputConnection == null) { in handleDeleteSurroundingText()
389 inputConnection.beginBatchEdit(); in handleDeleteSurroundingText()
391 inputConnection.endBatchEdit(); in handleDeleteSurroundingText()
DEmojiCompat.java461 @NonNull final InputConnection inputConnection, @NonNull final Editable editable,
465 return EmojiProcessor.handleDeleteSurroundingText(inputConnection, editable,
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java247 @NonNull InputConnection inputConnection) { in exposeContent() argument
DInputMethodService.java437 public void dispatchStartInputWithToken(@Nullable InputConnection inputConnection, in dispatchStartInputWithToken() argument
445 super.dispatchStartInputWithToken(inputConnection, editorInfo, restarting, in dispatchStartInputWithToken()
2648 @NonNull InputConnection inputConnection) { in exposeContent() argument
2649 if (inputConnection == null) { in exposeContent()
2652 if (getCurrentInputConnection() != inputConnection) { in exposeContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java582 final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local
584 if (mShowImeOnInputConnection && inputConnection != null) { in onCreateInputConnection()
600 return inputConnection; in onCreateInputConnection()
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java89 public IInputConnectionWrapper(Looper mainLooper, @NonNull InputConnection inputConnection) { in IInputConnectionWrapper() argument
90 mInputConnection = inputConnection; in IInputConnectionWrapper()