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

12

/frameworks/support/compat/java/android/support/v4/view/
H A DVelocityTrackerCompat.java31 public float getYVelocity(VelocityTracker tracker, int pointerId); method in interface:VelocityTrackerCompat.VelocityTrackerVersionImpl
43 public float getYVelocity(VelocityTracker tracker, int pointerId) { method in class:VelocityTrackerCompat.BaseVelocityTrackerVersionImpl
44 return tracker.getYVelocity();
57 public float getYVelocity(VelocityTracker tracker, int pointerId) { method in class:VelocityTrackerCompat.HoneycombVelocityTrackerVersionImpl
58 return VelocityTrackerCompatHoneycomb.getYVelocity(tracker, pointerId);
86 * Call {@link VelocityTracker#getYVelocity(int)}.
88 * returns {@link VelocityTracker#getYVelocity()}.
90 public static float getYVelocity(VelocityTracker tracker, int pointerId) { method in class:VelocityTrackerCompat
91 return IMPL.getYVelocity(tracker, pointerId);
H A DGestureDetectorCompat.java271 final float y1 = VelocityTrackerCompat.getYVelocity(mVelocityTracker, id1);
277 final float y = y1 * VelocityTrackerCompat.getYVelocity(mVelocityTracker, id2);
377 final float velocityY = VelocityTrackerCompat.getYVelocity(
/frameworks/support/compat/honeycomb/android/support/v4/view/
H A DVelocityTrackerCompatHoneycomb.java28 public static float getYVelocity(VelocityTracker tracker, int pointerId) { method in class:VelocityTrackerCompatHoneycomb
29 return tracker.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.java251 : mVelocityTracker.getYVelocity(),
254 mRecentsComponent.onDraggingInRecentsEnded(mVelocityTracker.getYVelocity());
H A DPanelView.java385 vel = mVelocityTracker.getYVelocity();
387 mVelocityTracker.getXVelocity(), 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.java538 final float y1 = mVelocityTracker.getYVelocity(id1);
544 final float y = y1 * mVelocityTracker.getYVelocity(id2);
645 final float velocityY = velocityTracker.getYVelocity(pointerId);
/frameworks/support/design/src/android/support/design/widget/
H A DBottomSheetBehavior.java396 } else if (mHideable && shouldHide(child, getYVelocity())) {
616 private float getYVelocity() { method in class:BottomSheetBehavior
618 return VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId);
H A DHeaderBehavior.java170 float yvel = VelocityTrackerCompat.getYVelocity(mVelocityTracker,
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java550 -(int) velocityTracker.getYVelocity();
570 - (int) velocityTracker.getYVelocity();
H A DPointerLocationView.java608 ps.mYVelocity = mVelocity.getYVelocity(id);
612 ps.mAltYVelocity = mAltVelocity.getYVelocity(id);
H A DResolverDrawerLayout.java363 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java136 vt.getYVelocity();
146 return mSwipeDirection == X ? vt.getYVelocity() :
H A DExpandHelper.java372 return mVelocityTracker.getYVelocity();
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DViewDragHelper.java574 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId));
707 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId),
1411 VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId),
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java435 float yVelocity = velocityTracker.getYVelocity();
H A DScrollView.java720 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackViewTouchHandler.java331 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java409 final float endingVelocityY = mSwipeTracker.getYVelocity();
1573 public float getYVelocity() { method in class:KeyboardView.SwipeTracker
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java1212 .getYVelocity(mVelocityTracker, mActivePointerId);
1241 .getYVelocity(mVelocityTracker, mActivePointerId);

Completed in 684 milliseconds

12