ea8c1c811c
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 |
||
---|---|---|
.. | ||
res | ||
src/com/android/inputmethod | ||
Android.mk | ||
AndroidManifest.xml | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
proguard.flags |