Searched refs:yvel (Results 1 – 3 of 3) sorted by relevance
486 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() local487 if (Math.abs(yvel) > mMinFlingVelocity) { in onTouchEvent()489 if (isDismissable() && yvel < 0) { in onTouchEvent()493 smoothScrollTo(yvel < 0 ? 0 : mCollapsibleHeight, yvel); in onTouchEvent()497 && yvel > 0 && mCollapseOffset > mCollapsibleHeight) { in onTouchEvent()498 smoothScrollTo(mHeightUsed, yvel); in onTouchEvent()502 smoothScrollTo(yvel < 0 ? 0 : mCollapsibleHeight, yvel); in onTouchEvent()
502 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument504 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
532 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument536 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()