Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java54 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f); in testClear()
58 assertEquals(0.0f, vt.getXVelocity()); in testClear()
69 assertGreater(250.0f, vt.getXVelocity()); in testDragAcceleration()
80 assertLower(250.0f, vt.getXVelocity()); in testDragDeceleration()
94 assertEqualFuzzy(250.0f, vt.getXVelocity(), 4f); in testDragLinearHorizontal()
106 assertEquals(0.0f, vt.getXVelocity()); in testDragLinearVertical()
123 assertEquals(1000.0f, vt.getXVelocity()); in testDragWith2Points()
139 float firstX = vt.getXVelocity(); in testStabilityInNbPoints()
144 float secondX = vt.getXVelocity(); in testStabilityInNbPoints()
161 float firstX = vt.getXVelocity(); in testStabilityInTime()
[all …]
/frameworks/base/core/java/android/view/
DVelocityTracker.java164 public float getXVelocity() { in getXVelocity() method in VelocityTracker
185 public float getXVelocity(int id) { in getXVelocity() method in VelocityTracker
DGestureDetector.java595 final float x1 = mVelocityTracker.getXVelocity(id1); in onTouchEvent()
601 final float x = x1 * mVelocityTracker.getXVelocity(id2); in onTouchEvent()
769 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent()
DViewRootImpl.java6902 final float vx = mVelocityTracker.getXVelocity(mActivePointerId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DDistanceClassifier.java128 float vX = velocityTracker.getXVelocity(); in calculateDistances()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java183 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarEdgePanel.java599 boolean isSlow = Math.abs(mVelocityTracker.getXVelocity()) < 500; in triggerBack()
722 float xVelocity = mVelocityTracker.getXVelocity(); in handleMoveEvent()
DKeyguardAffordanceHelper.java482 float aX = mVelocityTracker.getXVelocity(); in getCurrentVelocity()
DPanelViewController.java372 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in endMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java164 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()
176 vt.getXVelocity(); in getPerpendicularVelocity()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java647 ps.mXVelocity = mVelocity.getXVelocity(id); in onPointerEvent()
651 ps.mAltXVelocity = mAltVelocity.getXVelocity(id); in onPointerEvent()
DViewPager.java2019 … final int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId);
DRecyclerView.java2867 ? -mVelocityTracker.getXVelocity(mScrollPointerId) : 0; in onTouchEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java441 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent()
DSwitch.java1119 final float xvel = mVelocityTracker.getXVelocity(); in stopDrag()
DHorizontalScrollView.java764 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent()
/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/core/java/android/inputmethodservice/
DKeyboardView.java416 final float endingVelocityX = mSwipeTracker.getXVelocity(); in initGestureDetector()
1564 public float getXVelocity() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java530 : mVelocityTracker.getXVelocity(), false /* avoidDismissStart */, in onTouch()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33269 method public float getXVelocity();
33270 method public float getXVelocity(int);
/frameworks/base/config/
Dboot-image-profile.txt22295 HSPLandroid/view/VelocityTracker;->getXVelocity()F
22296 HSPLandroid/view/VelocityTracker;->getXVelocity(I)F
/frameworks/base/api/
Dcurrent.txt53691 method public float getXVelocity();
53692 method public float getXVelocity(int);