Searched defs:newCursorPosition (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DEditableInputConnection.java114 public boolean commitText(CharSequence text, int newCursorPosition) { argument
116 return super.commitText(text, newCursorPosition);
120 boolean success = super.commitText(text, newCursorPosition);
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java178 public boolean commitText(CharSequence text, int newCursorPosition) { argument
180 replaceText(text, newCursorPosition, false);
413 public boolean setComposingText(CharSequence text, int newCursorPosition) { argument
415 replaceText(text, newCursorPosition, true);
575 private void replaceText(CharSequence text, int newCursorPosition, argument
644 if (newCursorPosition > 0) {
645 newCursorPosition += b - 1;
647 newCursorPosition += a;
649 if (newCursorPosition < 0) newCursorPosition
[all...]
H A DInputConnection.java165 * @param newCursorPosition The new cursor position around the text. If
177 public boolean setComposingText(CharSequence text, int newCursorPosition); argument
205 * @param newCursorPosition The new cursor position around the text. If
218 public boolean commitText(CharSequence text, int newCursorPosition); argument
H A DInputConnectionWrapper.java70 public boolean setComposingText(CharSequence text, int newCursorPosition) { argument
71 return mTarget.setComposingText(text, newCursorPosition);
82 public boolean commitText(CharSequence text, int newCursorPosition) { argument
83 return mTarget.commitText(text, newCursorPosition);
/frameworks/base/core/java/com/android/internal/view/
H A DInputConnectionWrapper.java272 public boolean commitText(CharSequence text, int newCursorPosition) { argument
274 mIInputContext.commitText(text, newCursorPosition);
326 public boolean setComposingText(CharSequence text, int newCursorPosition) { argument
328 mIInputContext.setComposingText(text, newCursorPosition);
H A DIInputConnectionWrapper.java111 public void commitText(CharSequence text, int newCursorPosition) { argument
112 dispatchMessage(obtainMessageIO(DO_COMMIT_TEXT, newCursorPosition, text));
135 public void setComposingText(CharSequence text, int newCursorPosition) { argument
136 dispatchMessage(obtainMessageIO(DO_SET_COMPOSING_TEXT, newCursorPosition, text));

Completed in 25 milliseconds