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.
from com.google.android.inputmethod.latin to com.android.inputmethod.latin
Related change: https://android-git.corp.google.com/g/60862
bug: 2786392
Change-Id: Ib7c6cfe61db19ef50c401a01497eef5f1f5e239e
Merge commit 'b608a93c0f3087b191c88cd75665886b7c52015e'
* commit 'b608a93c0f3087b191c88cd75665886b7c52015e':
Fix a bug in backspace handling for the "Tap again to save"
Merge commit '6511376ff6f06aba15cdd1ab598a96924bae16ad' into gingerbread-plus-aosp
* commit '6511376ff6f06aba15cdd1ab598a96924bae16ad':
Fix a bug in backspace handling for the "Tap again to save"
Merge commit '6558253160e2039c87f424bd814f402ecd31de3b' into gingerbread
* commit '6558253160e2039c87f424bd814f402ecd31de3b':
Fix a bug in backspace handling for the "Tap again to save"
Merge commit '7faf89f8015ebf4b1873b7e42c93c8149ec4316b' into gingerbread-plus-aosp
* commit '7faf89f8015ebf4b1873b7e42c93c8149ec4316b':
Import revised translations. DO NOT MERGE
This issue is caused by three reasons.
- In touch move event and while time debouncing is going on, wrong key
is shown as pop-up preview.
- There is no pop-up preview key shown when touch up event occurs and
also showing pop-up preview message is unintentionally canceled.
- In detectAndSendKey() method, nearby keys' primary codes are
mistakenly sent as Key codes.
This is the last of three changes to fix bug #2868304
Bug: 2868304
Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1
- retrieve bigrams that only starts with character typed and neighbor keys
- contacts bigram
- performance measure
bug: 2873133
Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
When key is pressed, each key will have a halo which is 0.05 inch
wider than the key.
Bug: bug2517112
Change-Id: I1368ff4af5f5d230b8c2f0c05c3c27bdb89027ae
In makeKeyboards(), there is a fall through pass in which the
keyboards' id (mSymbolsId and mSymbolsShiftedId) will not be updated.
Then in toggleShift(), current keyboard id (mCurrentId) will not match
any of two and nothing happens.
Bug: 2825858
Change-Id: Iaf8a7368f513b35cf77a67794ecd3e21aa08484b
This change will parse the voice-search word-based
alternatives from the bundle returned by the server,
rather than generating them on the client.
Change-Id: I7d7abc224de3ab8f37eca18632a427d39fd61a78