Home
last modified time | relevance | path

Searched refs:ImeEvent (Results 1 – 10 of 10) sorted by relevance

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java81 public static ImeEvent expectEvent(@NonNull ImeEventStream stream, in expectEvent()
82 @NonNull Predicate<ImeEvent> condition, long timeout) throws TimeoutException { in expectEvent()
102 public static ImeEvent expectEvent(@NonNull ImeEventStream stream, in expectEvent()
103 @NonNull Predicate<ImeEvent> condition, EventFilterMode filterMode, long timeout) in expectEvent()
106 Optional<ImeEvent> result; in expectEvent()
112 final Predicate<ImeEvent> combinedCondition; in expectEvent()
133 final ImeEvent event = result.get(); in expectEvent()
151 public static Predicate<ImeEvent> editorMatcher( in editorMatcher()
169 public static Predicate<ImeEvent> editorMatcher(@NonNull String eventName, int fieldId) {
195 public static ImeEvent expectCommand(@NonNull ImeEventStream stream,
[all …]
DImeEventStream.java103 public Optional<ImeEvent> findFirst(Predicate<ImeEvent> condition) { in findFirst()
131 public Optional<ImeEvent> seekToFirst(Predicate<ImeEvent> condition) { in seekToFirst()
144 private static void dumpEvent(@NonNull StringBuilder sb, @NonNull ImeEvent event, in dumpEvent()
245 public final ImeEvent[] mArray;
247 ImeEventArray(ImeEvent[] array, int length) { in ImeEventArray()
DImeEvent.java31 public final class ImeEvent { class
83 ImeEvent(@NonNull String eventName, int nestLevel, @NonNull String threadName, int threadId, in ImeEvent() method in ImeEvent
92 private ImeEvent(@NonNull String eventName, int nestLevel, @NonNull String threadName, in ImeEvent() method in ImeEvent
156 static ImeEvent fromBundle(@NonNull Bundle bundle) { in fromBundle()
195 return new ImeEvent(eventName, nestLevel, threadName, in fromBundle()
DMockIme.java241 return ImeEvent.RETURN_VALUE_UNAVAILABLE; in onHandleCommand()
254 return ImeEvent.RETURN_VALUE_UNAVAILABLE; in onHandleCommand()
259 return ImeEvent.RETURN_VALUE_UNAVAILABLE; in onHandleCommand()
264 return ImeEvent.RETURN_VALUE_UNAVAILABLE; in onHandleCommand()
269 return ImeEvent.RETURN_VALUE_UNAVAILABLE; in onHandleCommand()
276 return ImeEvent.RETURN_VALUE_UNAVAILABLE; in onHandleCommand()
628 private void sendEventInternal(@NonNull ImeEvent event) {
655 runnable.run(); return ImeEvent.RETURN_VALUE_UNAVAILABLE;
671 sendEventInternal(new ImeEvent(eventName, nestLevel, mThreadName,
674 ImeEvent.RETURN_VALUE_UNAVAILABLE));
[all …]
DMockImeSession.java78 public final ImeEvent[] mArray;
82 mArray = new ImeEvent[INITIAL_ARRAY_SIZE]; in EventStore()
87 mArray = new ImeEvent[newLength]; in EventStore()
92 public EventStore add(ImeEvent event) { in add()
126 mCurrentEventStore.add(ImeEvent.fromBundle(intent.getExtras())); in onReceive()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java44 import com.android.cts.mockime.ImeEvent;
68 private static Predicate<ImeEvent> editorMatcher( in editorMatcher()
79 private static Predicate<ImeEvent> showSoftInputMatcher(int requiredFlags) {
89 private static Predicate<ImeEvent> hideSoftInputMatcher() {
93 private static Predicate<ImeEvent> onFinishInputViewMatcher(boolean expectedFinishingInput) {
DInputMethodServiceTest.java59 import com.android.cts.mockime.ImeEvent;
86 private static Predicate<ImeEvent> backKeyDownMatcher(boolean expectedReturnValue) { in backKeyDownMatcher()
DFocusHandlingTest.java56 import com.android.cts.mockime.ImeEvent;
117 final ImeEvent onStart = in testOnStartInputCalledOnceIme()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityViewTest.java60 import com.android.cts.mockime.ImeEvent;
244 final ImeEvent cursorUpdatesEvent = expectCommand( in testInputMethod()
DMultiDisplaySystemDecorationTests.java75 import com.android.cts.mockime.ImeEvent;
734 Predicate<ImeEvent>... conditions) throws Exception { in waitOrderedImeEventsThenAssertImeShown()
735 for (Predicate<ImeEvent> condition : conditions) { in waitOrderedImeEventsThenAssertImeShown()