/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityInputConnectionTest.java | 43 import android.view.inputmethod.InputConnection; 87 private AtomicReference<InputConnection> mLastInputConnectionSpy = new AtomicReference<>(); 126 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in setUp() 127 final InputConnection ic = super.onCreateInputConnection(editorInfo); in setUp() 130 final InputConnection spy = Mockito.spy(new NoOpInputConnection()); in setUp() 153 private InputConnection resetAndGetLastInputConnectionSpy() { in resetAndGetLastInputConnectionSpy() 154 final InputConnection spy = mLastInputConnectionSpy.get(); in resetAndGetLastInputConnectionSpy() 162 final InputConnection spy = resetAndGetLastInputConnectionSpy(); in testCommitText() 172 final InputConnection spy = resetAndGetLastInputConnectionSpy(); in testSetSelection() 181 final InputConnection spy = resetAndGetLastInputConnectionSpy(); in testGetSurroundingText() [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputBindingTest.java | 30 import android.view.inputmethod.InputConnection; 54 InputConnection conn = mock(InputConnection.class); in testInputBinding() 78 InputConnection conn = mock(InputConnection.class); in testInputBindingConstructor() 91 InputConnection conn = mock(InputConnection.class); in testInputBindingCopyConstructor()
|
D | InputConnectionDefaultMethodTest.java | 19 import static android.view.inputmethod.InputConnection.HANDWRITING_GESTURE_RESULT_UNSUPPORTED; 38 import android.view.inputmethod.InputConnection; 60 @Mock private InputConnection mMockInputConnection; 80 mTestInputConnection.getSurroundingText(3, 2, InputConnection.GET_TEXT_WITH_STYLES); in getSurroundingText_mockInputConnection() 100 testInputConnection.getSurroundingText(3, 2, InputConnection.GET_TEXT_WITH_STYLES); in getSurroundingText_baseInputConnection() 148 InputConnection.CURSOR_UPDATE_FILTER_EDITOR_BOUNDS, in requestCursorUpdates() 149 InputConnection.CURSOR_UPDATE_FILTER_CHARACTER_BOUNDS, in requestCursorUpdates() 150 InputConnection.CURSOR_UPDATE_FILTER_INSERTION_MARKER, in requestCursorUpdates() 151 InputConnection.CURSOR_UPDATE_FILTER_VISIBLE_LINE_BOUNDS in requestCursorUpdates() 158 InputConnection.CURSOR_UPDATE_IMMEDIATE, filter)) in requestCursorUpdates() [all …]
|
D | InputConnectionEndToEndTest.java | 20 import static android.view.inputmethod.InputConnection.HANDWRITING_GESTURE_RESULT_SUCCESS; 68 import android.view.inputmethod.InputConnection; 386 Function<InputConnection, InputConnection> inputConnectionWrapperProvider, in testInputConnection() argument 402 Function<InputConnection, InputConnection> inputConnectionWrapperProvider, in testInputConnection() argument 419 Function<InputConnection, InputConnection> inputConnectionWrapperProvider, in testA11yInputConnection() argument 439 Function<InputConnection, InputConnection> inputConnectionWrapperProvider, in testA11yInputConnection() argument 494 Function<InputConnection, InputConnection> inputConnectionWrapperProvider, in testInputConnection() argument 517 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testInputConnection() 519 final InputConnection ic = super.onCreateInputConnection(outAttrs); in testInputConnection() 557 Function<InputConnection, InputConnection> inputConnectionWrapperProvider, in testInputConnection() argument [all …]
|
D | InputConnectionWrapperTest.java | 45 import android.view.inputmethod.InputConnection; 66 InputConnection inputConnection = mock(InputConnection.class); in testInputConnectionWrapper() 158 wrapper.requestCursorUpdates(InputConnection.CURSOR_UPDATE_IMMEDIATE); in testInputConnectionWrapper() 160 .requestCursorUpdates(InputConnection.CURSOR_UPDATE_IMMEDIATE); in testInputConnectionWrapper() 183 final InputConnection ic = mock(InputConnection.class); in testTakeSnapshot() 194 InputConnection inputConnection = mock(InputConnection.class); in testInvalidGetTextBeforeOrAfterCursorRequest()
|
D | EditorInfoTest.java | 43 import android.view.inputmethod.InputConnection; 389 InputConnection.GET_TEXT_WITH_STYLES))); in testInitialSurroundingSubText_keepsOriginalCursorPosition() 391 info.getInitialSelectedText(InputConnection.GET_TEXT_WITH_STYLES))); in testInitialSurroundingSubText_keepsOriginalCursorPosition() 394 InputConnection.GET_TEXT_WITH_STYLES))); in testInitialSurroundingSubText_keepsOriginalCursorPosition() 398 InputConnection.GET_TEXT_WITH_STYLES); in testInitialSurroundingSubText_keepsOriginalCursorPosition() 412 InputConnection.GET_TEXT_WITH_STYLES); in assertExpectedTextLength() 414 editorInfo.getInitialSelectedText(InputConnection.GET_TEXT_WITH_STYLES); in assertExpectedTextLength() 417 InputConnection.GET_TEXT_WITH_STYLES); in assertExpectedTextLength() 421 InputConnection.GET_TEXT_WITH_STYLES); in assertExpectedTextLength() 473 InputConnection.GET_TEXT_WITH_STYLES)); in concatInitialSurroundingText() [all …]
|
D | ExtractedTextRequestTest.java | 25 import android.view.inputmethod.InputConnection; 41 private static final int EXPECTED_FLAGS = InputConnection.GET_TEXT_WITH_STYLES;
|
D | InputConnectionLifecycleTest.java | 35 import android.view.inputmethod.InputConnection; 125 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testCloseConnectionWithRestartInput() 204 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testCloseConnectionWithLosingViewFocus() 281 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testCloseConnectionWithLosingWindowFocus()
|
D | InputConnectionHandlerTest.java | 47 import android.view.inputmethod.InputConnection; 190 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testCommitText() 257 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testCloseConnectionWithRestartInput() 336 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testCloseConnectionWithLosingViewFocus() 412 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testCloseConnectionWithLosingWindowFocus() 498 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testReportFullscreenMode() 603 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testInputConnectionSideEffect() 763 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testExceptionFromGetSurroundingText()
|
D | InputMethodServiceTest.java | 77 import android.view.inputmethod.InputConnection; 483 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { 555 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { 556 final InputConnection original = super.onCreateInputConnection(outAttrs); 560 if ((cursorUpdateMode & InputConnection.CURSOR_UPDATE_IMMEDIATE) 590 imeSession.callRequestCursorUpdates(InputConnection.CURSOR_UPDATE_IMMEDIATE), 616 InputConnection.CURSOR_UPDATE_IMMEDIATE 617 | InputConnection.CURSOR_UPDATE_FILTER_EDITOR_BOUNDS 618 | InputConnection.CURSOR_UPDATE_FILTER_CHARACTER_BOUNDS 619 | InputConnection.CURSOR_UPDATE_FILTER_INSERTION_MARKER [all …]
|
D | InProcessImeTest.java | 34 import android.view.inputmethod.InputConnection; 118 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in testOnUpdateSelectionForInProcessIme()
|
/cts/tests/inputmethod/legacyimeclienttestlib/src/com/android/cts/inputmethod/ |
D | LegacyImeClientTestUtils.java | 24 import android.view.inputmethod.InputConnection; 39 private static final class MinimallyImplementedNoOpInputConnection implements InputConnection { 190 public static InputConnection createMinimallyImplementedNoOpInputConnection() { in createMinimallyImplementedNoOpInputConnection()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | EditTextNoIme.java | 22 import android.view.inputmethod.InputConnection; 48 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()
|
D | TextViewNoIme.java | 22 import android.view.inputmethod.InputConnection; 48 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AutoCompleteTextViewNoIme.java | 23 import android.view.inputmethod.InputConnection; 54 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()
|
D | TextViewHandwritingGestureTest.java | 57 import android.view.inputmethod.InputConnection; 111 private int mResult = InputConnection.HANDWRITING_GESTURE_RESULT_UNKNOWN; 987 assertThat(mResult).isEqualTo(InputConnection.HANDWRITING_GESTURE_RESULT_SUCCESS); in performRemoveSpaceGesture_multipleWhitespace() 1821 InputConnection inputConnection = mEditText.onCreateInputConnection(new EditorInfo()); in performSelectGesture() 1831 InputConnection inputConnection = mEditText.onCreateInputConnection(new EditorInfo()); in previewSelectGesture() 1844 InputConnection inputConnection = mEditText.onCreateInputConnection(new EditorInfo()); in performSelectRangeGesture() 1857 InputConnection inputConnection = mEditText.onCreateInputConnection(new EditorInfo()); in previewSelectRangeGesture() 1872 InputConnection inputConnection = mEditText.onCreateInputConnection(new EditorInfo()); in performDeleteGesture() 1882 InputConnection inputConnection = mEditText.onCreateInputConnection(new EditorInfo()); in previewDeleteGesture() 1895 InputConnection inputConnection = mEditText.onCreateInputConnection(new EditorInfo()); in performDeleteRangeGesture() [all …]
|
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/ |
D | ReplyReceivingInputConnection.java | 25 import android.view.inputmethod.InputConnection; 50 ReplyReceivingInputConnection(InputConnection target, String sessionKey, in ReplyReceivingInputConnection()
|
D | MainActivity.java | 35 import android.view.inputmethod.InputConnection; 119 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreate() 120 final InputConnection original = super.onCreateInputConnection(editorInfo); in onCreate()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestWebView.java | 27 import android.view.inputmethod.InputConnection; 59 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection() 60 final InputConnection original = super.onCreateInputConnection(outAttrs); in onCreateInputConnection()
|
D | NoOpInputConnection.java | 26 import android.view.inputmethod.InputConnection; 33 public class NoOpInputConnection implements InputConnection {
|
D | HandlerInputConnection.java | 26 import android.view.inputmethod.InputConnection; 38 public class HandlerInputConnection implements InputConnection {
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | InputConnectionSplitter.java | 26 import android.view.inputmethod.InputConnection; 39 private final InputConnection mForNotify; 41 public InputConnectionSplitter(InputConnection target, InputConnection forNotify) { in InputConnectionSplitter()
|
D | NoOpInputConnection.java | 26 import android.view.inputmethod.InputConnection; 34 public class NoOpInputConnection implements InputConnection {
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | CtsBaseInputMethod.java | 43 import android.view.inputmethod.InputConnection; 236 private void executeOnInputConnection(Consumer<InputConnection> consumer) { in executeOnInputConnection() 237 final InputConnection ic = getCurrentInputConnection(); in executeOnInputConnection()
|
/cts/tests/inputmethod/legacyimeclienttestlib/ |
D | Android.bp | 24 // Note that several new APIs were added into InputConnection in API 9.
|