HomeSort by relevance Sort by last modified time
    Searched refs:newCursorPosition (Results 1 - 23 of 23) sorted by null

  /frameworks/base/core/java/android/view/inputmethod/
InputConnection.java 359 * <code>newCursorPosition</code>.</p>
392 * @param newCursorPosition The new cursor position around the text. If
403 public boolean setComposingText(CharSequence text, int newCursorPosition);
461 * moves the cursor according to {@code newCursorPosition}. If there
465 * {@link #setComposingText(CharSequence, int) setComposingText(text, newCursorPosition)}
478 * @param newCursorPosition The new cursor position around the text,
490 public boolean commitText(CharSequence text, int newCursorPosition);
    [all...]
InputConnectionWrapper.java 69 public boolean setComposingText(CharSequence text, int newCursorPosition) {
70 return mTarget.setComposingText(text, newCursorPosition);
81 public boolean commitText(CharSequence text, int newCursorPosition) {
82 return mTarget.commitText(text, newCursorPosition);
BaseInputConnection.java 195 public boolean commitText(CharSequence text, int newCursorPosition) {
197 replaceText(text, newCursorPosition, false);
435 public boolean setComposingText(CharSequence text, int newCursorPosition) {
437 replaceText(text, newCursorPosition, true);
596 private void replaceText(CharSequence text, int newCursorPosition,
665 if (newCursorPosition > 0) {
666 newCursorPosition += b - 1;
668 newCursorPosition += a;
670 if (newCursorPosition < 0) newCursorPosition = 0
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
IInputContext.aidl 44 void setComposingText(CharSequence text, int newCursorPosition);
48 void commitText(CharSequence text, int newCursorPosition);
InputConnectionWrapper.java 273 public boolean commitText(CharSequence text, int newCursorPosition) {
275 mIInputContext.commitText(text, newCursorPosition);
336 public boolean setComposingText(CharSequence text, int newCursorPosition) {
338 mIInputContext.setComposingText(text, newCursorPosition);
IInputConnectionWrapper.java 113 public void commitText(CharSequence text, int newCursorPosition) {
114 dispatchMessage(obtainMessageIO(DO_COMMIT_TEXT, newCursorPosition, text));
141 public void setComposingText(CharSequence text, int newCursorPosition) {
142 dispatchMessage(obtainMessageIO(DO_SET_COMPOSING_TEXT, newCursorPosition, text));
  /frameworks/base/core/java/com/android/internal/widget/
EditableInputConnection.java 172 public boolean commitText(CharSequence text, int newCursorPosition) {
174 return super.commitText(text, newCursorPosition);
183 boolean success = super.commitText(text, newCursorPosition);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
AdapterInputConnection.java 192 public boolean setComposingText(CharSequence text, int newCursorPosition) {
193 if (DEBUG) Log.w(TAG, "setComposingText [" + text + "] [" + newCursorPosition + "]");
194 super.setComposingText(text, newCursorPosition);
197 newCursorPosition, false);
204 public boolean commitText(CharSequence text, int newCursorPosition) {
205 if (DEBUG) Log.w(TAG, "commitText [" + text + "] [" + newCursorPosition + "]");
206 super.commitText(text, newCursorPosition);
209 newCursorPosition, text.length() > 0);
ImeAdapter.java 320 boolean checkCompositionQueueAndCallNative(String text, int newCursorPosition,
339 nativeSetComposingText(mNativeImeAdapterAndroid, text, newCursorPosition);
515 int newCursorPosition);
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
InputConnectionWrapperTest.java 132 public boolean commitText(CharSequence text, int newCursorPosition) {
202 public boolean setComposingText(CharSequence text, int newCursorPosition) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputConnection.java 153 * @param newCursorPosition The new position of the cursor, as received from the system.
159 public boolean resetCachesUponCursorMoveAndReturnSuccess(final int newCursorPosition,
161 mExpectedCursorPosition = newCursorPosition;
178 if (lengthOfTextBeforeCursor > newCursorPosition
180 && newCursorPosition < Constants.EDITOR_CONTENTS_CACHE_SIZE)) {
181 // newCursorPosition may be lying -- when rotating the device (probably a framework
183 // and if we got more than newCursorPosition says, then we know it was lying. In both
430 public void setComposingText(final CharSequence text, final int newCursorPosition) {
438 mIC.setComposingText(text, newCursorPosition);
440 ResearchLogger.richInputConnection_setComposingText(text, newCursorPosition);
    [all...]
LatinIME.java     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
ResearchLogger.java     [all...]
  /frameworks/base/core/java/android/widget/
AbsListView.java     [all...]
Editor.java     [all...]
  /frameworks/ex/common/java/com/android/ex/editstyledtext/
EditStyledText.java     [all...]
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/17/
android.jar 

Completed in 2125 milliseconds