Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditorTouchState.java173 float distanceSquared = (deltaXSquared) + (deltaY * deltaY); in update() local
175 mMovedEnoughForDrag = distanceSquared > touchSlop * touchSlop; in update()
201 float distanceSquared = (deltaX * deltaX) + (deltaY * deltaY); in isDistanceWithin() local
202 return distanceSquared <= maxDistance * maxDistance; in isDistanceWithin()