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.java164 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()
DBaseInputConnection.java217 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 …]
DInputConnection.java547 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/
DIInputContext.aidl49 void setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument
53 void commitText(CharSequence text, int newCursorPosition); in commitText() argument
DInputConnectionWrapper.java264 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()
DIInputConnectionWrapper.java237 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/
DEditableInputConnection.java199 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/
DAbsListView.java6107 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()
DEditor.java3163 final int newCursorPosition = spanEnd + lengthDelta; in replaceWithSuggestion() local
3164 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()