Tune swipe to delete in filmstrip
Bug: 7277872
Change-Id: I01da98f4528b92308984e6ec7f1bc68e3e55697d
diff --git a/src/com/android/gallery3d/ui/PhotoView.java b/src/com/android/gallery3d/ui/PhotoView.java
index a7357e0..3fa13cf 100644
--- a/src/com/android/gallery3d/ui/PhotoView.java
+++ b/src/com/android/gallery3d/ui/PhotoView.java
@@ -174,8 +174,8 @@
public static final int SCREEN_NAIL_MAX = 3;
// These are constants for the delete gesture.
- private static final int SWIPE_ESCAPE_VELOCITY = 500; // dp/sec
- private static final int MAX_DISMISS_VELOCITY = 2000; // dp/sec
+ private static final int SWIPE_ESCAPE_VELOCITY = 2500; // dp/sec
+ private static final int MAX_DISMISS_VELOCITY = 4000; // dp/sec
// The picture entries, the valid index is from -SCREEN_NAIL_MAX to
// SCREEN_NAIL_MAX.