Changed timeout time for two finger tap.

This commit is contained in:
Denis 2014-07-11 13:32:20 +04:00
parent d18806139e
commit e1191af1cf

View file

@ -7,7 +7,7 @@ import android.view.ViewConfiguration;
* Created by Barsik on 24.06.2014.
*/
public abstract class SimpleTwoFingerTapDetector {
private static final int TIMEOUT = ViewConfiguration.getDoubleTapTimeout() + 100;
private static final int TIMEOUT = ViewConfiguration.getTapTimeout() + 100;
private long mFirstDownTime = 0;
private byte mTwoFingerTapCount = 0;
private MotionEvent firstEvent = null;