Searched refs:mLastActiveDeviceMotionEvent (Results 1 – 1 of 1) sorted by relevance
216 private MotionEvent mLastActiveDeviceMotionEvent = null; field in AccessibilityInputFilter445 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 …]