Searched refs:yvel (Results 1 – 5 of 5) sorted by relevance
478 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() local479 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()
2909 final float yvel = canScrollVertically in onTouchEvent() local2911 if (!((xvel != 0 || yvel != 0) && fling((int) xvel, (int) yvel))) { in onTouchEvent()
563 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument565 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
525 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument529 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()
4947 final float yvel = -vt.getYVelocity(activeId);4949 if (Math.abs(yvel) >= mMinimumVelocity4950 && scroller.isScrollingInDirection(0, yvel)) {