Home
last modified time | relevance | path

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

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionWrapperTest.java121 wrapper.getTextAfterCursor(5, 0); in testInputConnectionWrapper()
122 verify(inputConnection, times(1)).getTextAfterCursor(5, 0); in testInputConnectionWrapper()
199 expectThrows(IllegalArgumentException.class, ()-> wrapper.getTextAfterCursor(-1, 0)); in testInvalidGetTextBeforeOrAfterCursorRequest()
203 expectThrows(IllegalArgumentException.class, ()-> wrapper.getTextAfterCursor(-1, 0)); in testInvalidGetTextBeforeOrAfterCursorRequest()
DBaseInputConnectionTest.java148 assertEquals(expected.toString(), connection.getTextAfterCursor(offLength, in testOpTextMethods()
570 assertEquals("", connection.getTextAfterCursor(0, 0).toString()); in testInvalidGetTextBeforeOrAfterCursorRequest()
571 assertEquals("", connection.getTextAfterCursor( in testInvalidGetTextBeforeOrAfterCursorRequest()
573 assertEquals("", connection.getTextAfterCursor(100, 0).toString()); in testInvalidGetTextBeforeOrAfterCursorRequest()
574 assertEquals("", connection.getTextAfterCursor( in testInvalidGetTextBeforeOrAfterCursorRequest()
576 expectThrows(IllegalArgumentException.class, ()-> connection.getTextAfterCursor(-1, 0)); in testInvalidGetTextBeforeOrAfterCursorRequest()
698 assertTrue(TextUtils.isEmpty(ic.getTextAfterCursor(TEXT_LENGTH_TO_RETRIEVAL, 0))); in verifyTextAndSelection()
704 ic.getTextAfterCursor(TEXT_LENGTH_TO_RETRIEVAL, 0).toString()); in verifyTextAndSelection()
DInputConnectionDefaultMethodTest.java75 when(mMockInputConnection.getTextAfterCursor(anyInt(), anyInt())).thenReturn("bc"); in getSurroundingText_mockInputConnection()
195 assertThat(testInputConnection.getTextAfterCursor(100, 0).toString()).isEqualTo("3456789"); in replaceText_baseInputConnection()
215 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in InputConnectionDefaultMethodTest.TestInputConnection
216 return mDelegate.getTextAfterCursor(n, flags); in getTextAfterCursor()
DInputConnectionEndToEndTest.java682 public CharSequence getTextAfterCursor(int n, int flags) { in testGetTextAfterCursor() method in InputConnectionEndToEndTest.Wrapper
719 public CharSequence getTextAfterCursor(int n, int flags) { in testGetTextAfterCursorFailWithNegativeLength() method in InputConnectionEndToEndTest.Wrapper
758 public CharSequence getTextAfterCursor(int n, int flags) { in testGetTextAfterCursorFailWithTimeout() method in InputConnectionEndToEndTest.Wrapper
797 public CharSequence getTextAfterCursor(int n, int flags) { in testGetTextAfterCursorFailFastAfterUnbindInput() method in InputConnectionEndToEndTest.Wrapper
/cts/tests/inputmethod/legacyimeclienttestlib/src/com/android/cts/inputmethod/
DLegacyImeClientTestUtils.java52 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in LegacyImeClientTestUtils.MinimallyImplementedNoOpInputConnection
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DNoOpInputConnection.java42 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in NoOpInputConnection
DInputConnectionSplitter.java53 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in InputConnectionSplitter
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DNoOpInputConnection.java42 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in NoOpInputConnection
DHandlerInputConnection.java52 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in HandlerInputConnection
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java235 return getMemorizedOrCurrentInputConnection().getTextAfterCursor(n, flag); in onHandleCommand()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt55893 method @Nullable public CharSequence getTextAfterCursor(@IntRange(from=0) int, int);
56204 method @Nullable public CharSequence getTextAfterCursor(@IntRange(from=0) int, int);
56262 method @Nullable public CharSequence getTextAfterCursor(@IntRange(from=0) int, int);