Home
last modified time | relevance | path

Searched refs:newCursorPosition (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionWrapper.java133 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()
DBaseInputConnection.java195 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 …]
DInputConnection.java458 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/
DEditableInputConnection.java172 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/
DIInputContext.aidl46 void setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument
50 void commitText(CharSequence text, int newCursorPosition); in commitText() argument
DInputConnectionWrapper.java322 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()
DIInputConnectionWrapper.java138 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/
DAbsListView.java5946 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()
DEditor.java2769 final int newCursorPosition = spanEnd + lengthDelta; in replaceWithSuggestion() local
2770 mTextView.setCursorPosition_internal(newCursorPosition, newCursorPosition); in replaceWithSuggestion()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2482 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
2487 return super.commitText(text, newCursorPosition); in commitText()