Searched refs:minDistance (Results 1 – 3 of 3) sorted by relevance
95 int minDistance = Integer.MAX_VALUE; in detectHitKey() local104 if (distance > minDistance) { in detectHitKey()108 if (primaryKey == null || distance < minDistance in detectHitKey()110 minDistance = distance; in detectHitKey()
227 int minDistance = -maxDistance; in calculateScrollDistance() local229 outDist[0] = clamp(outDist[0], minDistance, maxDistance); in calculateScrollDistance()230 outDist[1] = clamp(outDist[1], minDistance, maxDistance); in calculateScrollDistance()
370 float minDistance = MIN_SWIPE; in onTouchEvent() local371 if (Math.abs(deltaX) < minDistance) { in onTouchEvent()