Home
last modified time | relevance | path

Searched refs:getYVelocity (Results 1 – 25 of 32) 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.java568 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
574 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
740 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTouchHandler.java153 final float velY = mVelocityTracker.getYVelocity(); in onTouch()
171 final float velY = mVelocityTracker.getYVelocity(); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DDistanceClassifier.java126 float vY = velocityTracker.getYVelocity(); in calculateDistances()
/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/statusbar/phone/
DPanelView.java468 float vel = mVelocityTracker.getYVelocity(); in endMotionEvent()
470 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
514 return mVelocityTracker.getYVelocity(); in getCurrentExpandVelocity()
DKeyguardAffordanceHelper.java483 float aY = mVelocityTracker.getYVelocity(); in getCurrentVelocity()
DNavigationBarEdgePanel.java651 float yVelocity = mVelocityTracker.getYVelocity(); in handleMoveEvent()
DNotificationPanelView.java1674 return mQsVelocityTracker.getYVelocity(); in getCurrentQSVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java146 vt.getYVelocity(); in getVelocity()
156 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
DExpandHelper.java380 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java626 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent()
630 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
DResolverDrawerLayout.java417 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java218 startSpringAnimation(mVelocityTracker.getYVelocity()); in onTouchEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java337 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); in handleTouchEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java440 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
DStackView.java819 mYVelocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
DScrollView.java836 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
DAbsListView.java4152 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp()
4200 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp()
4671 final float yvel = -vt.getYVelocity(activeId);
DNumberPicker.java980 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java417 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector()
1568 public float getYVelocity() {
/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/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java536 stopDragging(position, isHorizontalDivision() ? mVelocityTracker.getYVelocity() in onTouch()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java365 final float velocity = VelocityTrackerCompat.getYVelocity(mVelocityTracker, in onTouchEvent()

12