Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditorTouchState.java188 float distanceSquared = (deltaXSquared) + (deltaY * deltaY); in update() local
190 mMovedEnoughForDrag = distanceSquared > touchSlop * touchSlop; in update()
215 float distanceSquared = (deltaX * deltaX) + (deltaY * deltaY); in isDistanceWithin() local
216 return distanceSquared <= maxDistance * maxDistance; in isDistanceWithin()
/frameworks/native/services/inputflinger/tests/
DUnwantedInteractionBlocker_test.cpp897 const float distanceSquared = dx * dx + dy * dy; in updateSuppressedSlots() local
898 if (distanceSquared < 1) { in updateSuppressedSlots()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java1408 double distanceSquared = (dx * dx) + (dy * dy); in onHomeTouch() local
1409 if (distanceSquared > touchSlopSquared) { in onHomeTouch()