Searched refs:historyPosition (Results 1 – 1 of 1) sorted by relevance
1611 TimeBasedPosition historyPosition = mPositionHistory.getFirst(); in insertNewPosition() local1612 if (historyPosition.getTimeStamp() < timeCutoff) { in insertNewPosition()1631 TimeBasedPosition historyPosition = mPositionHistory.get(i); in getPosition() local1632 if (historyPosition.getTimeStamp() > time) { in getPosition()1637 return historyPosition.getPosition() * weight + (1f - weight) * currentPosition; in getPosition()1642 … (float) (historyPosition.getTimeStamp() - prevTimeBasedPosition.getTimeStamp()); in getPosition()1643 float position = fraction * (historyPosition.getPosition() in getPosition()