diff options
author | 2014-01-24 15:31:41 +0900 | |
---|---|---|
committer | 2014-01-27 16:24:51 +0900 | |
commit | ea8c1c811cedc56a9ec55d8f160b113a69e2a20f (patch) | |
tree | 8c30d6237c5b82fcb56d00aa36ac64227f2d1d54 /java/src/com/android/inputmethod/research/ResearchLogger.java | |
parent | b1814c9633cdb8863946e20f083ad2504895155e (diff) | |
download | latinime-ea8c1c811cedc56a9ec55d8f160b113a69e2a20f.tar.gz latinime-ea8c1c811cedc56a9ec55d8f160b113a69e2a20f.tar.xz latinime-ea8c1c811cedc56a9ec55d8f160b113a69e2a20f.zip |
Fix inconsistent behavior with backspace in the Emoji pallete.
In some ways, the delete key on the Emoji palette was
inconsistent with that in other keyboard layouts.
- It deletes a character in down events, not up events.
- A user cannot cancel the event by moving the finger away from
the key.
This patch fixes these inconsistencies by revisin
EmojiPalettesView.DeleteKeyOnTouchListener. Notable changes are:
- An explicit state machine is introduced because there are
different event sequences to be considered.
- Background thread is replaced with CountDownTimer so tha
key-repeat events can be naturally generated in the UI thread.
- MotionEvent.ACTION_MOVE is now handled to cancel the
subsequent delete key events when the finger is moved away
from the key area.
Bug: 12464067
Change-Id: Ibc360a1394afef368a8d9af7b4c0e99e8ce1d83c
Diffstat (limited to 'java/src/com/android/inputmethod/research/ResearchLogger.java')
0 files changed, 0 insertions, 0 deletions