Home
last modified time | relevance | path

Searched refs:getXVelocity (Results 1 – 22 of 22) sorted by relevance

/frameworks/support/v4/java/android/support/v4/view/
DVelocityTrackerCompat.java30 public float getXVelocity(VelocityTracker tracker, int pointerId); in getXVelocity() method
39 public float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() method in VelocityTrackerCompat.BaseVelocityTrackerVersionImpl
40 return tracker.getXVelocity(); in getXVelocity()
53 public float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() method in VelocityTrackerCompat.HoneycombVelocityTrackerVersionImpl
54 return VelocityTrackerCompatHoneycomb.getXVelocity(tracker, pointerId); in getXVelocity()
81 public static float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() method in VelocityTrackerCompat
82 return IMPL.getXVelocity(tracker, pointerId); in getXVelocity()
DGestureDetectorCompat.java266 final float x1 = VelocityTrackerCompat.getXVelocity(mVelocityTracker, id1); in onTouchEvent()
272 final float x = x1 * VelocityTrackerCompat.getXVelocity(mVelocityTracker, id2); in onTouchEvent()
375 final float velocityX = VelocityTrackerCompat.getXVelocity( in onTouchEvent()
DViewPager.java2001 int initialVelocity = (int) VelocityTrackerCompat.getXVelocity(
2305 int initialVelocity = (int) VelocityTrackerCompat.getXVelocity(
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java54 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f); in testClear()
58 assertEquals(0.0f, vt.getXVelocity()); in testClear()
69 assertGreater(250.0f, vt.getXVelocity()); in testDragAcceleration()
80 assertLower(250.0f, vt.getXVelocity()); in testDragDeceleration()
93 assertEqualFuzzy(250.0f, vt.getXVelocity(), 4f); in testDragLinearHorizontal()
104 assertEquals(0.0f, vt.getXVelocity()); in testDragLinearVertical()
120 assertEquals(1000.0f, vt.getXVelocity()); in testDragWith2Points()
135 float firstX = vt.getXVelocity(); in testStabilityInNbPoints()
140 float secondX = vt.getXVelocity(); in testStabilityInNbPoints()
157 float firstX = vt.getXVelocity(); in testStabilityInTime()
[all …]
/frameworks/support/v4/honeycomb/android/support/v4/view/
DVelocityTrackerCompatHoneycomb.java25 public static float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() method in VelocityTrackerCompatHoneycomb
26 return tracker.getXVelocity(pointerId); in getXVelocity()
/frameworks/base/core/java/android/view/
DVelocityTracker.java162 public float getXVelocity() { in getXVelocity() method in VelocityTracker
183 public float getXVelocity(int id) { in getXVelocity() method in VelocityTracker
DGestureDetector.java497 final float x1 = mVelocityTracker.getXVelocity(id1); in onTouchEvent()
503 final float x = x1 * mVelocityTracker.getXVelocity(id2); in onTouchEvent()
606 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent()
DViewRootImpl.java4637 final float vx = mVelocityTracker.getXVelocity(mActivePointerId); in process()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java111 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()
123 vt.getXVelocity(); in getPerpendicularVelocity()
/frameworks/base/docs/html/training/gestures/
Dmovement.jd130 // computeCurrentVelocity(). Then call getXVelocity()
136 VelocityTrackerCompat.getXVelocity(mVelocityTracker,
/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java542 (int) velocityTracker.getXVelocity(): in onTouchEvent()
562 (int) velocityTracker.getXVelocity(): in onTouchEvent()
DPointerLocationView.java604 ps.mXVelocity = mVelocity.getXVelocity(id); in addPointerEvent()
608 ps.mAltXVelocity = mAltVelocity.getXVelocity(id); in addPointerEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java170 public float getXVelocity() { in getXVelocity() method in PanelView.FlingTracker
464 xVel = mVelocityTracker.getXVelocity();
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java563 (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId), in settleCapturedViewAt()
696 (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId), in flingCapturedView()
1357 VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId), in releaseViewForPointerUp()
/frameworks/base/core/java/android/widget/
DSwitch.java629 float xvel = mVelocityTracker.getXVelocity(); in stopDrag()
DSlidingDrawer.java418 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent()
DHorizontalScrollView.java635 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java396 final float endingVelocityX = mSwipeTracker.getXVelocity(); in initGestureDetector()
1553 public float getXVelocity() {
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java1583 int velocityX = (int) velocityTracker.getXVelocity(activePointerId); in onTouchEvent()
2395 PointF vel = new PointF(mVelocityTracker.getXVelocity(), in isFlingingToDelete()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java485 Math.abs(mVelocityTracker.getXVelocity(pointerId)), in handleMotionEventStateTouchExploring()
/frameworks/base/docs/html/sdk/api_diff/8/
DmissingSinces.txt166 NO DOC BLOCK: android.view.VelocityTracker Method getXVelocity(int)
/frameworks/base/api/
Dcurrent.txt27475 method public float getXVelocity();
27476 method public float getXVelocity(int);