Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp101 const MotionMemento& lastMemento = mMotionMementos.back(); in trackMotion() local
102 if (isStylusEvent(lastMemento.source, lastMemento.pointerProperties) && in trackMotion()
314 const MotionMemento& lastMemento = mMotionMementos.back(); in shouldCancelPreviousStream() local
318 if (lastMemento.deviceId == motionEntry.deviceId) { in shouldCancelPreviousStream()
323 if (actionMasked == AMOTION_EVENT_ACTION_DOWN && lastMemento.hovering) { in shouldCancelPreviousStream()
329 if (motionEntry.source != lastMemento.source) { in shouldCancelPreviousStream()
331 << inputEventSourceToString(lastMemento.source) << " and new event is " in shouldCancelPreviousStream()
341 if (motionEntry.displayId != lastMemento.displayId) { in shouldCancelPreviousStream()
342 LOG(INFO) << "Canceling stream: last displayId was " << lastMemento.displayId in shouldCancelPreviousStream()
351 if (isStylusEvent(lastMemento.source, lastMemento.pointerProperties)) { in shouldCancelPreviousStream()