Decrease the sample interval for the velocity tracker
Flings were made too sensitive with the resolution-independence change.
This commit is contained in:
parent
e3f0807a98
commit
a9d1941a46
@ -375,7 +375,7 @@ public class CoverView extends View {
|
||||
performClick();
|
||||
} else {
|
||||
VelocityTracker velocityTracker = mVelocityTracker;
|
||||
velocityTracker.computeCurrentVelocity(1000);
|
||||
velocityTracker.computeCurrentVelocity(250);
|
||||
int velocity = (int) velocityTracker.getXVelocity();
|
||||
|
||||
int min = mBitmaps[0] == null ? 1 : 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user