Searched refs:distanceSquared (Results 1 – 1 of 1) sorted by relevance
188 float distanceSquared = (deltaXSquared) + (deltaY * deltaY); in update() local190 mMovedEnoughForDrag = distanceSquared > touchSlop * touchSlop; in update()215 float distanceSquared = (deltaX * deltaX) + (deltaY * deltaY); in isDistanceWithin() local216 return distanceSquared <= maxDistance * maxDistance; in isDistanceWithin()