[Android] Speed up long press action on +/- buttons
Geoffrey Métais
git at videolan.org
Wed Jun 8 09:54:25 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jun 7 15:21:07 2016 +0200| [999534103306dc0333d6ac72d739a456c4123fac] | committer: Geoffrey Métais
Speed up long press action on +/- buttons
> https://code.videolan.org/videolan/vlc-android/commit/999534103306dc0333d6ac72d739a456c4123fac
---
vlc-android/src/org/videolan/vlc/gui/helpers/OnRepeatListener.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/helpers/OnRepeatListener.java b/vlc-android/src/org/videolan/vlc/gui/helpers/OnRepeatListener.java
index 3b451ab..f83ec25 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/OnRepeatListener.java
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/OnRepeatListener.java
@@ -35,8 +35,8 @@ public class OnRepeatListener implements View.OnTouchListener {
private static final int ACTION_ONCLICK = 0;
//Default values in milliseconds
- private static final int DEFAULT_INITIAL_DELAY = 1000;
- private static final int DEFAULT_NORMAL_DELAY = 300;
+ private static final int DEFAULT_INITIAL_DELAY = 500;
+ private static final int DEFAULT_NORMAL_DELAY = 150;
private int mInitialInterval;
private final int mNormalInterval;
More information about the Android
mailing list