Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java55 vt.computeCurrentVelocity(1); in testClear()
59 vt.computeCurrentVelocity(1); in testClear()
70 vt.computeCurrentVelocity(1000); in testDragAcceleration()
81 vt.computeCurrentVelocity(1000); in testDragDeceleration()
94 vt.computeCurrentVelocity(1000); in testDragLinearHorizontal()
107 vt.computeCurrentVelocity(1000); in testDragLinearVertical()
124 vt.computeCurrentVelocity(1000); in testDragWith2Points()
140 vt.computeCurrentVelocity(1); in testStabilityInNbPoints()
145 vt.computeCurrentVelocity(1); in testStabilityInNbPoints()
162 vt.computeCurrentVelocity(1); in testStabilityInTime()
[all …]
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp45 void computeCurrentVelocity(int32_t units, float maxVelocity);
64 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity() function in android::VelocityTrackerState
117 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
/frameworks/base/apct-tests/perftests/core/src/android/input/
DVelocityTrackerBenchmarkTest.kt208 velocityTracker.computeCurrentVelocity(1000) in testAddMovement()
228 velocityTracker.computeCurrentVelocity(1000) in testComputeCurrentVelocity_computeAfterAllAdditions()
245 velocityTracker.computeCurrentVelocity(1000) in testComputeCurrentVelocity_computeAfterEachAdd()
/frameworks/base/core/java/android/view/
DVelocityTracker.java378 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() method in VelocityTracker
397 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() method in VelocityTracker
DGestureDetector.java620 mVelocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
795 velocityTracker.computeCurrentVelocity(1000, mMaximumFlingVelocity); in onTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt378 velocityTracker.computeCurrentVelocity(1000) in <lambda>()
398 velocityTracker.computeCurrentVelocity(1000) in <lambda>()
414 velocityTracker.computeCurrentVelocity(1000 /* units */) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DSwipeGestureListener.kt43 velocityTracker.computeCurrentVelocity(1) in onMotionEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesNavBarMotionEventHandler.java101 getVelocityTracker().computeCurrentVelocity(VELOCITY_UNITS); in onMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuListViewTouchHandler.java107 mVelocityTracker.computeCurrentVelocity(VELOCITY_UNIT_SECONDS); in onInterceptTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DRelativeTouchListener.kt143 velocityTracker.computeCurrentVelocity(1000 /* units */) in onTouch()
/frameworks/base/core/java/android/widget/
DDifferentialMotionFlingHelper.java256 vt.computeCurrentVelocity(1000); in getCurrentVelocity()
DSlidingDrawer.java438 velocityTracker.computeCurrentVelocity(mVelocityUnits); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSliderHapticFeedbackProvider.kt184 velocityTracker.computeCurrentVelocity(UNITS_SECOND, config.maxVelocityToScale) in getTrackedVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDistanceClassifier.java135 velocityTracker.computeCurrentVelocity(1); in calculateDistances()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java206 mVelocityTracker.computeCurrentVelocity(1000, in onTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchState.java206 mVelocityTracker.computeCurrentVelocity(1000, in onTouchEvent()
/frameworks/base/core/java/android/inputmethodservice/
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DBouncerSwipeTouchHandler.java304 mVelocityTracker.computeCurrentVelocity(1000); in onMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt213 velocityTracker!!.computeCurrentVelocity( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt679 computeCurrentVelocity(PX_PER_SEC) in <lambda>()
1029 computeCurrentVelocity(PX_PER_MS) in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java632 mVelocity.computeCurrentVelocity(1); in onPointerEvent()
635 mAltVelocity.computeCurrentVelocity(1); in onPointerEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java367 mVelocityTracker.computeCurrentVelocity(1000 /* units */); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java410 mVelocityTracker.computeCurrentVelocity(1000); in getCurrentVelocity()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1201 mVelocityTracker.computeCurrentVelocity(PIXELS_PER_SECOND, in checkHorizontalSwipe()
1228 mVelocityTracker.computeCurrentVelocity(PIXELS_PER_SECOND, in checkVerticalSwipe()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLegacyLockIconViewController.java675 mVelocityTracker.computeCurrentVelocity(1000); in onTouchEvent()

12