Lines Matching defs:touchState

585         TouchState& touchState = mTouchStates.editItemAt(index);
586 touchState.initialize(deviceId, source);
587 touchState.addHistory(msg);
594 TouchState& touchState = mTouchStates.editItemAt(index);
595 touchState.addHistory(msg);
596 if (eventTime < touchState.lastResample.eventTime) {
597 rewriteMessage(touchState, msg);
599 touchState.lastResample.idBits.clear();
608 TouchState& touchState = mTouchStates.editItemAt(index);
609 touchState.lastResample.idBits.clearBit(msg->body.motion.getActionId());
610 rewriteMessage(touchState, msg);
618 TouchState& touchState = mTouchStates.editItemAt(index);
619 rewriteMessage(touchState, msg);
620 touchState.lastResample.idBits.clearBit(msg->body.motion.getActionId());
628 const TouchState& touchState = mTouchStates.itemAt(index);
629 rewriteMessage(touchState, msg);
638 const TouchState& touchState = mTouchStates.itemAt(index);
639 rewriteMessage(touchState, msg);
682 TouchState& touchState = mTouchStates.editItemAt(index);
683 if (touchState.historySize < 1) {
691 const History* current = touchState.getHistory(0);
720 } else if (touchState.historySize >= 2) {
723 other = touchState.getHistory(1);
749 touchState.lastResample.eventTime = sampleTime;
750 touchState.lastResample.idBits.clear();
753 touchState.lastResample.idToIndex[id] = i;
754 touchState.lastResample.idBits.markBit(id);
755 PointerCoords& resampledCoords = touchState.lastResample.pointers[i];
783 event->addSample(sampleTime, touchState.lastResample.pointers);
865 const TouchState& touchState = mTouchStates.itemAt(i);
866 if (touchState.deviceId == deviceId && touchState.source == source) {