mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-05 13:48:02 +08:00
change VelocityTracker::isAxisSupported to static
This commit is contained in:
parent
57e049ef4c
commit
f06a4f6f41
@ -436,7 +436,7 @@ void VelocityTracker::clear(){
|
||||
mTrackerState->clear();
|
||||
}
|
||||
|
||||
bool VelocityTracker::isAxisSupported(int axis)const{
|
||||
bool VelocityTracker::isAxisSupported(int axis){
|
||||
return VelocityTrackerImpl::isAxisSupported(axis);
|
||||
}
|
||||
|
||||
|
@ -109,7 +109,7 @@ public:
|
||||
static VelocityTracker*obtain(int strategy);
|
||||
void recycle();
|
||||
void clear();
|
||||
static bool isAxisSupported(int axis)const;
|
||||
static bool isAxisSupported(int axis);
|
||||
void addMovement(const MotionEvent& event);
|
||||
void computeCurrentVelocity(int units);
|
||||
void computeCurrentVelocity(int units,float maxVelocity);
|
||||
|
Loading…
Reference in New Issue
Block a user