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.java69 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()
DBaseInputConnection.java195 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 …]
DInputConnection.java403 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/
DIInputContext.aidl44 void setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument
48 void commitText(CharSequence text, int newCursorPosition); in commitText() argument
DInputConnectionWrapper.java287 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()
DIInputConnectionWrapper.java114 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/
DEditableInputConnection.java173 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/
DAbsListView.java5744 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()
DEditor.java3093 final int newCursorPosition = spanEnd + lengthDifference; in onItemClick() local
3094 mTextView.setCursorPosition_internal(newCursorPosition, newCursorPosition); in onItemClick()
/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()