copy GestureDetector from AOSP

This commit is contained in:
Julian Winkler
2024-05-06 06:24:00 +02:00
parent efc401ed2f
commit cd4cd90f59
3 changed files with 816 additions and 14 deletions

View File

@@ -24,11 +24,11 @@ public class ViewConfiguration {
}
public static int getTapTimeout() {
return 0;
return 100;
}
public static int getLongPressTimeout() {
return 0;
return 400;
}
public int getScaledPagingTouchSlop(){
@@ -40,7 +40,7 @@ public class ViewConfiguration {
}
public static int getDoubleTapTimeout() {
return 0;
return 300;
}
public int getScaledDoubleTapSlop() {