Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java57 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f); in testClear()
61 assertEquals(0.0f, vt.getYVelocity()); in testClear()
72 assertGreater(250.0f, vt.getYVelocity()); in testDragAcceleration()
83 assertLower(250.0f, vt.getYVelocity()); in testDragDeceleration()
95 assertEquals(0.0f, vt.getYVelocity()); in testDragLinearHorizontal()
109 assertEqualFuzzy(250.0f, vt.getYVelocity(), 4f); in testDragLinearVertical()
126 assertEquals(1000.0f, vt.getYVelocity()); in testDragWith2Points()
142 float firstY = vt.getYVelocity(); in testStabilityInNbPoints()
147 float secondY = vt.getYVelocity(); in testStabilityInNbPoints()
164 float firstY = vt.getYVelocity(); in testStabilityInTime()
[all …]
/frameworks/base/core/java/android/view/
DVelocityTracker.java374 public float getYVelocity() { in getYVelocity() method in VelocityTracker
396 public float getYVelocity(int id) { in getYVelocity() method in VelocityTracker
DGestureDetector.java586 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
592 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
758 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java141 : mVelocityTracker.getYVelocity(); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDistanceClassifier.java135 float vY = velocityTracker.getYVelocity(); in calculateDistances()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java188 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java168 vt.getYVelocity(); in getVelocity()
178 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
DExpandHelper.java390 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelViewController.java374 float vel = mVelocityTracker.getYVelocity(); in endMotionEvent()
376 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
426 return mVelocityTracker.getYVelocity(); in getCurrentExpandVelocity()
DKeyguardAffordanceHelper.java486 float aY = mVelocityTracker.getYVelocity(); in getCurrentVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt207 val canExpand = moveDistance > 0 && velocityTracker!!.getYVelocity() > -1000 && in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java651 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent()
655 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
DResolverDrawerLayout.java452 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java455 startSpringAnimation(mVelocityTracker.getYVelocity()); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java440 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
DStackView.java821 mYVelocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
DScrollView.java865 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
DAbsListView.java4202 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp()
4255 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp()
4729 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/navigationbar/gestural/
DNavigationBarEdgePanel.java761 float yVelocity = mVelocityTracker.getYVelocity(); in handleMoveEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsController.java310 final float vy = tracker.getYVelocity(pointerId); in computePointerSpeed()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java365 final float velocity = VelocityTrackerCompat.getYVelocity(mVelocityTracker, in onTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DDividerView.java534 stopDragging(position, isHorizontalDivision() ? mVelocityTracker.getYVelocity() in onTouch()

12