Searched refs:velocityTracker (Results 1 – 6 of 6) sorted by relevance
142 private VelocityTracker velocityTracker; field in FlingUpDownTouchHandler249 if (velocityTracker == null) { in onTouch()300 if (velocityTracker != null) { in endMotionEvent()301 velocityTracker.computeCurrentVelocity(1000); in endMotionEvent()302 vel = velocityTracker.getYVelocity(); in endMotionEvent()305 (float) Math.hypot(velocityTracker.getXVelocity(), velocityTracker.getYVelocity()), in endMotionEvent()327 if (velocityTracker != null) { in endMotionEvent()328 velocityTracker.recycle(); in endMotionEvent()329 velocityTracker = null; in endMotionEvent()389 if (velocityTracker != null) { in trackMovement()[all …]
44 private VelocityTracker velocityTracker; field in SwipeButtonHelper245 if (velocityTracker != null) { in endMotion()246 velocityTracker.recycle(); in endMotion()247 velocityTracker = null; in endMotion()537 if (velocityTracker != null) { in trackMovement()538 velocityTracker.addMovement(event); in trackMovement()543 if (velocityTracker != null) { in initVelocityTracker()544 velocityTracker.recycle(); in initVelocityTracker()546 velocityTracker = VelocityTracker.obtain(); in initVelocityTracker()550 if (velocityTracker == null) { in getCurrentVelocity()[all …]
115 public float getPrimaryVelocity(VelocityTracker velocityTracker, int pointerId) { in getPrimaryVelocity() argument116 return velocityTracker.getYVelocity(pointerId); in getPrimaryVelocity()
111 public float getPrimaryVelocity(VelocityTracker velocityTracker, int pointerId) { in getPrimaryVelocity() argument112 return velocityTracker.getXVelocity(pointerId); in getPrimaryVelocity()
69 float getPrimaryVelocity(VelocityTracker velocityTracker, int pointerId); in getPrimaryVelocity() argument
1241 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local1242 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()1244 int velocity = (int) mOrientationHandler.getPrimaryVelocity(velocityTracker, in onTouchEvent()