Lines Matching refs:Position
222 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) {
255 ALOGD(" %d: position (%0.3f, %0.3f), "
290 // Note that ACTION_UP and ACTION_POINTER_UP always report the last known position
291 // of the pointers that went up. ACTION_POINTER_UP does include the new position of
315 Position positions[pointerCount];
379 const VelocityTracker::Position* positions) {
583 const VelocityTracker::Position& position = movement.getPosition(id);
584 x[m] = position.x;
585 y[m] = position.y;
619 // No velocity data available for this pointer, but we do have its current position.
714 const VelocityTracker::Position* positions) {
719 const VelocityTracker::Position& position = positions[index++];
721 updateState(state, eventTime, position.x, position.y);
723 initState(state, eventTime, position.x, position.y);
836 const VelocityTracker::Position* positions) {
889 const VelocityTracker::Position& oldestPosition = oldestMovement.getPosition(id);
903 const VelocityTracker::Position& position = movement.getPosition(id);
905 float vx = (position.x - oldestPosition.x) * scale;
906 float vy = (position.y - oldestPosition.y) * scale;
915 const VelocityTracker::Position& newestPosition = newestMovement.getPosition(id);