/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/ |
D | EmojiEditTextHelper.java | 145 public InputConnection onCreateInputConnection(@Nullable final InputConnection inputConnection, in onCreateInputConnection() argument 147 if (inputConnection == null) return null; in onCreateInputConnection() 148 return mHelper.onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection() 187 InputConnection onCreateInputConnection(@NonNull InputConnection inputConnection, in onCreateInputConnection() argument 189 return inputConnection; in onCreateInputConnection() 232 InputConnection onCreateInputConnection(@NonNull final InputConnection inputConnection, in onCreateInputConnection() argument 234 if (inputConnection instanceof EmojiInputConnection) { in onCreateInputConnection() 235 return inputConnection; in onCreateInputConnection() 237 return new EmojiInputConnection(mEditText, inputConnection, outAttrs); in onCreateInputConnection()
|
D | EmojiInputConnection.java | 47 @NonNull final InputConnection inputConnection, in EmojiInputConnection() argument 49 super(inputConnection, false); in EmojiInputConnection()
|
D | EmojiEditText.java | 87 final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local 88 return getEmojiEditTextHelper().onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection()
|
D | EmojiExtractEditText.java | 95 final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local 96 return getEmojiEditTextHelper().onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection()
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
D | EmojiKeyboardTest.java | 75 final InputConnection inputConnection = KeyboardUtil.initTextViewForSimulatedIme( in testAppendWithSoftKeyboard() local 77 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, in testAppendWithSoftKeyboard() 91 final InputConnection inputConnection = KeyboardUtil.initTextViewForSimulatedIme( in testBackDeleteWithSoftKeyboard() local 93 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, string.toString()); in testBackDeleteWithSoftKeyboard() 102 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 1, 0); in testBackDeleteWithSoftKeyboard() 113 final InputConnection inputConnection = KeyboardUtil.initTextViewForSimulatedIme( in testForwardDeleteWithSoftKeyboard() local 115 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, string.toString()); in testForwardDeleteWithSoftKeyboard() 124 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 0, 1); in testForwardDeleteWithSoftKeyboard() 136 final InputConnection inputConnection = KeyboardUtil.initTextViewForSimulatedIme( in testBackDeleteWithHardwareKeyboard() local 138 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, string.toString()); in testBackDeleteWithHardwareKeyboard() [all …]
|
D | EmojiCompatTest.java | 828 final InputConnection inputConnection = mock(InputConnection.class); in testHandleDeleteSurroundingText_pre19() local 834 reset(inputConnection); in testHandleDeleteSurroundingText_pre19() 836 verifyNoMoreInteractions(inputConnection); in testHandleDeleteSurroundingText_pre19() 839 assertFalse(EmojiCompat.handleDeleteSurroundingText(inputConnection, editable, in testHandleDeleteSurroundingText_pre19()
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/ |
D | KeyboardUtil.java | 78 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/support/emoji/core/src/androidTest/java/androidx/emoji/widget/ |
D | EmojiEditTextHelperPre19Test.java | 65 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection(param, in testGetOnCreateInputConnection_returnsSameInputConnection() local 68 assertSame(param, inputConnection); in testGetOnCreateInputConnection_returnsSameInputConnection() 74 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection(param, in testGetOnCreateInputConnection_withNullAttrs_returnsSameInputConnection() local 77 assertSame(param, inputConnection); in testGetOnCreateInputConnection_withNullAttrs_returnsSameInputConnection() 82 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection(null, in testGetOnCreateInputConnection_withNullInputConnection_returnsNull() local 84 assertNull(inputConnection); in testGetOnCreateInputConnection_withNullInputConnection_returnsNull()
|
D | EmojiEditTextHelperTest.java | 83 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection( in testGetOnCreateInputConnection_withNullAttrs_returnsInputConnection() local 85 assertNotNull(inputConnection); in testGetOnCreateInputConnection_withNullAttrs_returnsInputConnection() 86 assertThat(inputConnection, instanceOf(EmojiInputConnection.class)); in testGetOnCreateInputConnection_withNullAttrs_returnsInputConnection() 91 InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection(null, in testGetOnCreateInputConnection_withNullInputConnection_returnsNull() local 93 assertNull(inputConnection); in testGetOnCreateInputConnection_withNullInputConnection_returnsNull() 98 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection( in testGetOnCreateInputConnection_returnsEmojiInputConnection() local 100 assertNotNull(inputConnection); in testGetOnCreateInputConnection_returnsEmojiInputConnection() 101 assertThat(inputConnection, instanceOf(EmojiInputConnection.class)); in testGetOnCreateInputConnection_returnsEmojiInputConnection()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethod.java | 137 public void startInput(InputConnection inputConnection, EditorInfo info); in startInput() argument 156 public void restartInput(InputConnection inputConnection, EditorInfo attribute); in restartInput() argument 187 default void dispatchStartInputWithToken(@Nullable InputConnection inputConnection, in dispatchStartInputWithToken() argument 191 restartInput(inputConnection, editorInfo); in dispatchStartInputWithToken() 193 startInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
|
/frameworks/support/compat/src/main/java/androidx/core/view/inputmethod/ |
D | InputConnectionCompat.java | 96 public static boolean commitContent(@NonNull InputConnection inputConnection, in commitContent() argument 112 return inputConnection.commitContent( in commitContent() 122 return inputConnection.performPrivateCommand(COMMIT_CONTENT_ACTION, params); in commitContent() 191 public static InputConnection createWrapper(@NonNull InputConnection inputConnection, in createWrapper() argument 194 if (inputConnection == null) { in createWrapper() 205 return new InputConnectionWrapper(inputConnection, false /* mutable */) { in createWrapper() 219 return inputConnection; in createWrapper() 222 return new InputConnectionWrapper(inputConnection, false /* mutable */) { in createWrapper()
|
/frameworks/support/emoji/appcompat/src/main/java/androidx/emoji/widget/ |
D | EmojiAppCompatEditText.java | 81 InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local 82 return getEmojiEditTextHelper().onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection()
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
D | RemoteInputView.java | 376 final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local 378 if (mShowImeOnInputConnection && inputConnection != null) { in onCreateInputConnection() 395 return inputConnection; in onCreateInputConnection()
|
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/ |
D | EmojiProcessor.java | 367 static boolean handleDeleteSurroundingText(@NonNull final InputConnection inputConnection, in handleDeleteSurroundingText() argument 371 if (editable == null || inputConnection == null) { in handleDeleteSurroundingText() 418 inputConnection.beginBatchEdit(); in handleDeleteSurroundingText() 420 inputConnection.endBatchEdit(); in handleDeleteSurroundingText()
|
D | EmojiCompat.java | 549 @NonNull final InputConnection inputConnection, @NonNull final Editable editable, 553 return EmojiProcessor.handleDeleteSurroundingText(inputConnection, editable,
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | AbstractInputMethodService.java | 251 @NonNull InputConnection inputConnection) { in exposeContent() argument
|
D | InputMethodService.java | 528 public void dispatchStartInputWithToken(@Nullable InputConnection inputConnection, in dispatchStartInputWithToken() argument 536 super.dispatchStartInputWithToken(inputConnection, editorInfo, restarting, in dispatchStartInputWithToken() 2838 @NonNull InputConnection inputConnection) { in exposeContent() argument 2839 if (inputConnection == null) { in exposeContent() 2842 if (getCurrentInputConnection() != inputConnection) { in exposeContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 587 final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local 589 if (mShowImeOnInputConnection && inputConnection != null) { in onCreateInputConnection() 605 return inputConnection; in onCreateInputConnection()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputConnectionWrapper.java | 89 public IInputConnectionWrapper(Looper mainLooper, @NonNull InputConnection inputConnection) { in IInputConnectionWrapper() argument 90 mInputConnection = inputConnection; in IInputConnectionWrapper()
|