Include horizontal and vertical gap in the count of Key.isOnKey

This change also reverts I8f6102d6 and considers that the point is on
the key while sorting in proximity key detection.

Bug: 4348994
Change-Id: I3ee913675e28da7e7b164805a7a683f0814b38b9
3 files changed
tree: a216aac1b66cadc40ee60070e8aba56eb713fd8c
  1. dictionaries/
  2. java/
  3. native/
  4. tests/
  5. tools/
  6. Android.mk
  7. CleanSpec.mk