Home
last modified time | relevance | path

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

12

/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/base/core/tests/coretests/src/android/view/
DVelocityTest.java53 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f); in testClear()
57 assertEquals(0.0f, vt.getYVelocity()); in testClear()
68 assertGreater(250.0f, vt.getYVelocity()); in testDragAcceleration()
79 assertLower(250.0f, vt.getYVelocity()); in testDragDeceleration()
90 assertEquals(0.0f, vt.getYVelocity()); in testDragLinearHorizontal()
103 assertEqualFuzzy(250.0f, vt.getYVelocity(), 4f); in testDragLinearVertical()
119 assertEquals(1000.0f, vt.getYVelocity()); in testDragWith2Points()
134 float firstY = vt.getYVelocity(); in testStabilityInNbPoints()
139 float secondY = vt.getYVelocity(); in testStabilityInNbPoints()
156 float firstY = vt.getYVelocity(); in testStabilityInTime()
[all …]
/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
DNoisyVelocityTracker.java124 public float getYVelocity() { in getYVelocity() method in NoisyVelocityTracker
DPanelView.java333 vel = mVelocityTracker.getYVelocity(); in onTouchEvent()
335 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
/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.java498 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
504 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
605 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DSwipeHelper.java120 vt.getYVelocity(); in getVelocity()
130 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
DTaskStackViewTouchHandler.java277 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); 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/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java124 vt.getYVelocity(); in getVelocity()
134 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
DExpandHelper.java375 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/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.java288 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java571 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId)); in settleCapturedViewAt()
704 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId), in flingCapturedView()
1391 VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId), in releaseViewForPointerUp()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java438 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
DScrollView.java704 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java401 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector()
1562 public float getYVelocity() {
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DSlidingChallengeLayout.java652 showChallenge((int) mVelocityTracker.getYVelocity(mActivePointerId)); in onTouchEvent()
DPagedView.java2391 if (mVelocityTracker.getYVelocity() < mFlingToDeleteThresholdVelocity) { in isFlingingToDelete()
2394 mVelocityTracker.getYVelocity()); in isFlingingToDelete()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java494 Math.abs(mVelocityTracker.getYVelocity(pointerId))); in handleMotionEventStateTouchExploring()

12