This change eliminates the need of extra MotionEvent allocation. Also
this will lead to the easy way to handle multi touch events.
Bug: 2910379
Change-Id: Ibcfcba554b732c13105f91877b41b553ee6928ba
This change moves SwipeTracker out from LatinKeyboardBaseView. Also
this introduces EventBuffer class for swipe tracking buffer.
Bug: 2910379
Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
GestureDetector listener's onFling method will not call detectAndSendKey
anymore.
Make gesture detector be ignoring multitouch. Refactoring
GestureDetector out of LatinKeyboardBaseView class change will follow.
Bug: 2910379
Change-Id: I0b2a9c4cf7d432f89f9085f3c2bdf3a3757a8903
This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into
UIHandler class. Also this eliminates mCurrentKey and mLastTapTime
dependency from repeatKey method.
Bug: 2910379
Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
This change simplifies onModifierTouchEvent to focus on handling
motion event related to a key event.
Other refactoring will follow in order to support multi touch.
Bug: 2910379
Change-Id: I036be64168d951a535600a7910b36bc109f88490
Merge commit 'bd1eb5d05077ea06c1cfed99daa5669cdf6f41d2'
* commit 'bd1eb5d05077ea06c1cfed99daa5669cdf6f41d2':
Fix a bug in backspace handling for the "Tap again to save"
Fix bug: 2693836 - Russian keyboard is missing a letter
Merge commit '6b6ae29b61acf1f8317f5dd261d5c74ec51b155e'
* commit '6b6ae29b61acf1f8317f5dd261d5c74ec51b155e':
Fix LatinIME crashing due to crash in Contacts DB
Merge commit 'e07d6a776ad818e21de3598d115ec5de0b12481b' into gingerbread-plus-aosp
* commit 'e07d6a776ad818e21de3598d115ec5de0b12481b':
Fix a bug in backspace handling for the "Tap again to save"
Fix bug: 2693836 - Russian keyboard is missing a letter
Merge commit '3ecb4813f1f77ce9330b08a1a2ab83d26df05e51'
* commit '3ecb4813f1f77ce9330b08a1a2ab83d26df05e51':
Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
Merge commit 'd56f8f5c10d6a959c23fda6ba0a588198fe7412b'
* commit 'd56f8f5c10d6a959c23fda6ba0a588198fe7412b':
DO NOT MERGE. Backport LatinIME from master to Gingerbread
Merge commit '78c4611719f10b4a53ade54ab5eeb390061737a3' into gingerbread-plus-aosp
* commit '78c4611719f10b4a53ade54ab5eeb390061737a3':
Fix LatinIME crashing due to crash in Contacts DB
Merge commit '17dc363a63a20d18cd8161f917899b39aed6ddd6' into gingerbread-plus-aosp
* commit '17dc363a63a20d18cd8161f917899b39aed6ddd6':
Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
Merge commit '979f8690967ff5409fe18f5085858ccdb8e0ccf1' into gingerbread-plus-aosp
* commit '979f8690967ff5409fe18f5085858ccdb8e0ccf1':
DO NOT MERGE. Backport LatinIME from master to Gingerbread
Move setShifted and setShifLocked methods to KeyboardSwitcher, then
delegate to LatinKeyboardView.
Bug: 2910379
Change-Id: I5dba70ec0dfc7a1ed67f1e05d54a2bd92252ed24
Also, continue to show the corrections when user keeps replacing the word repeatedly
with different corrections from the suggestion strip. There were problems with
tapping suggestions quickly or tapping the same suggestion more than once (same length).
Also fixes Bug: 2852891 - Text suggestion appears incorrectly when selecting text that's
not a whole word.
Changed the TextEntryState states to an enum type instead of int. Needed it to show the
states for debugging purposes.
There are some traditional differences between Norwegian and Swedish
keyboard layouts -- for instance, few Norwegians would search for ü
on the y key, but it is so on the Swedish keyboard. Correct the most
obvious differences.
Change-Id: Iab53fa51ff7faa2022b10b551e47060a6f2c5652