Searched refs:getYVelocity (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/support/compat/java/android/support/v4/view/
H A DVelocityTrackerCompat.java41 * Call {@link VelocityTracker#getYVelocity(int)}.
43 * returns {@link VelocityTracker#getYVelocity()}.
45 * @deprecated Use {@link VelocityTracker#getYVelocity(int)} directly.
48 public static float getYVelocity(VelocityTracker tracker, int pointerId) { method in class:VelocityTrackerCompat
49 return tracker.getYVelocity(pointerId);
H A DGestureDetectorCompat.java271 final float y1 = mVelocityTracker.getYVelocity(id1);
277 final float y = y1 * mVelocityTracker.getYVelocity(id2);
379 final float velocityY = velocityTracker.getYVelocity(pointerId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DVelocityTrackerInterface.java29 public float getYVelocity(); method in interface:VelocityTrackerInterface
H A DPlatformVelocityTracker.java63 public float getYVelocity() { method in class:PlatformVelocityTracker
64 return mTracker.getYVelocity();
H A DNoisyVelocityTracker.java124 public float getYVelocity() { method in class:NoisyVelocityTracker
H A DNavigationBarGestureHelper.java257 : mVelocityTracker.getYVelocity(),
260 mRecentsComponent.onDraggingInRecentsEnded(mVelocityTracker.getYVelocity());
H A DPanelView.java454 vel = mVelocityTracker.getYVelocity();
456 mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity());
505 return mVelocityTracker.getYVelocity();
H A DKeyguardAffordanceHelper.java489 float aY = mVelocityTracker.getYVelocity();
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java54 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f);
58 assertEquals(0.0f, vt.getYVelocity());
69 assertGreater(250.0f, vt.getYVelocity());
80 assertLower(250.0f, vt.getYVelocity());
92 assertEquals(0.0f, vt.getYVelocity());
106 assertEqualFuzzy(250.0f, vt.getYVelocity(), 4f);
123 assertEquals(1000.0f, vt.getYVelocity());
139 float firstY = vt.getYVelocity();
144 float secondY = vt.getYVelocity();
161 float firstY = vt.getYVelocity();
[all...]
/frameworks/base/core/java/android/view/
H A DVelocityTracker.java29 * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id.
144 * {@link #getYVelocity()}.
172 public float getYVelocity() { method in class:VelocityTracker
194 public float getYVelocity(int id) { method in class:VelocityTracker
H A DGestureDetector.java540 final float y1 = mVelocityTracker.getYVelocity(id1);
546 final float y = y1 * mVelocityTracker.getYVelocity(id2);
650 final float velocityY = velocityTracker.getYVelocity(pointerId);
/frameworks/support/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
H A DSpringActivity.java91 float velocity = vt.getYVelocity();
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
H A DSpringActivity.java91 float velocity = vt.getYVelocity();
/frameworks/support/wear/src/android/support/wear/widget/
H A DScrollManager.java160 int velocityY = (int) mVelocityTracker.getYVelocity();
/frameworks/support/design/src/android/support/design/widget/
H A DBottomSheetBehavior.java396 } else if (mHideable && shouldHide(child, getYVelocity())) {
617 private float getYVelocity() { method in class:BottomSheetBehavior
619 return mVelocityTracker.getYVelocity(mActivePointerId);
H A DHeaderBehavior.java169 float yvel = mVelocityTracker.getYVelocity(mActivePointerId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipTouchState.java179 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity());
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java148 vt.getYVelocity();
158 return mSwipeDirection == X ? vt.getYVelocity() :
H A DExpandHelper.java380 return mVelocityTracker.getYVelocity();
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DViewDragHelper.java573 (int) mVelocityTracker.getYVelocity(mActivePointerId));
706 (int) mVelocityTracker.getYVelocity(mActivePointerId),
1407 mVelocityTracker.getYVelocity(mActivePointerId),
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java609 ps.mYVelocity = mVelocity.getYVelocity(id);
613 ps.mAltYVelocity = mAltVelocity.getYVelocity(id);
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java433 float yVelocity = velocityTracker.getYVelocity();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackViewTouchHandler.java335 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java409 final float endingVelocityY = mSwipeTracker.getYVelocity();
1555 public float getYVelocity() { method in class:KeyboardView.SwipeTracker
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java1204 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId);
1231 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId);

Completed in 496 milliseconds

12