Home
last modified time | relevance | path

Searched refs:getYVelocity (Results 1 – 25 of 68) 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/src/main/java/androidx/core/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.java267 : mVelocityTracker.getYVelocity(), in handleDragActionUpEvent()
270 mRecentsComponent.onDraggingInRecentsEnded(mVelocityTracker.getYVelocity()); in handleDragActionUpEvent()
DNoisyVelocityTracker.java124 public float getYVelocity() { in getYVelocity() method in NoisyVelocityTracker
DPanelView.java466 vel = mVelocityTracker.getYVelocity(); in endMotionEvent()
468 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
518 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()
651 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DScrollManager.java157 int velocityY = (int) mVelocityTracker.getYVelocity(); in onTouchEvent()
/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
DSpringActivity.java92 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/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java144 vt.getYVelocity(); in getVelocity()
154 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
DExpandHelper.java380 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/frameworks/support/customview/src/main/java/androidx/customview/widget/
DViewDragHelper.java584 (int) mVelocityTracker.getYVelocity(mActivePointerId)); in settleCapturedViewAt()
717 (int) mVelocityTracker.getYVelocity(mActivePointerId), in flingCapturedView()
1418 mVelocityTracker.getYVelocity(mActivePointerId), in releaseViewForPointerUp()
/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()
DResolverDrawerLayout.java391 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java337 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); in handleTouchEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java433 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
DStackView.java817 mYVelocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
/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.java407 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector()
1555 public float getYVelocity() {
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DItemTouchHelper.java1225 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkHorizontalSwipe()
1252 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkVerticalSwipe()

123