/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 164 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 165 return mTarget.setComposingText(text, newCursorPosition); in setComposingText() 191 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 192 return mTarget.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 …]
|
D | InputConnection.java | 547 boolean setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument 635 boolean commitText(CharSequence text, int newCursorPosition); in commitText() argument
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputContext.aidl | 49 void setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument 53 void commitText(CharSequence text, int newCursorPosition); in commitText() argument
|
D | InputConnectionWrapper.java | 264 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 266 mIInputContext.commitText(text, newCursorPosition); in commitText() 353 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 355 mIInputContext.setComposingText(text, newCursorPosition); in setComposingText()
|
D | IInputConnectionWrapper.java | 237 public void commitText(CharSequence text, int newCursorPosition) { in commitText() argument 238 dispatchMessage(obtainMessageIO(DO_COMMIT_TEXT, newCursorPosition, text)); in commitText() 265 public void setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 266 dispatchMessage(obtainMessageIO(DO_SET_COMPOSING_TEXT, newCursorPosition, text)); in setComposingText()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EditableInputConnection.java | 199 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 201 return super.commitText(text, newCursorPosition); in commitText() 204 boolean success = super.commitText(text, newCursorPosition); in commitText()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 6107 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 6108 return getTarget().setComposingText(text, newCursorPosition); in setComposingText() 6122 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 6123 return getTarget().commitText(text, newCursorPosition); in commitText()
|
D | Editor.java | 3163 final int newCursorPosition = spanEnd + lengthDelta; in replaceWithSuggestion() local 3164 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()
|