/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 153 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 154 return mTarget.setComposingText(text, newCursorPosition); in setComposingText() 163 int newCursorPosition, @Nullable TextAttribute textAttribute) { in setComposingText() argument 164 return mTarget.setComposingText(text, newCursorPosition, textAttribute); in setComposingText() 199 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 200 return mTarget.commitText(text, newCursorPosition); in commitText() 208 public boolean commitText(@NonNull CharSequence text, int newCursorPosition, in commitText() argument 210 return mTarget.commitText(text, newCursorPosition, textAttribute); in commitText()
|
D | InputConnection.java | 545 boolean setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument 569 default boolean setComposingText(@NonNull CharSequence text, int newCursorPosition, in setComposingText() argument 571 return setComposingText(text, newCursorPosition); in setComposingText() 677 boolean commitText(CharSequence text, int newCursorPosition); in commitText() argument 696 default boolean commitText(@NonNull CharSequence text, int newCursorPosition, in commitText() argument 698 return commitText(text, newCursorPosition); in commitText()
|
D | BaseInputConnection.java | 217 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 219 replaceText(text, newCursorPosition, false); in commitText() 710 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 712 replaceText(text, newCursorPosition, true); in setComposingText() 862 private void replaceText(CharSequence text, int newCursorPosition, in replaceText() argument 931 if (newCursorPosition > 0) { in replaceText() 932 newCursorPosition += b - 1; in replaceText() 934 newCursorPosition += a; in replaceText() 936 if (newCursorPosition < 0) newCursorPosition = 0; in replaceText() 937 if (newCursorPosition > content.length()) in replaceText() [all …]
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | IInputContextInvoker.java | 231 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 233 mIInputContext.commitText(createHeader(), text, newCursorPosition); in commitText() local 251 public boolean commitText(CharSequence text, int newCursorPosition, in commitText() argument 255 createHeader(), text, newCursorPosition, textAttribute); in commitText() local 397 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 399 mIInputContext.setComposingText(createHeader(), text, newCursorPosition); in setComposingText() local 417 public boolean setComposingText(CharSequence text, int newCursorPosition, in setComposingText() argument 421 createHeader(), text, newCursorPosition, textAttribute); in setComposingText() local
|
D | RemoteAccessibilityInputConnection.java | 89 public void commitText(@NonNull CharSequence text, int newCursorPosition, in commitText() argument 91 mInvoker.commitText(text, newCursorPosition, textAttribute); in commitText()
|
D | EditableInputConnection.java | 196 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 198 return super.commitText(text, newCursorPosition); in commitText() 201 boolean success = super.commitText(text, newCursorPosition); in commitText()
|
D | IRemoteAccessibilityInputConnectionInvoker.java | 94 public void commitText(CharSequence text, int newCursorPosition, in commitText() argument 97 mConnection.commitText(createHeader(), text, newCursorPosition, textAttribute); in commitText() local
|
D | RemoteInputConnectionImpl.java | 559 int newCursorPosition) { in commitText() argument 569 ic.commitText(text, newCursorPosition); in commitText() 576 int newCursorPosition, @Nullable TextAttribute textAttribute) { in commitTextWithTextAttribute() argument 586 ic.commitText(text, newCursorPosition, textAttribute); in commitTextWithTextAttribute() 714 int newCursorPosition) { in setComposingText() argument 724 ic.setComposingText(text, newCursorPosition); in setComposingText() 731 CharSequence text, int newCursorPosition, @Nullable TextAttribute textAttribute) { in setComposingTextWithTextAttribute() argument 741 ic.setComposingText(text, newCursorPosition, textAttribute); in setComposingTextWithTextAttribute() 1058 int newCursorPosition, @Nullable TextAttribute textAttribute) { 1071 ic.commitText(text, newCursorPosition, textAttribute);
|
D | IRemoteAccessibilityInputConnection.aidl | 31 int newCursorPosition, in TextAttribute textAttribute); in commitText() argument
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputContext.aidl | 54 int newCursorPosition); in setComposingText() argument 57 CharSequence text, int newCursorPosition, in TextAttribute textAttribute); in setComposingTextWithTextAttribute() argument 62 int newCursorPosition); in commitText() argument 65 int newCursorPosition, in TextAttribute textAttribute); in commitTextWithTextAttribute() argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | RemoteInputConnection.java | 278 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 279 final boolean handled = mInvoker.commitText(text, newCursorPosition); in commitText() 287 public boolean commitText(@NonNull CharSequence text, int newCursorPosition, in commitText() argument 290 mInvoker.commitText(text, newCursorPosition, textAttribute); in commitText() 342 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 343 final boolean handled = mInvoker.setComposingText(text, newCursorPosition); in setComposingText() 351 public boolean setComposingText(CharSequence text, int newCursorPosition, in setComposingText() argument 353 final boolean handled = mInvoker.setComposingText(text, newCursorPosition, textAttribute); in setComposingText()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | InputMethod.java | 234 public void commitText(@NonNull CharSequence text, int newCursorPosition, in commitText() argument 237 mIc.commitText(text, newCursorPosition, textAttribute); in commitText()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewInputConnectionTest.java | 472 public boolean setComposingText(CharSequence text, int newCursorPosition) { 487 public boolean commitText(CharSequence text, int newCursorPosition) {
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 6186 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 6187 return getTarget().setComposingText(text, newCursorPosition); in setComposingText() 6201 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 6202 return getTarget().commitText(text, newCursorPosition); in commitText()
|
D | Editor.java | 3217 final int newCursorPosition = spanEnd + lengthDelta; in replaceWithSuggestion() local 3218 mTextView.setCursorPosition_internal(newCursorPosition, newCursorPosition); in replaceWithSuggestion()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 2482 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 2487 return super.commitText(text, newCursorPosition); in commitText()
|