Home
last modified time | relevance | path

Searched refs:ImeCommand (Results 1 – 9 of 9) sorted by relevance

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java288 private ImeCommand callCommandInternal(@NonNull String commandName, @NonNull Bundle params) { in callCommandInternal()
289 final ImeCommand command = new ImeCommand( in callCommandInternal()
316 public ImeCommand callGetTextBeforeCursor(int n, int flag) { in callGetTextBeforeCursor()
340 public ImeCommand callGetTextAfterCursor(int n, int flag) { in callGetTextAfterCursor()
363 public ImeCommand callGetSelectedText(int flag) { in callGetSelectedText()
385 public ImeCommand callGetCursorCapsMode(int reqModes) { in callGetCursorCapsMode()
409 public ImeCommand callGetExtractedText(@Nullable ExtractedTextRequest request, int flags) { in callGetExtractedText()
434 public ImeCommand callDeleteSurroundingText(int beforeLength, int afterLength) { in callDeleteSurroundingText()
460 public ImeCommand callDeleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { in callDeleteSurroundingTextInCodePoints()
485 public ImeCommand callSetComposingText(@Nullable CharSequence text, int newCursorPosition) { in callSetComposingText()
[all …]
DImeCommand.java23 public final class ImeCommand { class
37 ImeCommand(@NonNull String name, long id, boolean dispatchToMainThread, in ImeCommand() method in ImeCommand
45 private ImeCommand(@NonNull Bundle bundle) { in ImeCommand() method in ImeCommand
52 static ImeCommand fromBundle(@NonNull Bundle bundle) { in fromBundle()
53 return new ImeCommand(bundle); in fromBundle()
DImeEventStreamTestUtils.java196 @NonNull ImeCommand command, long timeout) throws TimeoutException {
201 final ImeCommand eventCommand =
202 ImeCommand.fromBundle(event.getArguments().getBundle("command"));
DMockIme.java98 private final Consumer<ImeCommand> mOnReceiveCommand;
101 @NonNull Consumer<ImeCommand> onReceiveCommand) { in CommandReceiver()
109 mOnReceiveCommand.accept(ImeCommand.fromBundle(intent.getExtras())); in onReceive()
115 private void onReceiveCommand(@NonNull ImeCommand command) { in onReceiveCommand()
126 private void onHandleCommand(@NonNull ImeCommand command) { in onHandleCommand()
806 @NonNull ImeCommand command, @NonNull Runnable runnable) {
813 @NonNull ImeCommand command, @NonNull Supplier<Object> resultSupplier) {
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DFocusHandlingTest.java55 import com.android.cts.mockime.ImeCommand;
256 final ImeCommand commit1 = imeSession.callCommitText("test commit", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
282 final ImeCommand commit2 = imeSession.callCommitText("Hello!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
312 final ImeCommand commit3 = imeSession.callCommitText("World!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
326 final ImeCommand commit4 = imeSession.callCommitText("Done!", 1); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
383 final ImeCommand command = imeSession.callCommitText("test commit", 1); in testRestartInputWhileOtherProcessHasWindowFocus()
DInputMethodServiceTest.java58 import com.android.cts.mockime.ImeCommand;
129 final ImeCommand command = imeSession.callSetBackDisposition(backDisposition);
/cts/tests/autofillservice/src/android/autofillservice/cts/
DDatasetFilteringTest.java36 import com.android.cts.mockime.ImeCommand;
215 final ImeCommand cmd1 = mockImeSession.callCommitText("a", 1); in testFilter_usingKeyboard()
220 final ImeCommand cmd2 = mockImeSession.callCommitText("a", 1); in testFilter_usingKeyboard()
225 final ImeCommand cmd3 = mockImeSession.callSendDownUpKeyEvents(KeyEvent.KEYCODE_DEL); in testFilter_usingKeyboard()
230 final ImeCommand cmd4 = mockImeSession.callSendDownUpKeyEvents(KeyEvent.KEYCODE_DEL); in testFilter_usingKeyboard()
236 final ImeCommand cmd5 = mockImeSession.callCommitText("aaa", 1); in testFilter_usingKeyboard()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityViewTest.java59 import com.android.cts.mockime.ImeCommand;
242 final ImeCommand cursorUpdatesCommand = imeSession.callRequestCursorUpdates( in testInputMethod()
DMultiDisplaySystemDecorationTests.java74 import com.android.cts.mockime.ImeCommand;
586 final ImeCommand callCursorUpdates = mockImeSession.callRequestCursorUpdates( in testCrossDisplayBasicImeOperations()