Searched refs:newDistance (Results 1 – 2 of 2) sorted by relevance
413 float newDistance = fabs(newValue - thresholdValue); in hasMovedNearerToValueWithinFilteredRange() local414 if (newDistance < filter) { in hasMovedNearerToValueWithinFilteredRange()416 if (newDistance < oldDistance) { in hasMovedNearerToValueWithinFilteredRange()
667 final int newDistance = newFinal - start; in adjustDuration() local668 final float x = Math.abs((float) newDistance / oldDistance); in adjustDuration()