Home
last modified time | relevance | path

Searched refs:getAverage (Results 1 – 1 of 1) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/input/
DGestureDetector.java416 float meanX = getAverage(this.meanX, numSamples); in getVelocityX()
417 float meanTime = getAverage(this.meanTime, numSamples) / 1000000000.0f; in getVelocityX()
423 float meanY = getAverage(this.meanY, numSamples); in getVelocityY()
424 float meanTime = getAverage(this.meanTime, numSamples) / 1000000000.0f; in getVelocityY()
429 private float getAverage (float[] values, int numSamples) { in getAverage() method in GestureDetector.VelocityTracker
438 private long getAverage (long[] values, int numSamples) { in getAverage() method in GestureDetector.VelocityTracker