Home
last modified time | relevance | path

Searched refs:velocityTracker (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java546 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
547 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()
549 (int) velocityTracker.getXVelocity(): in onTouchEvent()
550 -(int) velocityTracker.getYVelocity(); in onTouchEvent()
566 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
567 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()
569 (int) velocityTracker.getXVelocity(): in onTouchEvent()
570 - (int) velocityTracker.getYVelocity(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DSwipeHelper.java352 private void endSwipe(VelocityTracker velocityTracker) { in endSwipe() argument
354 velocityTracker.computeCurrentVelocity(1000 /* px/sec */, maxVelocity); in endSwipe()
355 float velocity = getVelocity(velocityTracker); in endSwipe()
356 float perpendicularVelocity = getPerpendicularVelocity(velocityTracker); in endSwipe()
DTaskStackViewTouchHandler.java283 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
284 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()
285 int velocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java602 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
604 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
605 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
606 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java370 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
372 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
374 velocityTracker, pointerId); in onTouchEvent()
376 velocityTracker, pointerId); in onTouchEvent()
DViewPager.java2004 final VelocityTracker velocityTracker = mVelocityTracker;
2005 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity);
2007 velocityTracker, mActivePointerId);
2308 final VelocityTracker velocityTracker = mVelocityTracker;
2309 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity);
2311 velocityTracker, mActivePointerId);
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java435 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
436 velocityTracker.computeCurrentVelocity(mVelocityUnits); in onTouchEvent()
438 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
439 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent()
DHorizontalScrollView.java640 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
641 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()
642 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent()
DScrollView.java702 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
703 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()
704 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
DNumberPicker.java919 VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
920 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
921 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent()
DAbsListView.java3865 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchUp()
3866 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchUp()
3869 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp()
3915 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchUp() local
3916 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchUp()
3917 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java801 final VelocityTracker velocityTracker = mVelocityTracker; in onScrollTouch() local
802 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onScrollTouch()
803 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onScrollTouch()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java1579 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local
1580 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()
1581 int velocityX = (int) velocityTracker.getXVelocity(activePointerId); in onTouchEvent()
/frameworks/native/services/inputflinger/
DInputReader.h1618 VelocityTracker velocityTracker; member
1629 velocityTracker.clear(); in reset()
DInputReader.cpp4712 mPointerGesture.velocityTracker.addMovement(when, in preparePointerGestures()
4826 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { in preparePointerGestures()