Searched refs:getVelocity (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 49 void getVelocity(int32_t id, float* outVx, float* outVy); 85 mVelocityTracker.getVelocity(id, &vx, &vy); in computeCurrentVelocity() 107 void VelocityTrackerState::getVelocity(int32_t id, float* outVx, float* outVy) { in getVelocity() function in android::VelocityTrackerState 175 state->getVelocity(id, &vx, NULL); in android_view_VelocityTracker_nativeGetXVelocity() 183 state->getVelocity(id, NULL, &vy); in android_view_VelocityTracker_nativeGetYVelocity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 94 private float getVelocity(VelocityTracker vt) { in getVelocity() method in SwipeHelper 305 float velocity = getVelocity(mVelocityTracker); in onTouchEvent()
|
/frameworks/base/include/ui/ |
D | Input.h | 681 bool getVelocity(uint32_t id, float* outVx, float* outVy) const;
|
/frameworks/base/libs/ui/ |
D | Input.cpp | 1014 bool VelocityTracker::getVelocity(uint32_t id, float* outVx, float* outVy) const { in getVelocity() function in android::VelocityTracker 1136 if (mVelocityTracker.getVelocity(0, &vx, &vy)) { in move()
|
/frameworks/base/services/input/ |
D | InputReader.cpp | 4340 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { in preparePointerGestures()
|