From 29d85df051ca5e888a8f2b42416d09fc931d1a75 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Tue, 11 Aug 2009 16:42:51 -0700 Subject: [PATCH] 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. --- core/java/android/inputmethodservice/KeyboardView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/inputmethodservice/KeyboardView.java b/core/java/android/inputmethodservice/KeyboardView.java index dff7cae228611..9e966cd7abeeb 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;