/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 56 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f); in testClear() 60 assertEquals(0.0f, vt.getXVelocity()); in testClear() 71 assertGreater(250.0f, vt.getXVelocity()); in testDragAcceleration() 82 assertLower(250.0f, vt.getXVelocity()); in testDragDeceleration() 96 assertEqualFuzzy(250.0f, vt.getXVelocity(), 4f); in testDragLinearHorizontal() 108 assertEquals(0.0f, vt.getXVelocity()); in testDragLinearVertical() 125 assertEquals(1000.0f, vt.getXVelocity()); in testDragWith2Points() 141 float firstX = vt.getXVelocity(); in testStabilityInNbPoints() 146 float secondX = vt.getXVelocity(); in testStabilityInNbPoints() 163 float firstX = vt.getXVelocity(); in testStabilityInTime() [all …]
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 364 public float getXVelocity() { in getXVelocity() method in VelocityTracker 385 public float getXVelocity(int id) { in getXVelocity() method in VelocityTracker
|
D | GestureDetector.java | 585 final float x1 = mVelocityTracker.getXVelocity(id1); in onTouchEvent() 591 final float x = x1 * mVelocityTracker.getXVelocity(id2); in onTouchEvent() 759 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent()
|
D | ViewRootImpl.java | 7235 final float vx = mVelocityTracker.getXVelocity(mActivePointerId);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DividerView.java | 140 ? mVelocityTracker.getXVelocity() in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DistanceClassifier.java | 134 float vX = velocityTracker.getXVelocity(); 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 | 167 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity() 179 vt.getXVelocity(); in getPerpendicularVelocity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | NavigationBarEdgePanel.java | 624 boolean isSlow = Math.abs(mVelocityTracker.getXVelocity()) < 500; in triggerBack() 760 float xVelocity = mVelocityTracker.getXVelocity(); in handleMoveEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 650 ps.mXVelocity = mVelocity.getXVelocity(id); in onPointerEvent() 654 ps.mAltXVelocity = mAltVelocity.getXVelocity(id); in onPointerEvent()
|
D | ViewPager.java | 2030 … final int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId);
|
D | RecyclerView.java | 2908 ? -mVelocityTracker.getXVelocity(mScrollPointerId) : 0; in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardAffordanceHelper.java | 485 float aX = mVelocityTracker.getXVelocity(); in getCurrentVelocity()
|
D | PanelViewController.java | 376 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 441 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent()
|
D | Switch.java | 1184 final float xvel = mVelocityTracker.getXVelocity(); in stopDrag()
|
D | HorizontalScrollView.java | 790 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 416 final float endingVelocityX = mSwipeTracker.getXVelocity(); in initGestureDetector() 1564 public float getXVelocity() {
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 1203 final float xVelocity = mVelocityTracker.getXVelocity(mActivePointerId); in checkHorizontalSwipe() 1230 final float xVelocity = mVelocityTracker.getXVelocity(mActivePointerId); in checkVerticalSwipe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsController.java | 309 final float vx = tracker.getXVelocity(pointerId); in computePointerSpeed()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | DividerView.java | 535 : mVelocityTracker.getXVelocity(), false /* avoidDismissStart */, in onTouch()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 17402 HSPLandroid/view/VelocityTracker;->getXVelocity()F 17403 HSPLandroid/view/VelocityTracker;->getXVelocity(I)F
|
/frameworks/base/core/api/ |
D | current.txt | 48477 method public float getXVelocity(); 48478 method public float getXVelocity(int);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 33269 method public float getXVelocity(); 33270 method public float getXVelocity(int);
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 17451 HSPLandroid/view/VelocityTracker;->getXVelocity()F 17452 HSPLandroid/view/VelocityTracker;->getXVelocity(I)F
|