Home
last modified time | relevance | path

Searched refs:addMovement (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp42 void addMovement(const MotionEvent& event);
60 void VelocityTrackerState::addMovement(const MotionEvent& event) { in addMovement() function in android::VelocityTrackerState
61 mVelocityTracker.addMovement(event); in addMovement()
111 state->addMovement(*event); in android_view_VelocityTracker_nativeAddMovement()
/frameworks/native/include/input/
DVelocityTracker.h98 void addMovement(nsecs_t eventTime, int32_t pointerId, int32_t axis, float position);
101 void addMovement(const MotionEvent& event);
152 virtual void addMovement(nsecs_t eventTime, int32_t pointerId, float position) = 0;
164 void addMovement(nsecs_t eventTime, int32_t pointerId, float position) override;
246 void addMovement(nsecs_t eventTime, int32_t pointerId, float positions) override;
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuListViewTouchHandler.java59 addMovement(motionEvent); in onInterceptTouchEvent()
143 private void addMovement(MotionEvent motionEvent) { in addMovement() method in MenuListViewTouchHandler
147 mVelocityTracker.addMovement(motionEvent); in addMovement()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DSwipeGestureListener.kt39 velocityTracker.addMovement(ev) in onMotionEvent()
62 velocityTracker.addMovement(ev) in onMotionEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DRelativeTouchListener.kt102 addMovement(ev) in onTouch()
173 private fun addMovement(event: MotionEvent) { in addMovement() method in com.android.wm.shell.common.bubbles.RelativeTouchListener
177 velocityTracker.addMovement(event) in addMovement()
/frameworks/base/apct-tests/perftests/core/src/android/input/
DVelocityTrackerBenchmarkTest.kt205 velocityTracker.addMovement(motionEvent) in testAddMovement()
223 velocityTracker.addMovement(motionState.createMotionEvent()) in testComputeCurrentVelocity_computeAfterAllAdditions()
243 velocityTracker.addMovement(motionState.createMotionEvent()) in testComputeCurrentVelocity_computeAfterEachAdd()
/frameworks/native/libs/input/
DVelocityControl.cpp65 mVelocityTracker.addMovement(eventTime, /*pointerId=*/0, AMOTION_EVENT_AXIS_X, mRawPositionX); in move()
66 mVelocityTracker.addMovement(eventTime, /*pointerId=*/0, AMOTION_EVENT_AXIS_Y, mRawPositionY); in move()
DVelocityTracker.cpp241 void VelocityTracker::addMovement(nsecs_t eventTime, int32_t pointerId, int32_t axis, in addMovement() function in android::VelocityTracker
268 mConfiguredStrategies[axis]->addMovement(eventTime, pointerId, position); in addMovement()
278 void VelocityTracker::addMovement(const MotionEvent& event) { in addMovement() function in android::VelocityTracker
354 addMovement(eventTime, pointerId, axis, position); in addMovement()
394 void AccumulatingVelocityTrackerStrategy::addMovement(nsecs_t eventTime, int32_t pointerId, in addMovement() function in android::AccumulatingVelocityTrackerStrategy
772 void IntegratingVelocityTrackerStrategy::addMovement(nsecs_t eventTime, int32_t pointerId, in addMovement() function in android::IntegratingVelocityTrackerStrategy
1031 lsq2.addMovement(mvt.eventTime, pointerId, AMOTION_EVENT_AXIS_X, mvt.position); in getVelocity()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt343 addMovement(ev) in <lambda>()
477 private fun addMovement(event: MotionEvent) { in <lambda>() method in com.android.wm.shell.common.magnetictarget.MagnetizedObject
483 velocityTracker.addMovement(event) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSeekbarHapticPlugin.kt112 MotionEvent.ACTION_MOVE -> velocityTracker.addMovement(event) in stop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesNavBarMotionEventHandler.java85 getVelocityTracker().addMovement(motionEvent); in onMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt148 velocityTracker!!.addMovement(event) in <lambda>()
206 velocityTracker!!.addMovement(event) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java335 mVelocityTracker.addMovement(event); in onTouch()
347 mVelocityTracker.addMovement(event); in onTouch()
366 mVelocityTracker.addMovement(event); in onTouch()
/frameworks/base/core/java/android/widget/
DDifferentialMotionFlingHelper.java255 vt.addMovement(event); in getCurrentVelocity()
DSlidingDrawer.java416 mVelocityTracker.addMovement(event); in onInterceptTouchEvent()
429 mVelocityTracker.addMovement(event); in onTouchEvent()
/frameworks/base/core/java/android/view/
DVelocityTracker.java365 public void addMovement(MotionEvent event) { in addMovement() method in VelocityTracker
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java330 mVelocityTracker.addMovement(ev); in onInterceptTouchEvent()
342 mVelocityTracker.addMovement(ev); in onInterceptTouchEvent()
670 mVelocityTracker.addMovement(ev); in onTouchEvent()
DExpandHelper.java387 mVelocityTracker.addMovement(event); in trackVelocity()
393 mVelocityTracker.addMovement(event); in trackVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDistanceClassifier.java133 velocityTracker.addMovement(motionEvent); in calculateDistances()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java390 mVelocityTracker.addMovement(event);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchState.java388 mVelocityTracker.addMovement(event);
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DBouncerSwipeTouchHandler.java324 mVelocityTracker.addMovement(motionEvent); in onMotionEvent()
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java284 vt.addMovement(me); in addMotionEvent()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DDividerPresenter.java553 mVelocityTracker.addMovement(event); in onStartDragging()
578 mVelocityTracker.addMovement(event); in onDrag()
587 mVelocityTracker.addMovement(event); in onFinishDragging()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLegacyLockIconViewController.java665 mVelocityTracker.addMovement(event); in onTouchEvent()
673 mVelocityTracker.addMovement(event); in onTouchEvent()

123