Home
last modified time | relevance | path

Searched refs:getXVelocity (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java56 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/
DVelocityTracker.java364 public float getXVelocity() { in getXVelocity() method in VelocityTracker
385 public float getXVelocity(int id) { in getXVelocity() method in VelocityTracker
DGestureDetector.java585 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()
DViewRootImpl.java7235 final float vx = mVelocityTracker.getXVelocity(mActivePointerId);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java140 ? mVelocityTracker.getXVelocity() in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDistanceClassifier.java134 float vX = velocityTracker.getXVelocity(); 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.java167 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()
179 vt.getXVelocity(); in getPerpendicularVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DNavigationBarEdgePanel.java624 boolean isSlow = Math.abs(mVelocityTracker.getXVelocity()) < 500; in triggerBack()
760 float xVelocity = mVelocityTracker.getXVelocity(); in handleMoveEvent()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java650 ps.mXVelocity = mVelocity.getXVelocity(id); in onPointerEvent()
654 ps.mAltXVelocity = mAltVelocity.getXVelocity(id); in onPointerEvent()
DViewPager.java2030 … final int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId);
DRecyclerView.java2908 ? -mVelocityTracker.getXVelocity(mScrollPointerId) : 0; in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java485 float aX = mVelocityTracker.getXVelocity(); in getCurrentVelocity()
DPanelViewController.java376 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java441 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent()
DSwitch.java1184 final float xvel = mVelocityTracker.getXVelocity(); in stopDrag()
DHorizontalScrollView.java790 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java416 final float endingVelocityX = mSwipeTracker.getXVelocity(); in initGestureDetector()
1564 public float getXVelocity() {
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1203 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/
DUdfpsController.java309 final float vx = tracker.getXVelocity(pointerId); in computePointerSpeed()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DDividerView.java535 : mVelocityTracker.getXVelocity(), false /* avoidDismissStart */, in onTouch()
/frameworks/base/boot/
Dboot-image-profile.txt17402 HSPLandroid/view/VelocityTracker;->getXVelocity()F
17403 HSPLandroid/view/VelocityTracker;->getXVelocity(I)F
/frameworks/base/core/api/
Dcurrent.txt48477 method public float getXVelocity();
48478 method public float getXVelocity(int);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33269 method public float getXVelocity();
33270 method public float getXVelocity(int);
/frameworks/base/config/
Dboot-image-profile.txt17451 HSPLandroid/view/VelocityTracker;->getXVelocity()F
17452 HSPLandroid/view/VelocityTracker;->getXVelocity(I)F

12