Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSlidingDrawer.java440 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent() local
446 negative = yVelocity < 0; in onTouchEvent()
455 if (yVelocity < 0) { in onTouchEvent()
456 yVelocity = -yVelocity; in onTouchEvent()
458 if (yVelocity > mMaximumMinorVelocity) { in onTouchEvent()
459 yVelocity = mMaximumMinorVelocity; in onTouchEvent()
463 float velocity = (float) Math.hypot(xVelocity, yVelocity); in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1204 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkHorizontalSwipe() local
1209 && absXVelocity > Math.abs(yVelocity)) { in checkHorizontalSwipe()
1231 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkVerticalSwipe() local
1232 final int velDirFlag = yVelocity > 0f ? DOWN : UP; in checkVerticalSwipe()
1233 final float absYVelocity = Math.abs(yVelocity); in checkVerticalSwipe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarEdgePanel.java651 float yVelocity = mVelocityTracker.getYVelocity(); in handleMoveEvent() local
652 float velocity = MathUtils.mag(xVelocity, yVelocity); in handleMoveEvent()