Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
H A DBackAnimationController.java525 float flingDistance = animationFaction * maxFlingDistance; // px in dispatchOrAnimateOnBackInvoked() local
526 float endX = MathUtils.constrain(currentX + flingDistance, 0f, maxX); in dispatchOrAnimateOnBackInvoked()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DBackPanelController.kt677 val flingDistance = if (mView.isLeftPanel) endX - startX else startX - endX regex
686 return flingDistance > minFlingDistance && isPastFlingVelocityThreshold
/aosp14/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1848 float flingDistance = (float) mScroller.getSplineFlingDistance(-velocity); in shouldAbsorb() local
1850 return flingDistance < distance; in shouldAbsorb()
H A DScrollView.java1893 float flingDistance = (float) mScroller.getSplineFlingDistance(-velocity); in shouldAbsorb() local
1895 return flingDistance < distance; in shouldAbsorb()
H A DAbsListView.java4405 float flingDistance = mFlingRunnable.getSplineFlingDistance(-velocity); in shouldAbsorb() local
4407 return flingDistance < distance; in shouldAbsorb()