Searched refs:velocityTracker (Results 1 – 12 of 12) 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/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 109 private var velocityTracker: VelocityTracker? = null in <lambda>() variable 134 if (velocityTracker == null) { in <lambda>() 135 velocityTracker = VelocityTracker.obtain() in <lambda>() 137 velocityTracker!!.addMovement(event) in <lambda>() 177 velocityTracker?.recycle() in <lambda>() 178 velocityTracker = null in <lambda>() 185 velocityTracker!!.addMovement(event) in <lambda>() 192 velocityTracker!!.computeCurrentVelocity(1000 /* units */) in <lambda>() 193 val canExpand = moveDistance > 0 && velocityTracker!!.getYVelocity() > -1000 && in <lambda>()
|
/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 | 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 | 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 | NumberPicker.java | 979 VelocityTracker velocityTracker = mVelocityTracker; in onTouchEvent() local 980 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent() 981 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/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.h | 707 VelocityTracker velocityTracker; member 718 velocityTracker.clear(); in reset()
|
D | TouchInputMapper.cpp | 2636 mPointerGesture.velocityTracker.addMovement(when, mCurrentCookedState.fingerIdBits, in preparePointerGestures() 2747 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { in preparePointerGestures()
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3859 final VelocityTracker velocityTracker = mVelocityTracker; 3860 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); 3861 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
|