/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 69 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 70 return mTarget.setComposingText(text, newCursorPosition); in setComposingText() 81 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 82 return mTarget.commitText(text, newCursorPosition); in commitText()
|
D | BaseInputConnection.java | 195 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 197 replaceText(text, newCursorPosition, false); in commitText() 443 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 445 replaceText(text, newCursorPosition, true); in setComposingText() 606 private void replaceText(CharSequence text, int newCursorPosition, in replaceText() argument 675 if (newCursorPosition > 0) { in replaceText() 676 newCursorPosition += b - 1; in replaceText() 678 newCursorPosition += a; in replaceText() 680 if (newCursorPosition < 0) newCursorPosition = 0; in replaceText() 681 if (newCursorPosition > content.length()) in replaceText() [all …]
|
D | InputConnection.java | 403 public boolean setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument 490 public boolean commitText(CharSequence text, int newCursorPosition); in commitText() argument
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputContext.aidl | 44 void setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument 48 void commitText(CharSequence text, int newCursorPosition); in commitText() argument
|
D | InputConnectionWrapper.java | 287 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 289 mIInputContext.commitText(text, newCursorPosition); in commitText() 350 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 352 mIInputContext.setComposingText(text, newCursorPosition); in setComposingText()
|
D | IInputConnectionWrapper.java | 114 public void commitText(CharSequence text, int newCursorPosition) { in commitText() argument 115 dispatchMessage(obtainMessageIO(DO_COMMIT_TEXT, newCursorPosition, text)); in commitText() 142 public void setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 143 dispatchMessage(obtainMessageIO(DO_SET_COMPOSING_TEXT, newCursorPosition, text)); in setComposingText()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EditableInputConnection.java | 173 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 175 return super.commitText(text, newCursorPosition); in commitText() 184 boolean success = super.commitText(text, newCursorPosition); in commitText()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 5744 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 5745 return getTarget().setComposingText(text, newCursorPosition); in setComposingText() 5759 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 5760 return getTarget().commitText(text, newCursorPosition); in commitText()
|
D | Editor.java | 3093 final int newCursorPosition = spanEnd + lengthDifference; in onItemClick() local 3094 mTextView.setCursorPosition_internal(newCursorPosition, newCursorPosition); in onItemClick()
|
/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()
|