Amith Yamasani
3263841911
Some performance optimizations.
...
Makes the user/contacts dictionary lookup faster. This is necessary because
there's more in these dictionaries now and it's written in Java.
Fix an auto-caps issue when moving the cursor. And do it a little lazily.
Fixed a bug that was causing user dictionary words to get a much
higher weightage than the main dictionary.
2009-08-13 18:03:41 -07:00
Amith Yamasani
f115088924
Allow for non-starting letters to be upper case in dictionary lookup.
...
Add lowercase optimization to user dictionary as well.
2009-08-13 18:03:07 -07:00
Amith Yamasani
81115075d2
Fix a stack overflow when typing long words. Limit the size of auto-added words.
2009-08-13 17:30:57 -07:00
Amith Yamasani
63fa90a791
Check for missing characters in User/Contacts dictionary as well.
...
Also accomodate for missing characters when doing diffs between words.
2009-08-13 17:29:34 -07:00
Eric Fischer
e5c7f0981d
Add check for null contact name when setting up dictionary.
...
Bug 2021966
2009-08-13 17:28:32 -07:00
Eric Fischer
2bed1531c2
Have the Latin IME also use the names of your contacts as suggestions.
...
Bug 1597304
2009-08-13 17:27:30 -07:00
Amith Yamasani
d67fe0e758
Improve auto-add heuristics.
...
Also add auto-switch back to alphabet mode on pressing enter key.
2009-08-13 17:27:12 -07:00
Amith Yamasani
4a7ff90d51
Less aggressive CAPS mode prediction.
...
Don't auto-correct if the typed word has more than one uppercase letter.
Also, delay applying shift state to the keyboard so that fast backspaces are not interrupted by the
time taken to render the shifted/unshifted keyboard.
Show ellipsis on the ?123 key
2009-08-13 17:26:55 -07:00
Amith Yamasani
b19668cfc1
Auto-switch back from symbols keyboard on space.
...
Also fix bug 1904029: Rotating keyboard while texting causes words to be deleted.
2009-08-13 17:21:54 -07:00
Amith Yamasani
34386e6988
Auto add new words to the user dictionary.
...
First pass at automatically adding new words that the user types and deliberately
accepts.
After typing the word 4 times, the word gets promoted to being valid.
After typing the word 7 times, the word gets added into the UserDictionary and can
be removed from the UserDictionary Settings UI.
Also add a second row of symbols to the period popup.
2009-08-13 17:17:58 -07:00
Amith Yamasani
322dc3d3f3
Prune out suggestions that have a very large edit distance.
...
If the number of keys picked from proximity is too large, prune out
the subtree. Otherwise you get vastly unrelated suggestions.
Fix a bug introduced with the missing_chars checkin.
2009-08-13 17:17:27 -07:00
Amith Yamasani
c3df2d6fd2
Correction algorithm to check for missing single characters.
...
Searches for alternative words by trying wild-card characters at different
character positions.
2009-08-13 17:16:39 -07:00
Amith Yamasani
ff74ee5825
Backup Latin IME settings shared preferences.
...
Backup the shared preferences when they change.
2009-07-05 14:12:04 -07:00
Amith Yamasani
6c7c8f5b47
Browser text fields should suggest but not auto correct.
...
Only if the browser explicitly specifies the AUTO_CORRECT flag, IME will
enable auto correction.
2009-06-04 15:31:01 -07:00
Amith Yamasani
5e8a2fc5d5
Increase sensitivity of spacebar.
...
Revert the touch target of the spacebar to be the same as other keys.
2009-06-04 12:24:14 -07:00
Amith Yamasani
230cd6f7f2
Fix Bug #1833943 - CapsLock using long-press doesn't update keys.
...
Use new API in KeyboardView to invalidate all keys on long-press of shift key.
2009-05-06 17:38:00 -07:00
Brandon Ballinger
c5bb4591b6
AI 147900: Set symbols state when setting keyboard in LatinIME [bug fix for 1815418].
...
BUG=1815418
Automated import of CL 147900
2009-04-28 11:38:42 -07:00
Brandon Ballinger
0221514bd1
AI 147226: Create symbols and shifted symbols keyboards when initializing KeyboardSwitcher.
...
Automated import of CL 147226
2009-04-21 14:36:33 -07:00
Brandon Ballinger
353da6d207
AI 146596: Re-factor KeyboardSwitcher to keep a map of KeyboardId->Keyboard rather than a separate variable for each configuration. This makes it more maintainable to add more states in the future.
...
Automated import of CL 146596
2009-04-16 12:56:10 -07:00
Amith Yamasani
73f3cd032d
AI 145909: Manual merge of CL 145663 from //branches/cupcake/ to //branches/donutburger/
...
Added -d to the "g4 integrate" command.
Automated import of CL 145909
2009-04-13 12:27:25 -07:00
Amith Yamasani
6ec55a1599
AI 143780: am: CL 143728 Fix # 1743137: Suggestion bubble doesn't go away after empty space on right end of suggestion strip is tapped.
...
The empty space on right end sometimes registers as the word at the left end. Fixed this by checking for -1.
Also fixed a bug where the strip moves in the wrong direction on drag, when it shouldn't move at all.
Original author: yamasani
Merged from: //branches/cupcake/...
Automated import of CL 143780
2009-03-31 14:50:26 -07:00
Amith Yamasani
2306c6afcf
Automated import from //branches/donutburger/...@142822,142822
2009-03-25 18:08:30 -07:00
Amith Yamasani
6e3d427c32
Automated import from //branches/donutburger/...@142787,142787
2009-03-25 17:39:38 -07:00
Amith Yamasani
808202b60f
Automated import from //branches/donutburger/...@142718,142718
2009-03-25 16:58:32 -07:00
Amith Yamasani
a200a9bff7
Automated import from //branches/donutburger/...@140835,140835
2009-03-24 18:40:11 -07:00
Amith Yamasani
5ff5160ff8
Automated import from //branches/donutburger/...@140473,140473
2009-03-24 17:43:19 -07:00
The Android Open Source Project
264b19a685
auto import from //branches/cupcake_rel/...@140373
2009-03-18 17:39:49 -07:00
The Android Open Source Project
923bf41f85
auto import from //branches/cupcake/...@138744
2009-03-13 15:11:42 -07:00