Searched refs:velocityTracker (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | DistanceClassifier.java | 112 VelocityTracker velocityTracker = VelocityTracker.obtain(); in calculateDistances() local 121 velocityTracker.addMovement(motionEvent); in calculateDistances() 123 velocityTracker.computeCurrentVelocity(1); in calculateDistances() 125 float vX = velocityTracker.getXVelocity(); in calculateDistances() 126 float vY = velocityTracker.getYVelocity(); in calculateDistances() 128 velocityTracker.recycle(); in calculateDistances()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 737 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local 739 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent() 740 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent() 741 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 437 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local 438 velocityTracker.computeCurrentVelocity(mVelocityUnits); in onTouchEvent() 440 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent() 441 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent()
|
D | ScrollView.java | 834 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local 835 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent() 836 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
|
D | HorizontalScrollView.java | 762 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local 763 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent() 764 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent()
|
D | NumberPicker.java | 978 VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local 979 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent() 980 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent()
|
D | AbsListView.java | 4148 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchUp() 4149 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchUp() 4152 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp() 4198 final VelocityTracker velocityTracker = mVelocityTracker; in onTouchUp() local 4199 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchUp() 4200 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 2017 final VelocityTracker velocityTracker = mVelocityTracker; 2018 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); 2019 … final int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId);
|
/frameworks/native/services/inputflinger/ |
D | InputReader.h | 1525 VelocityTracker velocityTracker; member 1536 velocityTracker.clear(); in reset()
|
D | InputReader.cpp | 5555 mPointerGesture.velocityTracker.addMovement(when, in preparePointerGestures() 5666 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { in preparePointerGestures()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3813 final VelocityTracker velocityTracker = mVelocityTracker; 3814 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); 3815 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
|