Home | History | Annotate | Download | only in androidfw

Lines Matching refs:sampleTime

520         nsecs_t sampleTime = frameTime - RESAMPLE_LATENCY;
521 ssize_t split = findSampleNoLaterThan(batch, sampleTime);
535 resampleTouchState(sampleTime, static_cast<MotionEvent*>(*outEvent), next);
671 void InputConsumer::resampleTouchState(nsecs_t sampleTime, MotionEvent* event,
714 // So current->eventTime <= sampleTime <= future.eventTime.
724 alpha = float(sampleTime - current->eventTime) / delta;
727 // So other->eventTime <= current->eventTime <= sampleTime.
737 if (sampleTime > maxPredict) {
741 sampleTime - current->eventTime, maxPredict - current->eventTime);
743 sampleTime = maxPredict;
745 alpha = float(current->eventTime - sampleTime) / delta;
754 touchState.lastResample.eventTime = sampleTime;
788 event->addSample(sampleTime, touchState.lastResample.pointers);