Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java478 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() local
479 if (Math.abs(yvel) > mMinFlingVelocity) { in onTouchEvent()
481 if (isDismissable() && yvel < 0) { in onTouchEvent()
485 smoothScrollTo(yvel < 0 ? 0 : mCollapsibleHeight, yvel); in onTouchEvent()
489 && yvel > 0 && mCollapseOffset > mCollapsibleHeight) { in onTouchEvent()
490 smoothScrollTo(mCollapsibleHeight + mUncollapsibleHeight, yvel); in onTouchEvent()
494 smoothScrollTo(yvel < 0 ? 0 : mCollapsibleHeight, yvel); in onTouchEvent()
DRecyclerView.java2909 final float yvel = canScrollVertically in onTouchEvent() local
2911 if (!((xvel != 0 || yvel != 0) && fling((int) xvel, (int) yvel))) { in onTouchEvent()
/frameworks/base/core/java/android/widget/
DScroller.java563 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
565 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
DOverScroller.java525 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
529 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()
DAbsListView.java4947 final float yvel = -vt.getYVelocity(activeId);
4949 if (Math.abs(yvel) >= mMinimumVelocity
4950 && scroller.isScrollingInDirection(0, yvel)) {