Searched refs:mVelocityTracker (Results 1 – 3 of 3) sorted by relevance
120 private VelocityTracker mVelocityTracker; field in DragController153 mVelocityTracker = VelocityTracker.obtain(); in DragController()615 mVelocityTracker.computeCurrentVelocity(1000, config.getScaledMaximumFlingVelocity());617 if (mVelocityTracker.getYVelocity() < mFlingToDeleteThresholdVelocity) {619 PointF vel = new PointF(mVelocityTracker.getXVelocity(),620 mVelocityTracker.getYVelocity());756 if (mVelocityTracker == null) {757 mVelocityTracker = VelocityTracker.obtain();759 mVelocityTracker.addMovement(ev);763 if (mVelocityTracker != null) {[all …]
95 private VelocityTracker mVelocityTracker; field in PagedView1232 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent()1345 if (mVelocityTracker == null) { in acquireVelocityTrackerAndAddMovement()1346 mVelocityTracker = VelocityTracker.obtain(); in acquireVelocityTrackerAndAddMovement()1348 mVelocityTracker.addMovement(ev); in acquireVelocityTrackerAndAddMovement()1352 if (mVelocityTracker != null) { in releaseVelocityTracker()1353 mVelocityTracker.recycle(); in releaseVelocityTracker()1354 mVelocityTracker = null; in releaseVelocityTracker()1371 if (mVelocityTracker != null) { in onSecondaryPointerUp()1372 mVelocityTracker.clear(); in onSecondaryPointerUp()
103 private VelocityTracker mVelocityTracker; field in ScrollerView465 if (mVelocityTracker == null) { in initOrResetVelocityTracker()466 mVelocityTracker = VelocityTracker.obtain(); in initOrResetVelocityTracker()468 mVelocityTracker.clear(); in initOrResetVelocityTracker()473 if (mVelocityTracker == null) { in initVelocityTrackerIfNotExists()474 mVelocityTracker = VelocityTracker.obtain(); in initVelocityTrackerIfNotExists()479 if (mVelocityTracker != null) { in recycleVelocityTracker()480 mVelocityTracker.recycle(); in recycleVelocityTracker()481 mVelocityTracker = null; in recycleVelocityTracker()539 mVelocityTracker.addMovement(ev); in onInterceptTouchEvent()[all …]