Home
last modified time | relevance | path

Searched refs:EventStreamTransformation (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DEventStreamTransformation.java57 interface EventStreamTransformation { interface
69 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()
DBaseEventStreamTransformation.java19 abstract class BaseEventStreamTransformation implements EventStreamTransformation {
20 private EventStreamTransformation mNext;
23 public void setNext(EventStreamTransformation next) { in setNext()
28 public EventStreamTransformation getNext() { in getNext()
DAccessibilityInputFilter.java43 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java181 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 …]
DAccessibilityInputFilterTest.java69 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()
DTouchExplorerTest.java67 private EventStreamTransformation mCaptor;
82 private class EventCaptor implements EventStreamTransformation {
91 public void setNext(EventStreamTransformation next) { in setNext()
95 public EventStreamTransformation getNext() { in getNext()
DMagnificationGestureHandlerTest.java170 h.setNext(strictMock(EventStreamTransformation.class)); in newInstance()