From a19b84dcf65bd70caa0fc72089cfe043b023a898 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 4 Jul 2011 19:59:57 +0900 Subject: [PATCH] Move key hysteresis distance parameter to KeyDetector class Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34 --- java/res/values/attrs.xml | 3 --- java/res/values/styles.xml | 2 -- .../inputmethod/keyboard/KeyDetector.java | 18 ++++++++++++++++++ .../keyboard/LatinKeyboardBaseView.java | 11 +++++------ .../keyboard/MiniKeyboardKeyDetector.java | 2 +- .../inputmethod/keyboard/PointerTracker.java | 19 ++++++++++--------- .../internal/PointerTrackerKeyState.java | 6 +++++- .../inputmethod/latin/SuggestHelper.java | 4 ++-- 8 files changed, 41 insertions(+), 24 deletions(-) diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index cf9138ba2..d0d66d68b 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -89,9 +89,6 @@ - - - diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index de55cbdae..8ed334376 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -62,7 +62,6 @@ @dimen/key_preview_height @fraction/key_preview_text_ratio @layout/keyboard_popup - @dimen/key_hysteresis_distance @dimen/keyboard_vertical_correction #BB000000 2.75 @@ -70,7 +69,6 @@