Searched refs:requestedSource (Results 1 – 1 of 1) sorted by relevance
2095 final int requestedSource = InputDevice.SOURCE_TOUCHSCREEN; in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() local2098 service.setMotionEventSources(requestedSource); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()2099 service.setObservedMotionEventSources(requestedSource); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()2100 assertThat(service.getServiceInfo().getMotionEventSources()).isEqualTo(requestedSource); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()2102 .isEqualTo(requestedSource); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()2108 if (motionEvent.getSource() == requestedSource) { in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()2184 final int requestedSource = InputDevice.SOURCE_TOUCHSCREEN; in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled() local2187 service.setMotionEventSources(requestedSource); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()2188 service.setObservedMotionEventSources(requestedSource); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()2189 assertThat(service.getServiceInfo().getMotionEventSources()).isEqualTo(requestedSource); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()[all …]