Home
last modified time | relevance | path

Searched refs:yVelocity (Results 1 – 4 of 4) 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/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt380 val velY = velocityTracker.yVelocity in <lambda>()
405 velocityTracker.xVelocity, velocityTracker.yVelocity, in <lambda>()
416 val velY = velocityTracker.yVelocity in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DRelativeTouchListener.kt145 velocityTracker.xVelocity, velocityTracker.yVelocity) in onTouch()
/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()