Home
last modified time | relevance | path

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

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java80 public static ImeEvent expectEvent(@NonNull ImeEventStream stream, in expectEvent()
81 @NonNull Predicate<ImeEvent> condition, long timeout) throws TimeoutException { in expectEvent()
101 public static ImeEvent expectEvent(@NonNull ImeEventStream stream, in expectEvent()
102 @NonNull Predicate<ImeEvent> condition, EventFilterMode filterMode, long timeout) in expectEvent()
105 Optional<ImeEvent> result; in expectEvent()
111 final Predicate<ImeEvent> combinedCondition; in expectEvent()
132 final ImeEvent event = result.get(); in expectEvent()
150 public static Predicate<ImeEvent> editorMatcher( in editorMatcher()
177 public static ImeEvent expectCommand(@NonNull ImeEventStream stream,
179 final Predicate<ImeEvent> predicate = event -> {
[all …]
DImeEventStream.java102 public Optional<ImeEvent> findFirst(Predicate<ImeEvent> condition) { in findFirst()
130 public Optional<ImeEvent> seekToFirst(Predicate<ImeEvent> condition) { in seekToFirst()
143 private static void dumpEvent(@NonNull StringBuilder sb, @NonNull ImeEvent event, in dumpEvent()
244 public final ImeEvent[] mArray;
246 ImeEventArray(ImeEvent[] array, int length) { in ImeEventArray()
DImeEvent.java28 public final class ImeEvent { class
52 ImeEvent(@NonNull String eventName, int nestLevel, @NonNull String threadName, int threadId, in ImeEvent() method in ImeEvent
61 private ImeEvent(@NonNull String eventName, int nestLevel, @NonNull String threadName, in ImeEvent() method in ImeEvent
112 static ImeEvent fromBundle(@NonNull Bundle bundle) { in fromBundle()
138 return new ImeEvent(eventName, nestLevel, threadName, in fromBundle()
DMockImeSession.java73 public final ImeEvent[] mArray;
77 mArray = new ImeEvent[INITIAL_ARRAY_SIZE]; in EventStore()
82 mArray = new ImeEvent[newLength]; in EventStore()
87 public EventStore add(ImeEvent event) { in add()
121 mCurrentEventStore.add(ImeEvent.fromBundle(intent.getExtras())); in onReceive()
DMockIme.java506 private void sendEventInternal(@NonNull ImeEvent event) {
544 sendEventInternal(new ImeEvent(eventName, nestLevel, mThreadName,
558 sendEventInternal(new ImeEvent(eventName, nestLevel, mThreadName,
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java43 import com.android.cts.mockime.ImeEvent;
67 private static Predicate<ImeEvent> editorMatcher( in editorMatcher()
78 private static Predicate<ImeEvent> showSoftInputMatcher(int requiredFlags) {
88 private static Predicate<ImeEvent> hideSoftInputMatcher() {
92 private static Predicate<ImeEvent> onFinishInputViewMatcher(boolean expectedFinishingInput) {
DInputMethodServiceTest.java45 import com.android.cts.mockime.ImeEvent;
69 private static Predicate<ImeEvent> backKeyDownMatcher(boolean expectedReturnValue) { in backKeyDownMatcher()
DFocusHandlingTest.java55 import com.android.cts.mockime.ImeEvent;
116 final ImeEvent onStart = in testOnStartInputCalledOnceIme()