Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionWrapper.java141 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
142 return mTarget.setComposingText(text, newCursorPosition); in setComposingText()
168 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
169 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.java457 boolean setComposingText(CharSequence text, int newCursorPosition); in setComposingText() argument
545 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()
177 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.java374 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
376 mIInputContext.commitText(text, newCursorPosition); in commitText()
463 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
465 mIInputContext.setComposingText(text, newCursorPosition); in setComposingText()
DIInputConnectionWrapper.java136 public void commitText(CharSequence text, int newCursorPosition) { in commitText() argument
137 dispatchMessage(obtainMessageIO(DO_COMMIT_TEXT, newCursorPosition, text)); in commitText()
164 public void setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
165 dispatchMessage(obtainMessageIO(DO_SET_COMPOSING_TEXT, newCursorPosition, text)); in setComposingText()
/frameworks/base/core/java/android/widget/
DAbsListView.java6038 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
6039 return getTarget().setComposingText(text, newCursorPosition); in setComposingText()
6053 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
6054 return getTarget().commitText(text, newCursorPosition); in commitText()
DEditor.java2931 final int newCursorPosition = spanEnd + lengthDelta; in replaceWithSuggestion() local
2932 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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...