summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-10-06 17:39:23 -0700
committerBobby Georgescu <georgescu@google.com>2012-10-06 17:40:06 -0700
commit3711d3ea870acba8ad83d0c51b0d03b0082ef0f0 (patch)
treea73f4a31505b97e9a6dc96b705038d3d7d4e573a /src
parent278e4fe02f9754bc84a646988aa6ff31109b22e0 (diff)
downloadandroid_packages_apps_Gallery2-3711d3ea870acba8ad83d0c51b0d03b0082ef0f0.tar.gz
android_packages_apps_Gallery2-3711d3ea870acba8ad83d0c51b0d03b0082ef0f0.tar.bz2
android_packages_apps_Gallery2-3711d3ea870acba8ad83d0c51b0d03b0082ef0f0.zip
Tune swipe to delete in filmstrip
Bug: 7277872 Change-Id: I01da98f4528b92308984e6ec7f1bc68e3e55697d
Diffstat (limited to 'src')
-rw-r--r--src/com/android/gallery3d/ui/PhotoView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/ui/PhotoView.java b/src/com/android/gallery3d/ui/PhotoView.java
index a7357e034..3fa13cfad 100644
--- a/src/com/android/gallery3d/ui/PhotoView.java
+++ b/src/com/android/gallery3d/ui/PhotoView.java
@@ -174,8 +174,8 @@ public class PhotoView extends GLView {
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.