Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DSwipeGestureListener.kt44 val xVelocity = velocityTracker.xVelocity in onMotionEvent() constant
46 abs(xVelocity) > FloatingWindowUtil.dpToPx(displayMetrics, FLING_THRESHOLD_DP) in onMotionEvent()
48 onDismiss.invoke(xVelocity) in onMotionEvent()
54 onDismiss.invoke(xVelocity) in onMotionEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java441 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent() local
447 if (xVelocity < 0) { in onTouchEvent()
448 xVelocity = -xVelocity; in onTouchEvent()
450 if (xVelocity > mMaximumMinorVelocity) { in onTouchEvent()
451 xVelocity = mMaximumMinorVelocity; in onTouchEvent()
454 negative = xVelocity < 0; 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.kt379 val velX = velocityTracker.xVelocity in <lambda>()
405 velocityTracker.xVelocity, velocityTracker.yVelocity, in <lambda>()
415 val velX = velocityTracker.xVelocity 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.java1203 final float xVelocity = mVelocityTracker.getXVelocity(mActivePointerId); in checkHorizontalSwipe() local
1205 final int velDirFlag = xVelocity > 0f ? RIGHT : LEFT; in checkHorizontalSwipe()
1206 final float absXVelocity = Math.abs(xVelocity); in checkHorizontalSwipe()
1230 final float xVelocity = mVelocityTracker.getXVelocity(mActivePointerId); in checkVerticalSwipe() local
1236 && absYVelocity > Math.abs(xVelocity)) { in checkVerticalSwipe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt680 xVelocity.takeIf { mView.isLeftPanel } ?: (xVelocity * -1) in <lambda>()
1030 MathUtils.smoothStep(slowVelocityBound, fastVelocityBound, abs(xVelocity)) in <lambda>()