/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionWrapperTest.java | 121 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()
|
D | BaseInputConnectionTest.java | 148 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()
|
D | InputConnectionDefaultMethodTest.java | 75 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()
|
D | InputConnectionEndToEndTest.java | 682 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/ |
D | LegacyImeClientTestUtils.java | 52 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in LegacyImeClientTestUtils.MinimallyImplementedNoOpInputConnection
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | NoOpInputConnection.java | 42 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in NoOpInputConnection
|
D | InputConnectionSplitter.java | 53 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in InputConnectionSplitter
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | NoOpInputConnection.java | 42 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in NoOpInputConnection
|
D | HandlerInputConnection.java | 52 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() method in HandlerInputConnection
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 235 return getMemorizedOrCurrentInputConnection().getTextAfterCursor(n, flag); in onHandleCommand()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 55893 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);
|