aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-07-04 19:59:57 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-07-04 22:32:21 +0900
commita19b84dcf65bd70caa0fc72089cfe043b023a898 (patch)
tree22000ca2fda581e07c03c827a27f55e84009dc1f /java/res
parent5f6816fa8bf259f0340a3d12c551d1532f647d66 (diff)
downloadlatinime-a19b84dcf65bd70caa0fc72089cfe043b023a898.tar.gz
latinime-a19b84dcf65bd70caa0fc72089cfe043b023a898.tar.xz
latinime-a19b84dcf65bd70caa0fc72089cfe043b023a898.zip
Move key hysteresis distance parameter to KeyDetector class
Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/attrs.xml3
-rw-r--r--java/res/values/styles.xml2
2 files changed, 0 insertions, 5 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 @@
<!-- Size of the text for key press feedback popup, int the proportion of key height -->
<attr name="keyPreviewTextRatio" format="float" />
- <!-- Hysteresis distance for key debouncing -->
- <attr name="keyHysteresisDistance" format="dimension" />
-
<!-- Amount to offset the touch Y coordinate by, for bias correction. -->
<attr name="verticalCorrection" format="dimension" />
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 @@
<item name="keyPreviewHeight">@dimen/key_preview_height</item>
<item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
<item name="popupLayout">@layout/keyboard_popup</item>
- <item name="keyHysteresisDistance">@dimen/key_hysteresis_distance</item>
<item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
<item name="shadowColor">#BB000000</item>
<item name="shadowRadius">2.75</item>
@@ -70,7 +69,6 @@
</style>
<style name="PopupMiniKeyboardView" parent="KeyboardView">
<item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
- <item name="keyHysteresisDistance">0dip</item>
<item name="verticalCorrection">@dimen/mini_keyboard_vertical_correction</item>
</style>
<style name="PopupMiniKeyboardPanelStyle">