add VelocityTracker::isAxisSupported

This commit is contained in:
侯歌 2024-05-08 21:35:05 +08:00
parent 8288cbd2ba
commit 57e049ef4c

View File

@ -109,7 +109,7 @@ public:
static VelocityTracker*obtain(int strategy);
void recycle();
void clear();
bool isAxisSupported(int axis)const;
static bool isAxisSupported(int axis)const;
void addMovement(const MotionEvent& event);
void computeCurrentVelocity(int units);
void computeCurrentVelocity(int units,float maxVelocity);