Home
last modified time | relevance | path

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

/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DResolverDrawerLayout.java486 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() local
487 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()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java502 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
504 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
DOverScroller.java532 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
536 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()