Searched refs:EventStreamTransformation (Results 1 – 7 of 7) sorted by relevance
57 interface EventStreamTransformation { interface69 EventStreamTransformation next = getNext(); in onMotionEvent()82 EventStreamTransformation next = getNext(); in onKeyEvent()94 EventStreamTransformation next = getNext(); in onAccessibilityEvent()105 public void setNext(EventStreamTransformation next); in setNext()112 public EventStreamTransformation getNext(); in getNext()120 EventStreamTransformation next = getNext(); in clearEvents()
19 abstract class BaseEventStreamTransformation implements EventStreamTransformation {20 private EventStreamTransformation mNext;23 public void setNext(EventStreamTransformation next) { in setNext()28 public EventStreamTransformation getNext() { in getNext()
43 class AccessibilityInputFilter extends InputFilter implements EventStreamTransformation {110 private final SparseArray<EventStreamTransformation> mEventHandler;140 SparseArray<EventStreamTransformation> eventHandler) { in AccessibilityInputFilter()258 final EventStreamTransformation eventHandler = mEventHandler.valueAt(i); in clearEventsForAllEventHandlers()324 public void setNext(EventStreamTransformation sink) { in setNext()329 public EventStreamTransformation getNext() { in getNext()358 final EventStreamTransformation eventHandler = mEventHandler.valueAt(i); in notifyAccessibilityEvent()437 private void addFirstEventHandler(int displayId, EventStreamTransformation handler) { in addFirstEventHandler()438 EventStreamTransformation eventHandler = mEventHandler.get(displayId); in addFirstEventHandler()456 EventStreamTransformation handler) { in addFirstEventHandlerForAllDisplays()
181 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()237 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testRegularEvent_afterGestureComplete_shouldPassToNext()247 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()263 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected()278 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected()297 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testOnMotionEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassReal()313 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testOnMotionEvents_fromMouseWithInjectedGestureInProgress_shouldNotCancelAndPassReal()329 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal()358 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassNew()375 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassNew()[all …]
69 private final SparseArray<EventStreamTransformation> mEventHandler = new SparseArray<>(0);91 private class EventCaptor implements EventStreamTransformation {105 public void setNext(EventStreamTransformation next) { in setNext()109 public EventStreamTransformation getNext() { in getNext()186 EventStreamTransformation next = mEventHandler.get(DEFAULT_DISPLAY); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation()
67 private EventStreamTransformation mCaptor;82 private class EventCaptor implements EventStreamTransformation {91 public void setNext(EventStreamTransformation next) { in setNext()95 public EventStreamTransformation getNext() { in getNext()
170 h.setNext(strictMock(EventStreamTransformation.class)); in newInstance()