Lines Matching refs:eventTime
136 msg->body.key.eventTime = body.key.eventTime; in getSanitizedCopy()
163 msg->body.motion.eventTime = body.motion.eventTime; in getSanitizedCopy()
430 nsecs_t eventTime) { in publishKeyEvent() argument
442 downTime, eventTime); in publishKeyEvent()
463 msg.body.key.eventTime = eventTime; in publishKeyEvent()
484 nsecs_t eventTime, in publishMotionEvent() argument
504 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); in publishMotionEvent()
536 msg.body.motion.eventTime = eventTime; in publishMotionEvent()
863 nsecs_t eventTime = msg.body.motion.eventTime; in rewriteMessage() local
867 if (eventTime < state.lastResample.eventTime || in rewriteMessage()
931 nsecs_t delta = future.eventTime - current->eventTime; in resampleTouchState()
938 alpha = float(sampleTime - current->eventTime) / delta; in resampleTouchState()
943 nsecs_t delta = current->eventTime - other->eventTime; in resampleTouchState()
955 nsecs_t maxPredict = current->eventTime + min(delta / 2, RESAMPLE_MAX_PREDICTION); in resampleTouchState()
960 sampleTime - current->eventTime, maxPredict - current->eventTime); in resampleTouchState()
964 alpha = float(current->eventTime - sampleTime) / delta; in resampleTouchState()
975 touchState.lastResample.eventTime = sampleTime; in resampleTouchState()
1126 msg->body.key.eventTime); in initializeKeyEvent()
1154 msg->body.motion.eventTime, in initializeMotionEvent()
1168 event->addSample(msg->body.motion.eventTime, pointerCoords); in addSample()
1191 && batch.samples.itemAt(index).body.motion.eventTime <= time) { in findSampleNoLaterThan()