Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java216 private MotionEvent mLastActiveDeviceMotionEvent = null; field in AccessibilityInputFilter
445 final boolean eventIsFromCurrentDevice = mLastActiveDeviceMotionEvent != null in shouldProcessMultiDeviceEvent()
446 && mLastActiveDeviceMotionEvent.getDeviceId() == motion.getDeviceId(); in shouldProcessMultiDeviceEvent()
452 if (mLastActiveDeviceMotionEvent != null in shouldProcessMultiDeviceEvent()
453 && mLastActiveDeviceMotionEvent.getDeviceId() != motion.getDeviceId()) { in shouldProcessMultiDeviceEvent()
456 MotionEvent canceled = cancelMotion(mLastActiveDeviceMotionEvent); in shouldProcessMultiDeviceEvent()
459 mLastActiveDeviceMotionEvent = MotionEvent.obtain(motion); in shouldProcessMultiDeviceEvent()
466 mLastActiveDeviceMotionEvent = MotionEvent.obtain(motion); in shouldProcessMultiDeviceEvent()
477 mLastActiveDeviceMotionEvent = null; in shouldProcessMultiDeviceEvent()
485 if (mLastActiveDeviceMotionEvent != null in shouldProcessMultiDeviceEvent()
[all …]