Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsView.java107 private VelocityTracker mVelocityTracker; field in AllAppsView
469 mVelocityTracker = VelocityTracker.obtain(); in onTouchEvent()
470 mVelocityTracker.addMovement(ev); in onTouchEvent()
507 mVelocityTracker.addMovement(ev); in onTouchEvent()
528 mVelocityTracker.computeCurrentVelocity(1000 /* px/sec */, mMaxFlingVelocity); in onTouchEvent()
529 mRollo.mState.flingVelocity = mVelocityTracker.getYVelocity() / getHeight(); in onTouchEvent()
534 if (mVelocityTracker != null) { in onTouchEvent()
535 mVelocityTracker.recycle(); in onTouchEvent()
536 mVelocityTracker = null; in onTouchEvent()
DWorkspace.java68 private VelocityTracker mVelocityTracker; field in Workspace
868 if (mVelocityTracker == null) { in onTouchEvent()
869 mVelocityTracker = VelocityTracker.obtain(); in onTouchEvent()
871 mVelocityTracker.addMovement(ev); in onTouchEvent()
914 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()
928 if (mVelocityTracker != null) { in onTouchEvent()
929 mVelocityTracker.recycle(); in onTouchEvent()
930 mVelocityTracker = null; in onTouchEvent()
/packages/apps/Launcher/src/com/android/launcher/
DWorkspace.java64 private VelocityTracker mVelocityTracker; field in Workspace
686 if (mVelocityTracker == null) { in onTouchEvent()
687 mVelocityTracker = VelocityTracker.obtain(); in onTouchEvent()
689 mVelocityTracker.addMovement(ev); in onTouchEvent()
730 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()
744 if (mVelocityTracker != null) { in onTouchEvent()
745 mVelocityTracker.recycle(); in onTouchEvent()
746 mVelocityTracker = null; in onTouchEvent()