/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
D | EmojiEditTextHelper.java | 142 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()
|
D | EmojiInputConnection.java | 46 @NonNull final InputConnection inputConnection, in EmojiInputConnection() argument 48 super(inputConnection, false); in EmojiInputConnection()
|
D | EmojiEditText.java | 82 final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local 83 return getEmojiEditTextHelper().onCreateInputConnection(inputConnection, outAttrs); in onCreateInputConnection()
|
D | EmojiExtractEditText.java | 90 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/ |
D | InputConnectionCompat.java | 40 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/ |
D | EmojiKeyboardTest.java | 74 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 …]
|
D | EmojiCompatTest.java | 703 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/ |
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/base/core/java/android/view/inputmethod/ |
D | InputMethod.java | 132 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/ |
D | EmojiEditTextHelperPre19Test.java | 63 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection(param, in testGetOnCreateInputConnection_returnsSameInputConnection() local 66 assertSame(param, inputConnection); in testGetOnCreateInputConnection_returnsSameInputConnection()
|
D | EmojiEditTextHelperTest.java | 86 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/ |
D | EmojiAppCompatEditText.java | 76 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/ |
D | EmojiProcessor.java | 338 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()
|
D | EmojiCompat.java | 461 @NonNull final InputConnection inputConnection, @NonNull final Editable editable, 465 return EmojiProcessor.handleDeleteSurroundingText(inputConnection, editable,
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | AbstractInputMethodService.java | 247 @NonNull InputConnection inputConnection) { in exposeContent() argument
|
D | InputMethodService.java | 437 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/ |
D | RemoteInputView.java | 582 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/ |
D | IInputConnectionWrapper.java | 89 public IInputConnectionWrapper(Looper mainLooper, @NonNull InputConnection inputConnection) { in IInputConnectionWrapper() argument 90 mInputConnection = inputConnection; in IInputConnectionWrapper()
|