summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/KeyboardView.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-08-11 16:42:51 -0700
committerAmith Yamasani <yamasani@google.com>2009-08-11 16:45:07 -0700
commit29d85df051ca5e888a8f2b42416d09fc931d1a75 (patch)
tree06c6f44ffa6840275312b121c0e58e1b6881f587 /core/java/android/inputmethodservice/KeyboardView.java
parent8b76a0ac6fbf07254629ed1ea86af014d5abe050 (diff)
Remove delay for key feedback bubble.
Most users seem to expect the feedback to show up right away. So remove the delay before the bubble shows up.
Diffstat (limited to 'core/java/android/inputmethodservice/KeyboardView.java')
-rwxr-xr-xcore/java/android/inputmethodservice/KeyboardView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/inputmethodservice/KeyboardView.java b/core/java/android/inputmethodservice/KeyboardView.java
index dff7cae22861..9e966cd7abee 100755
--- a/core/java/android/inputmethodservice/KeyboardView.java
+++ b/core/java/android/inputmethodservice/KeyboardView.java
@@ -163,8 +163,8 @@ public class KeyboardView extends View implements View.OnClickListener {
private static final int MSG_REPEAT = 3;
private static final int MSG_LONGPRESS = 4;
- private static final int DELAY_BEFORE_PREVIEW = 40;
- private static final int DELAY_AFTER_PREVIEW = 60;
+ private static final int DELAY_BEFORE_PREVIEW = 0;
+ private static final int DELAY_AFTER_PREVIEW = 70;
private int mVerticalCorrection;
private int mProximityThreshold;