/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 54 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f); in testClear() 58 assertEquals(0.0f, vt.getYVelocity()); in testClear() 69 assertGreater(250.0f, vt.getYVelocity()); in testDragAcceleration() 80 assertLower(250.0f, vt.getYVelocity()); in testDragDeceleration() 92 assertEquals(0.0f, vt.getYVelocity()); in testDragLinearHorizontal() 106 assertEqualFuzzy(250.0f, vt.getYVelocity(), 4f); in testDragLinearVertical() 123 assertEquals(1000.0f, vt.getYVelocity()); in testDragWith2Points() 139 float firstY = vt.getYVelocity(); in testStabilityInNbPoints() 144 float secondY = vt.getYVelocity(); in testStabilityInNbPoints() 161 float firstY = vt.getYVelocity(); in testStabilityInTime() [all …]
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
D | VelocityTrackerCompat.java | 48 public static float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() method in VelocityTrackerCompat 49 return tracker.getYVelocity(pointerId); in getYVelocity()
|
D | GestureDetectorCompat.java | 271 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent() 277 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent() 379 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PlatformVelocityTracker.java | 63 public float getYVelocity() { in getYVelocity() method in PlatformVelocityTracker 64 return mTracker.getYVelocity(); in getYVelocity()
|
D | VelocityTrackerInterface.java | 29 public float getYVelocity(); in getYVelocity() method
|
D | NavigationBarGestureHelper.java | 267 : mVelocityTracker.getYVelocity(), in handleDragActionUpEvent() 270 mRecentsComponent.onDraggingInRecentsEnded(mVelocityTracker.getYVelocity()); in handleDragActionUpEvent()
|
D | NoisyVelocityTracker.java | 124 public float getYVelocity() { in getYVelocity() method in NoisyVelocityTracker
|
D | PanelView.java | 466 vel = mVelocityTracker.getYVelocity(); in endMotionEvent() 468 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent() 518 return mVelocityTracker.getYVelocity(); in getCurrentExpandVelocity()
|
D | KeyguardAffordanceHelper.java | 489 float aY = mVelocityTracker.getYVelocity(); in getCurrentVelocity()
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 172 public float getYVelocity() { in getYVelocity() method in VelocityTracker 194 public float getYVelocity(int id) { in getYVelocity() method in VelocityTracker
|
D | GestureDetector.java | 540 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent() 546 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent() 651 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
D | ScrollManager.java | 157 int velocityY = (int) mVelocityTracker.getYVelocity(); in onTouchEvent()
|
/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/ |
D | SpringActivity.java | 92 float velocity = vt.getYVelocity(); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchState.java | 179 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 144 vt.getYVelocity(); in getVelocity() 154 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
|
D | ExpandHelper.java | 380 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
|
/frameworks/support/customview/src/main/java/androidx/customview/widget/ |
D | ViewDragHelper.java | 584 (int) mVelocityTracker.getYVelocity(mActivePointerId)); in settleCapturedViewAt() 717 (int) mVelocityTracker.getYVelocity(mActivePointerId), in flingCapturedView() 1418 mVelocityTracker.getYVelocity(mActivePointerId), in releaseViewForPointerUp()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 609 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent() 613 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
|
D | ResolverDrawerLayout.java | 391 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackViewTouchHandler.java | 337 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); in handleTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 433 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
|
D | StackView.java | 817 mYVelocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 1204 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkHorizontalSwipe() 1231 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkVerticalSwipe()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 407 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector() 1555 public float getYVelocity() {
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | ItemTouchHelper.java | 1225 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkHorizontalSwipe() 1252 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkVerticalSwipe()
|