Home
last modified time | relevance | path

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

12

/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()
93 assertEquals(0.0f, vt.getYVelocity()); in testDragLinearHorizontal()
107 assertEqualFuzzy(250.0f, vt.getYVelocity(), 4f); in testDragLinearVertical()
124 assertEquals(1000.0f, vt.getYVelocity()); in testDragWith2Points()
140 float firstY = vt.getYVelocity(); in testStabilityInNbPoints()
145 float secondY = vt.getYVelocity(); in testStabilityInNbPoints()
162 float firstY = vt.getYVelocity(); in testStabilityInTime()
[all …]
/frameworks/base/core/java/android/view/
DVelocityTracker.java174 public float getYVelocity() { in getYVelocity() method in VelocityTracker
196 public float getYVelocity(int id) { in getYVelocity() method in VelocityTracker
DGestureDetector.java596 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
602 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
768 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DDistanceClassifier.java129 float vY = velocityTracker.getYVelocity(); in calculateDistances()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java183 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelViewController.java370 float vel = mVelocityTracker.getYVelocity(); in endMotionEvent()
372 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
429 return mVelocityTracker.getYVelocity(); in getCurrentExpandVelocity()
DKeyguardAffordanceHelper.java483 float aY = mVelocityTracker.getYVelocity(); in getCurrentVelocity()
DNavigationBarEdgePanel.java723 float yVelocity = mVelocityTracker.getYVelocity(); in handleMoveEvent()
DNotificationPanelViewController.java1823 return mQsVelocityTracker.getYVelocity(); in getCurrentQSVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java165 vt.getYVelocity(); in getVelocity()
175 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
DExpandHelper.java390 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt196 val canExpand = moveDistance > 0 && velocityTracker!!.getYVelocity() > -1000 && in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java648 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent()
652 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
DResolverDrawerLayout.java452 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java440 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
DStackView.java821 mYVelocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
DScrollView.java836 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
DAbsListView.java4133 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp()
4181 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp()
4652 final float yvel = -vt.getYVelocity(activeId);
DNumberPicker.java981 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent()
/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.java417 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector()
1568 public float getYVelocity() {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java359 startSpringAnimation(mVelocityTracker.getYVelocity()); in onTouchEvent()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java365 final float velocity = VelocityTrackerCompat.getYVelocity(mVelocityTracker, in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java529 stopDragging(position, isHorizontalDivision() ? mVelocityTracker.getYVelocity() in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java4029 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);

12