Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DInputConnectionSplitter.java95 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
96 mForNotify.setComposingText(text, newCursorPosition); in setComposingText()
97 return super.setComposingText(text, newCursorPosition); in setComposingText()
102 int newCursorPosition, TextAttribute textAttribute) { in setComposingText() argument
103 mForNotify.setComposingText(text, newCursorPosition, textAttribute); in setComposingText()
104 return super.setComposingText(text, newCursorPosition, textAttribute); in setComposingText()
126 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
127 mForNotify.commitText(text, newCursorPosition); in commitText()
128 return super.commitText(text, newCursorPosition); in commitText()
132 public boolean commitText(CharSequence text, int newCursorPosition, in commitText() argument
[all …]
DNoOpInputConnection.java72 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
87 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DImeCommandReceiver.java43 void commandCommitText(CharSequence text, int newCursorPosition); in commandCommitText() argument
76 final int newCursorPosition = getInt1(intent); in onReceive() local
77 mIme.commandCommitText(text, newCursorPosition); in onReceive()
DCtsBaseInputMethod.java219 public void commandCommitText(CharSequence text, int newCursorPosition) { in commandCommitText() argument
222 ic.commitText(text, newCursorPosition); in commandCommitText()
/cts/tests/inputmethod/legacyimeclienttestlib/src/com/android/cts/inputmethod/
DLegacyImeClientTestUtils.java84 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
100 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DNoOpInputConnection.java74 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
89 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
DHandlerInputConnection.java87 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
102 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionDefaultMethodTest.java245 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText() argument
246 return mDelegate.setComposingText(text, newCursorPosition); in setComposingText()
260 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText() argument
261 return mDelegate.commitText(text, newCursorPosition); in commitText()
DInputConnectionEndToEndTest.java2943 public boolean commitText(CharSequence text, int newCursorPosition) {
2946 args.putInt("newCursorPosition", newCursorPosition);
2981 public boolean commitText(CharSequence text, int newCursorPosition) {
2984 args.putInt("newCursorPosition", newCursorPosition);
3037 CharSequence text, int newCursorPosition, TextAttribute textAttribute) {
3040 args.putInt("newCursorPosition", newCursorPosition);
3081 CharSequence text, int newCursorPosition, TextAttribute textAttribute) {
3084 args.putInt("newCursorPosition", newCursorPosition);
3142 CharSequence text, int newCursorPosition, TextAttribute textAttribute) {
3145 args.putInt("newCursorPosition", newCursorPosition);
[all …]
DInputMethodServiceTest.java783 int newCursorPosition = originalSelectionStart - newCursorOffset;
785 imeSession.callSetSelection(newCursorPosition, newCursorPosition);
798 assertEquals(newSelectionStart, newCursorPosition + firstCommitMsg.length());
799 assertEquals(newSelectionEnd, newCursorPosition + firstCommitMsg.length());
DBaseInputConnectionTest.java664 final int newCursorPosition, in verifyReplaceText() argument
669 assertTrue(ic.replaceText(start, end, text, newCursorPosition, null)); in verifyReplaceText()
DInputConnectionHandlerTest.java166 public boolean commitText(CharSequence text, int newCursorPosition) { in testCommitText() argument
169 return super.commitText(text, newCursorPosition); in testCommitText()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java853 public ImeCommand callSetComposingText(@Nullable CharSequence text, int newCursorPosition) { in callSetComposingText() argument
856 params.putInt("newCursorPosition", newCursorPosition); in callSetComposingText()
883 public ImeCommand callSetComposingText(@Nullable CharSequence text, int newCursorPosition, in callSetComposingText() argument
887 params.putInt("newCursorPosition", newCursorPosition); in callSetComposingText()
989 public ImeCommand callCommitText(@Nullable CharSequence text, int newCursorPosition) { in callCommitText() argument
992 params.putInt("newCursorPosition", newCursorPosition); in callCommitText()
1017 public ImeCommand callCommitText(@Nullable CharSequence text, int newCursorPosition, in callCommitText() argument
1021 params.putInt("newCursorPosition", newCursorPosition); in callCommitText()
1574 int newCursorPosition, in callReplaceText() argument
1580 params.putInt("newCursorPosition", newCursorPosition); in callReplaceText()
DMockIme.java273 final int newCursorPosition = in onHandleCommand()
276 text, newCursorPosition); in onHandleCommand()
280 final int newCursorPosition = in onHandleCommand()
285 .setComposingText(text, newCursorPosition, textAttribute); in onHandleCommand()
305 final int newCursorPosition = in onHandleCommand()
308 newCursorPosition); in onHandleCommand()
312 final int newCursorPosition = in onHandleCommand()
317 .commitText(text, newCursorPosition, textAttribute); in onHandleCommand()
453 final int newCursorPosition = in onHandleCommand()
458 .replaceText(start, end, text, newCursorPosition, textAttribute); in onHandleCommand()
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/
DMockA11yImeSession.java418 public MockA11yImeCommand callCommitText(@Nullable CharSequence text, int newCursorPosition, in callCommitText() argument
422 params.putInt("newCursorPosition", newCursorPosition); in callCommitText()
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/
DMockA11yIme.java252 final int newCursorPosition = in onHandleCommand()
257 text, newCursorPosition, textAttribute); in onHandleCommand()