From ae09878698ba6ad56ea43843f5a0895c94c32d90 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Thu, 13 Aug 2009 13:00:12 -0700 Subject: [PATCH] Increase search radius for adjacent keys, to reduce unpredictability of suggestions. --- core/java/android/inputmethodservice/Keyboard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/inputmethodservice/Keyboard.java b/core/java/android/inputmethodservice/Keyboard.java index fea63be795b25..4814b0aa4c379 100755 --- a/core/java/android/inputmethodservice/Keyboard.java +++ b/core/java/android/inputmethodservice/Keyboard.java @@ -142,7 +142,7 @@ public class Keyboard { private int[][] mGridNeighbors; private int mProximityThreshold; /** Number of key widths from current touch point to search for nearest keys. */ - private static float SEARCH_DISTANCE = 1.4f; + private static float SEARCH_DISTANCE = 1.8f; /** * Container for keys in the keyboard. All keys in a row are at the same Y-coordinate.