Changed timeout time for two finger tap.
This commit is contained in:
parent
d18806139e
commit
e1191af1cf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue