Home
last modified time | relevance | path

Searched refs:getYVelocity (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java54 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/
DVelocityTrackerCompat.java31 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()
DGestureDetectorCompat.java267 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/
DVelocityTrackerCompatHoneycomb.java28 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/
DPlatformVelocityTracker.java63 public float getYVelocity() { in getYVelocity() method in PlatformVelocityTracker
64 return mTracker.getYVelocity(); in getYVelocity()
DVelocityTrackerInterface.java29 public float getYVelocity(); in getYVelocity() method
DNavigationBarGestureHelper.java251 : mVelocityTracker.getYVelocity(), in handleDragActionUpEvent()
254 mRecentsComponent.onDraggingInRecentsEnded(mVelocityTracker.getYVelocity()); in handleDragActionUpEvent()
DNoisyVelocityTracker.java124 public float getYVelocity() { in getYVelocity() method in NoisyVelocityTracker
DPanelView.java381 vel = mVelocityTracker.getYVelocity(); in endMotionEvent()
383 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
DKeyguardAffordanceHelper.java489 float aY = mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/frameworks/base/core/java/android/view/
DVelocityTracker.java172 public float getYVelocity() { in getYVelocity() method in VelocityTracker
194 public float getYVelocity(int id) { in getYVelocity() method in VelocityTracker
DGestureDetector.java538 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/
DBottomSheetBehavior.java359 } 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()
DHeaderBehavior.java171 float yvel = VelocityTrackerCompat.getYVelocity(mVelocityTracker, in onTouchEvent()
/frameworks/base/docs/html/training/gestures/
Dmovement.jd131 // and getYVelocity() to retrieve the velocity for each pointer ID.
139 VelocityTrackerCompat.getYVelocity(mVelocityTracker,
/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java550 -(int) velocityTracker.getYVelocity(); in onTouchEvent()
570 - (int) velocityTracker.getYVelocity(); in onTouchEvent()
DPointerLocationView.java608 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent()
612 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
DResolverDrawerLayout.java363 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java136 vt.getYVelocity(); in getVelocity()
146 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
DExpandHelper.java372 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java572 (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/
DTaskStackViewTouchHandler.java331 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); in handleTouchEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java435 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java1213 .getYVelocity(mVelocityTracker, mActivePointerId); in checkHorizontalSwipe()
1242 .getYVelocity(mVelocityTracker, mActivePointerId); in checkVerticalSwipe()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java409 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector()
1573 public float getYVelocity() {

12