Home
last modified time | relevance | path

Searched refs:computeCurrentVelocity (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java52 vt.computeCurrentVelocity(1); in testClear()
56 vt.computeCurrentVelocity(1); in testClear()
67 vt.computeCurrentVelocity(1000); in testDragAcceleration()
78 vt.computeCurrentVelocity(1000); in testDragDeceleration()
91 vt.computeCurrentVelocity(1000); in testDragLinearHorizontal()
104 vt.computeCurrentVelocity(1000); in testDragLinearVertical()
121 vt.computeCurrentVelocity(1000); in testDragWith2Points()
137 vt.computeCurrentVelocity(1); in testStabilityInNbPoints()
142 vt.computeCurrentVelocity(1); in testStabilityInNbPoints()
159 vt.computeCurrentVelocity(1); in testStabilityInTime()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPlatformVelocityTracker.java53 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() method in PlatformVelocityTracker
54 mTracker.computeCurrentVelocity(units); in computeCurrentVelocity()
DVelocityTrackerInterface.java27 public void computeCurrentVelocity(int units); in computeCurrentVelocity() method
DNoisyVelocityTracker.java66 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() method in NoisyVelocityTracker
DNavigationBarGestureHelper.java243 mVelocityTracker.computeCurrentVelocity(1000); in handleDragActionUpEvent()
DKeyguardAffordanceHelper.java487 mVelocityTracker.computeCurrentVelocity(1000); in getCurrentVelocity()
DPanelView.java380 mVelocityTracker.computeCurrentVelocity(1000); in endMotionEvent()
/frameworks/base/core/java/android/view/
DVelocityTracker.java135 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() method in VelocityTracker
152 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() method in VelocityTracker
DGestureDetector.java534 mVelocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
644 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp52 void computeCurrentVelocity(int32_t units, float maxVelocity);
81 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity() function in android::VelocityTrackerState
176 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java263 mVelocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
372 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
/frameworks/base/docs/html/training/gestures/
Dmovement.jd130 // computeCurrentVelocity(). Then call getXVelocity()
132 mVelocityTracker.computeCurrentVelocity(1000);
/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java547 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()
567 velocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in onTouchEvent()
DSwipeDismissLayout.java317 mVelocityTracker.computeCurrentVelocity(1000);
DPointerLocationView.java576 mVelocity.computeCurrentVelocity(1); in onPointerEvent()
579 mAltVelocity.computeCurrentVelocity(1); in onPointerEvent()
DResolverDrawerLayout.java362 mVelocityTracker.computeCurrentVelocity(1000); in onTouchEvent()
/frameworks/support/design/src/android/support/design/widget/
DHeaderBehavior.java170 mVelocityTracker.computeCurrentVelocity(1000); in onTouchEvent()
DBottomSheetBehavior.java563 mVelocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in getYVelocity()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java407 mSwipeTracker.computeCurrentVelocity(1000); in initGestureDetector()
1528 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() method in KeyboardView.SwipeTracker
1529 computeCurrentVelocity(units, Float.MAX_VALUE); in computeCurrentVelocity()
1532 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() method in KeyboardView.SwipeTracker
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java371 mVelocityTracker.computeCurrentVelocity(1000); in getCurrentVelocity()
DSwipeHelper.java579 mVelocityTracker.computeCurrentVelocity(1000 /* px/sec */, getMaxVelocity());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java328 mVelocityTracker.computeCurrentVelocity(1000, mMaximumVelocity); in handleTouchEvent()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java433 velocityTracker.computeCurrentVelocity(mVelocityUnits); in onTouchEvent()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java1208 mVelocityTracker.computeCurrentVelocity(PIXELS_PER_SECOND, in checkHorizontalSwipe()
1237 mVelocityTracker.computeCurrentVelocity(PIXELS_PER_SECOND, in checkVerticalSwipe()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java1404 mVelocityTracker.computeCurrentVelocity(1000, mMaxVelocity); in releaseViewForPointerUp()

12