From 3623b9767b3d5f122f574d4c4d14aa79ed305752 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 5 Oct 2012 14:37:22 +0900 Subject: [PATCH] Fix detecting fast typing algorithm and parameter Bug: 7032858 Change-Id: I5ed701e2394d16e43258a3c22d59991cb18adce8 --- java/res/values/attrs.xml | 2 + java/res/values/config.xml | 4 +- java/res/values/styles.xml | 1 + .../keyboard/MainKeyboardView.java | 11 ++ .../inputmethod/keyboard/PointerTracker.java | 105 ++++++++++++++---- 5 files changed, 101 insertions(+), 22 deletions(-) diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 88b4da3ae..72dcb0e35 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -144,6 +144,8 @@ + + diff --git a/java/res/values/config.xml b/java/res/values/config.xml index da9a73401..7c57f1f2b 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -70,7 +70,7 @@ false --> false - 350 + 1000 150% @@ -86,6 +86,8 @@ 100 550% + + 1000 diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index 96d8c905b..589962c27 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -105,6 +105,7 @@ @fraction/config_gesture_sampling_minimum_distance @integer/config_gesture_recognition_minimum_time @fraction/config_gesture_recognition_speed_threshold + @integer/config_suppress_key_preview_after_batch_input_duration