/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 57 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/ |
D | VelocityTracker.java | 374 public float getYVelocity() { in getYVelocity() method in VelocityTracker 396 public float getYVelocity(int id) { in getYVelocity() method in VelocityTracker
|
D | GestureDetector.java | 586 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/ |
D | DividerView.java | 141 : mVelocityTracker.getYVelocity(); in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DistanceClassifier.java | 135 float vY = velocityTracker.getYVelocity(); in calculateDistances()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipTouchState.java | 188 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 168 vt.getYVelocity(); in getVelocity() 178 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/phone/ |
D | PanelViewController.java | 374 float vel = mVelocityTracker.getYVelocity(); in endMotionEvent() 376 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent() 426 return mVelocityTracker.getYVelocity(); in getCurrentExpandVelocity()
|
D | KeyguardAffordanceHelper.java | 486 float aY = mVelocityTracker.getYVelocity(); in getCurrentVelocity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 207 val canExpand = moveDistance > 0 && velocityTracker!!.getYVelocity() > -1000 && in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 651 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent() 655 ps.mAltYVelocity = mAltVelocity.getYVelocity(id); in onPointerEvent()
|
D | ResolverDrawerLayout.java | 452 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainer.java | 455 startSpringAnimation(mVelocityTracker.getYVelocity()); 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 | 865 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
|
D | AbsListView.java | 4202 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp() 4255 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp() 4729 final float yvel = -vt.getYVelocity(activeId);
|
D | NumberPicker.java | 980 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 417 final float endingVelocityY = mSwipeTracker.getYVelocity(); in initGestureDetector() 1568 public float getYVelocity() {
|
/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/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | NavigationBarEdgePanel.java | 761 float yVelocity = mVelocityTracker.getYVelocity(); in handleMoveEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsController.java | 310 final float vy = tracker.getYVelocity(pointerId); in computePointerSpeed()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 365 final float velocity = VelocityTrackerCompat.getYVelocity(mVelocityTracker, in onTouchEvent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | DividerView.java | 534 stopDragging(position, isHorizontalDivision() ? mVelocityTracker.getYVelocity() in onTouch()
|