/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/v4/java/android/support/v4/view/ |
D | VelocityTrackerCompat.java | 31 public float getYVelocity(VelocityTracker tracker, int pointerId); in getYVelocity() method 43 public float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() method in VelocityTrackerCompat.BaseVelocityTrackerVersionImpl 44 return tracker.getYVelocity(); in getYVelocity() 57 public float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() method in VelocityTrackerCompat.HoneycombVelocityTrackerVersionImpl 58 return VelocityTrackerCompatHoneycomb.getYVelocity(tracker, pointerId); in getYVelocity() 90 public static float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() method in VelocityTrackerCompat 91 return IMPL.getYVelocity(tracker, pointerId); in getYVelocity()
|
D | GestureDetectorCompat.java | 267 final float y1 = VelocityTrackerCompat.getYVelocity(mVelocityTracker, id1); in onTouchEvent() 273 final float y = y1 * VelocityTrackerCompat.getYVelocity(mVelocityTracker, id2); in onTouchEvent() 373 final float velocityY = VelocityTrackerCompat.getYVelocity( in onTouchEvent()
|
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
D | VelocityTrackerCompatHoneycomb.java | 28 public static float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() method in VelocityTrackerCompatHoneycomb 29 return tracker.getYVelocity(pointerId); in getYVelocity()
|
/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 | 251 : mVelocityTracker.getYVelocity(), in handleDragActionUpEvent() 254 mRecentsComponent.onDraggingInRecentsEnded(mVelocityTracker.getYVelocity()); in handleDragActionUpEvent()
|
D | NoisyVelocityTracker.java | 124 public float getYVelocity() { in getYVelocity() method in NoisyVelocityTracker
|
D | PanelView.java | 381 vel = mVelocityTracker.getYVelocity(); in endMotionEvent() 383 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
|
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 | 538 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent() 544 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent() 645 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | BottomSheetBehavior.java | 359 } else if (mHideable && shouldHide(child, getYVelocity())) { in onStopNestedScroll() 562 private float getYVelocity() { in getYVelocity() method in BottomSheetBehavior 564 return VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId); in getYVelocity()
|
D | HeaderBehavior.java | 171 float yvel = VelocityTrackerCompat.getYVelocity(mVelocityTracker, in onTouchEvent()
|
/frameworks/base/docs/html/training/gestures/ |
D | movement.jd | 131 // and getYVelocity() to retrieve the velocity for each pointer ID. 139 VelocityTrackerCompat.getYVelocity(mVelocityTracker,
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RotarySelector.java | 550 -(int) velocityTracker.getYVelocity(); in onTouchEvent() 570 - (int) velocityTracker.getYVelocity(); in onTouchEvent()
|
D | PointerLocationView.java | 608 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent() 612 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
|
D | ResolverDrawerLayout.java | 363 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 136 vt.getYVelocity(); in getVelocity() 146 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
|
D | ExpandHelper.java | 372 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 572 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId)); in settleCapturedViewAt() 705 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId), in flingCapturedView() 1409 VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId), in releaseViewForPointerUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackViewTouchHandler.java | 331 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); in handleTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 435 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
D | ItemTouchHelper.java | 1213 .getYVelocity(mVelocityTracker, mActivePointerId); in checkHorizontalSwipe() 1242 .getYVelocity(mVelocityTracker, mActivePointerId); in checkVerticalSwipe()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 409 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector() 1573 public float getYVelocity() {
|