/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 55 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/ |
D | VelocityTracker.java | 174 public float getYVelocity() { in getYVelocity() method in VelocityTracker 196 public float getYVelocity(int id) { in getYVelocity() method in VelocityTracker
|
D | GestureDetector.java | 596 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/ |
D | DistanceClassifier.java | 129 float vY = velocityTracker.getYVelocity(); in calculateDistances()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchState.java | 183 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelViewController.java | 370 float vel = mVelocityTracker.getYVelocity(); in endMotionEvent() 372 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent() 429 return mVelocityTracker.getYVelocity(); in getCurrentExpandVelocity()
|
D | KeyguardAffordanceHelper.java | 483 float aY = mVelocityTracker.getYVelocity(); in getCurrentVelocity()
|
D | NavigationBarEdgePanel.java | 723 float yVelocity = mVelocityTracker.getYVelocity(); in handleMoveEvent()
|
D | NotificationPanelViewController.java | 1823 return mQsVelocityTracker.getYVelocity(); in getCurrentQSVelocity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 165 vt.getYVelocity(); in getVelocity() 175 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
|
D | ExpandHelper.java | 390 return mVelocityTracker.getYVelocity(); in getCurrentVelocity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 196 val canExpand = moveDistance > 0 && velocityTracker!!.getYVelocity() > -1000 && in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 648 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent() 652 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
|
D | ResolverDrawerLayout.java | 452 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 440 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent()
|
D | StackView.java | 821 mYVelocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
|
D | ScrollView.java | 836 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
|
D | AbsListView.java | 4133 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp() 4181 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp() 4652 final float yvel = -vt.getYVelocity(activeId);
|
D | NumberPicker.java | 981 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 1204 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkHorizontalSwipe() 1231 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkVerticalSwipe()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 417 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector() 1568 public float getYVelocity() {
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainer.java | 359 startSpringAnimation(mVelocityTracker.getYVelocity()); in onTouchEvent()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 365 final float velocity = VelocityTrackerCompat.getYVelocity(mVelocityTracker, in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 529 stopDragging(position, isHorizontalDivision() ? mVelocityTracker.getYVelocity() in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 4029 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
|