Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java55 vt.computeCurrentVelocity(1); in testClear()
59 vt.computeCurrentVelocity(1); in testClear()
140 vt.computeCurrentVelocity(1); in testStabilityInNbPoints()
145 vt.computeCurrentVelocity(1); in testStabilityInNbPoints()
162 vt.computeCurrentVelocity(1); in testStabilityInTime()
167 vt.computeCurrentVelocity(1); in testStabilityInTime()
184 vt.computeCurrentVelocity(1); in testStabilityInSpace()
189 vt.computeCurrentVelocity(1); in testStabilityInSpace()
206 vt.computeCurrentVelocity(1); in testStabilityOfComputation()
209 vt.computeCurrentVelocity(1); in testStabilityOfComputation()
[all …]
/aosp14/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp44 void computeCurrentVelocity(int32_t units, float maxVelocity);
63 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity() function in android::VelocityTrackerState
116 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
/aosp14/frameworks/base/core/java/android/view/
H A DVelocityTracker.java363 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() method in VelocityTracker
382 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() method in VelocityTracker
H A DGestureDetector.java588 mVelocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
763 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
H A DMagnetizedObject.kt374 velocityTracker.computeCurrentVelocity(1000)
394 velocityTracker.computeCurrentVelocity(1000)
410 velocityTracker.computeCurrentVelocity(1000 /* units */)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubblesNavBarMotionEventHandler.java101 getVelocityTracker().computeCurrentVelocity(VELOCITY_UNITS); in onMotionEvent()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
H A DRelativeTouchListener.kt135 velocityTracker.computeCurrentVelocity(1000 /* units */)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuListViewTouchHandler.java104 mVelocityTracker.computeCurrentVelocity(VELOCITY_UNIT_SECONDS); in onInterceptTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DDistanceClassifier.java134 velocityTracker.computeCurrentVelocity(1); in calculateDistances()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipTouchState.java206 mVelocityTracker.computeCurrentVelocity(1000, in onTouchEvent()
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java417 mSwipeTracker.computeCurrentVelocity(1000); in initGestureDetector()
1525 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() method in KeyboardView.SwipeTracker
1526 computeCurrentVelocity(units, Float.MAX_VALUE); in computeCurrentVelocity()
1529 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() method in KeyboardView.SwipeTracker
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/
H A DBouncerSwipeTouchHandler.java300 mVelocityTracker.computeCurrentVelocity(1000); in onMotionEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DPulseExpansionHandler.kt220 velocityTracker!!.computeCurrentVelocity(1000 /* units */)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DNavigationBarEdgePanel.java645 mVelocityTracker.computeCurrentVelocity(1000); in triggerBack()
782 mVelocityTracker.computeCurrentVelocity(1000); in handleMoveEvent()
H A DBackPanelController.kt680 computeCurrentVelocity(PX_PER_SEC)
1034 computeCurrentVelocity(PX_PER_MS)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DDividerView.java330 mVelocityTracker.computeCurrentVelocity(1000 /* units */); in onTouch()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java632 mVelocity.computeCurrentVelocity(1); in onPointerEvent()
635 mAltVelocity.computeCurrentVelocity(1); in onPointerEvent()
H A DResolverDrawerLayout.java477 mVelocityTracker.computeCurrentVelocity(1000); in onTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java409 mVelocityTracker.computeCurrentVelocity(1000); in getCurrentVelocity()
H A DSwipeHelper.java719 mVelocityTracker.computeCurrentVelocity(1000 /* px/sec */, getMaxVelocity()); in onTouchEvent()
/aosp14/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java438 velocityTracker.computeCurrentVelocity(mVelocityUnits); in onTouchEvent()
H A DSwitch.java1193 mVelocityTracker.computeCurrentVelocity(1000); in stopDrag()
/aosp14/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java1201 mVelocityTracker.computeCurrentVelocity(PIXELS_PER_SECOND, in checkHorizontalSwipe()
1228 mVelocityTracker.computeCurrentVelocity(PIXELS_PER_SECOND, in checkVerticalSwipe()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DLockIconViewController.java644 mVelocityTracker.computeCurrentVelocity(1000); in onTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsController.java739 mVelocityTracker.computeCurrentVelocity(1000); in oldOnTouch()

12