/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 133 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 134 return mTarget.setComposingText(text, newCursorPosition); in setComposingText() 157 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 158 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() 614 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 616 replaceText(text, newCursorPosition, true); in setComposingText() 764 private void replaceText(CharSequence text, int newCursorPosition, in replaceText() argument 833 if (newCursorPosition > 0) { in replaceText() 834 newCursorPosition += b - 1; in replaceText() 836 newCursorPosition += a; in replaceText() 838 if (newCursorPosition < 0) newCursorPosition = 0; in replaceText() 839 if (newCursorPosition > content.length()) in replaceText() [all …]
|
D | InputConnection.java | 458 public boolean setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument 546 public boolean commitText(CharSequence text, int newCursorPosition); in commitText() argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EditableInputConnection.java | 172 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 174 return super.commitText(text, newCursorPosition); in commitText() 183 boolean success = super.commitText(text, newCursorPosition); in commitText()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputContext.aidl | 46 void setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument 50 void commitText(CharSequence text, int newCursorPosition); in commitText() argument
|
D | InputConnectionWrapper.java | 322 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 324 mIInputContext.commitText(text, newCursorPosition); in commitText() 393 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 395 mIInputContext.setComposingText(text, newCursorPosition); in setComposingText()
|
D | IInputConnectionWrapper.java | 138 public void commitText(CharSequence text, int newCursorPosition) { in commitText() argument 139 dispatchMessage(obtainMessageIO(DO_COMMIT_TEXT, newCursorPosition, text)); in commitText() 166 public void setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 167 dispatchMessage(obtainMessageIO(DO_SET_COMPOSING_TEXT, newCursorPosition, text)); in setComposingText()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 5946 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument 5947 return getTarget().setComposingText(text, newCursorPosition); in setComposingText() 5961 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument 5962 return getTarget().commitText(text, newCursorPosition); in commitText()
|
D | Editor.java | 2769 final int newCursorPosition = spanEnd + lengthDelta; in replaceWithSuggestion() local 2770 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()
|