From 72a82d7ee848a0a380350197bee0b8500600fa33 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 15 Apr 2011 09:54:39 +0900 Subject: [PATCH] Count up horizontal gap as part of key width Change-Id: Ic9a070a9b6a461f4c8330d1cc3e2c33fd7369f73 --- java/src/com/android/inputmethod/keyboard/KeyDetector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/keyboard/KeyDetector.java b/java/src/com/android/inputmethod/keyboard/KeyDetector.java index 1a4f90195..3b923e1fc 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyDetector.java +++ b/java/src/com/android/inputmethod/keyboard/KeyDetector.java @@ -135,6 +135,6 @@ public abstract class KeyDetector { mostCommonWidth = width; } } - return mostCommonWidth; + return mostCommonWidth + keyboard.getHorizontalGap(); } }