Home
last modified time | relevance | path

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

/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.java55 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f); in testClear()
59 assertEquals(0.0f, vt.getYVelocity()); in testClear()
70 assertGreater(250.0f, vt.getYVelocity()); in testDragAcceleration()
81 assertLower(250.0f, vt.getYVelocity()); in testDragDeceleration()
92 assertEquals(0.0f, vt.getYVelocity()); in testDragLinearHorizontal()
105 assertEqualFuzzy(250.0f, vt.getYVelocity(), 4f); in testDragLinearVertical()
121 assertEquals(1000.0f, vt.getYVelocity()); in testDragWith2Points()
136 float firstY = vt.getYVelocity(); in testStabilityInNbPoints()
141 float secondY = vt.getYVelocity(); in testStabilityInNbPoints()
158 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/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()
DViewRootImpl.java4638 final float vy = mVelocityTracker.getYVelocity(mActivePointerId); in process()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java112 vt.getYVelocity(); in getVelocity()
122 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
/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.java543 -(int) velocityTracker.getYVelocity(); in onTouchEvent()
563 - (int) velocityTracker.getYVelocity(); in onTouchEvent()
DPointerLocationView.java605 ps.mYVelocity = mVelocity.getYVelocity(id); in addPointerEvent()
609 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in addPointerEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java179 public float getYVelocity() { in getYVelocity() method in PanelView.FlingTracker
461 yVel = mVelocityTracker.getYVelocity();
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java564 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId)); in settleCapturedViewAt()
697 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId), in flingCapturedView()
1360 VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId), in releaseViewForPointerUp()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java417 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
DScrollView.java671 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
DStackView.java812 mYVelocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
DAbsListView.java3681 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp()
3720 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp()
4083 final float yvel = -vt.getYVelocity(activeId);
DNumberPicker.java887 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java397 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector()
1557 public float getYVelocity() {
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DSlidingChallengeLayout.java652 showChallenge((int) mVelocityTracker.getYVelocity(mActivePointerId)); in onTouchEvent()
DPagedView.java2393 if (mVelocityTracker.getYVelocity() < mFlingToDeleteThresholdVelocity) { in isFlingingToDelete()
2396 mVelocityTracker.getYVelocity()); in isFlingingToDelete()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java365 final float velocity = VelocityTrackerCompat.getYVelocity(mVelocityTracker, in onTouchEvent()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java486 Math.abs(mVelocityTracker.getYVelocity(pointerId))); in handleMotionEventStateTouchExploring()
/frameworks/base/docs/html/sdk/api_diff/8/
DmissingSinces.txt167 NO DOC BLOCK: android.view.VelocityTracker Method getYVelocity(int)
/frameworks/base/api/
Dcurrent.txt27477 method public float getYVelocity();
27478 method public float getYVelocity(int);