Home
last modified time | relevance | path

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

123

/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/compat/java/android/support/v4/view/
DVelocityTrackerCompat.java48 public static float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() method in VelocityTrackerCompat
49 return tracker.getYVelocity(pointerId); in getYVelocity()
DGestureDetectorCompat.java271 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
277 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
379 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
/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.java257 : mVelocityTracker.getYVelocity(), in handleDragActionUpEvent()
260 mRecentsComponent.onDraggingInRecentsEnded(mVelocityTracker.getYVelocity()); in handleDragActionUpEvent()
DNoisyVelocityTracker.java124 public float getYVelocity() { in getYVelocity() method in NoisyVelocityTracker
DPanelView.java454 vel = mVelocityTracker.getYVelocity(); in endMotionEvent()
456 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
505 return mVelocityTracker.getYVelocity(); in getCurrentExpandVelocity()
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.java540 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
546 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
650 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
/frameworks/support/wear/src/android/support/wear/widget/
DScrollManager.java160 int velocityY = (int) mVelocityTracker.getYVelocity(); in onTouchEvent()
/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java396 } else if (mHideable && shouldHide(child, getYVelocity())) { in onStopNestedScroll()
617 private float getYVelocity() { in getYVelocity() method in BottomSheetBehavior
619 return mVelocityTracker.getYVelocity(mActivePointerId); in getYVelocity()
DHeaderBehavior.java169 float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
DSpringActivity.java91 float velocity = vt.getYVelocity(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java179 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
/frameworks/support/core-ui/java/android/support/v4/widget/
DViewDragHelper.java573 (int) mVelocityTracker.getYVelocity(mActivePointerId)); in settleCapturedViewAt()
706 (int) mVelocityTracker.getYVelocity(mActivePointerId), in flingCapturedView()
1407 mVelocityTracker.getYVelocity(mActivePointerId), in releaseViewForPointerUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java148 vt.getYVelocity(); in getVelocity()
158 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
DExpandHelper.java380 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java609 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent()
613 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java433 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java335 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); in handleTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1204 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkHorizontalSwipe()
1231 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkVerticalSwipe()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java409 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector()
1555 public float getYVelocity() {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java1202 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkHorizontalSwipe()
1229 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkVerticalSwipe()

123