Loading java/src/com/android/inputmethod/latin/LatinKeyboard.java +3 −1 Original line number Diff line number Diff line Loading @@ -797,7 +797,9 @@ public class LatinKeyboard extends Keyboard { if (mCurrentlyInSpace) { return new int[] { mSpaceKeyIndex }; } else { return super.getNearestKeys(x, y); // Avoid dead pixels at edges of the keyboard return super.getNearestKeys(Math.max(0, Math.min(x, getMinWidth() - 1)), Math.max(0, Math.min(y, getHeight() - 1))); } } Loading java/src/com/android/inputmethod/latin/ProximityKeyDetector.java +1 −1 File changed.Contains only whitespace changes. Show changes Loading
java/src/com/android/inputmethod/latin/LatinKeyboard.java +3 −1 Original line number Diff line number Diff line Loading @@ -797,7 +797,9 @@ public class LatinKeyboard extends Keyboard { if (mCurrentlyInSpace) { return new int[] { mSpaceKeyIndex }; } else { return super.getNearestKeys(x, y); // Avoid dead pixels at edges of the keyboard return super.getNearestKeys(Math.max(0, Math.min(x, getMinWidth() - 1)), Math.max(0, Math.min(y, getHeight() - 1))); } } Loading
java/src/com/android/inputmethod/latin/ProximityKeyDetector.java +1 −1 File changed.Contains only whitespace changes. Show changes