LatinIME/java/src/com/android/inputmethod
Yohei Yukawa 4c259866c4 Cancel keydown events immediately once the view starts scrolling
The motivation of this patch is to make sure a user never feel
haptic feedback when scrolling the Emoji palette. In order to
achieve it, EmojiPageKeyboardView#releaseCurrentKey() should
be called whenever (delayed) keydown events should be canceled.

This patch wires up ViewPager.OnPageChangeListener#onPageScrolled
with EmojiPageKeyboardView#releaseCurrentKey() so that delayed
keydown events will be canceled immediately once the ViewParger
starts scrolling.

BUG: 12964092
Change-Id: Iea8c3e090bb16a8622e6b4a850af2bf963aa77d0
2014-02-12 18:56:08 +09:00
..
accessibility [IL88] Simple refactoring 2014-01-27 18:42:33 +09:00
annotations Add @UsedForTesting and @ExternallyReferenced annotations 2012-10-22 11:18:43 -07:00
compat Revert "Use ViewCompat support library" 2014-01-27 18:14:40 +09:00
dictionarypack Remove some warnings 2014-01-09 14:04:34 +09:00
event Move util classes to the latin/utils directory 2013-06-24 17:04:40 +09:00
keyboard Cancel keydown events immediately once the view starts scrolling 2014-02-12 18:56:08 +09:00
latin Make importance notice dialog cancel able 2014-02-12 11:59:43 +09:00
research [IL74] Remove unused/unwanted arguments to a method. 2014-01-27 16:48:17 +09:00