Commit graph

8032 commits

Author SHA1 Message Date
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
Eric Fischer
5a323e65d0 Import revised translations. DO NOT MERGE 2009-08-03 16:28:40 -07:00
Amith Yamasani
af580087de DO NOT MERGE ( Already in master ): Fix a global reference leak. # 2026571
Fix incorrect usage of Release<>ArrayElements. Code was not releasing global
references. IME would have crashed in 50000 key presses.
2009-08-03 12:56:35 -07:00
Mitsuru Oshima
cc7c8ea432 Removing comments that somehow checked in.
Sorry, i don't know how this happened, but seems like I checked this in by accident before.
2009-07-29 08:17:14 -07:00
Eric Fischer
a3ab4494b7 Import new translations 2009-07-13 15:53:17 -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
Eric Fischer
0d1bbf646d Add SetupWizard keyboard tutorial strings to the LatinIME.
They are not used yet but will be after the tutorial is migrated
out of SetupWizard and into the input methods.
2009-06-18 15:53:28 -07:00
Eric Fischer
6ed13f7cbd am f5294161: AI 149721: Import Portuguese translations.
Merge commit 'f52941618194c8dffa491ca585f89398a2cd6c91' into donut

* commit 'f52941618194c8dffa491ca585f89398a2cd6c91':
  AI 149721: Import Portuguese translations.
2009-06-10 12:31:27 -07:00
Eric Fischer
f529416181 AI 149721: Import Portuguese translations.
Automated import of CL 149721
2009-06-10 12:26:09 -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
Mitsuru Oshima
6bfb6d0097 use compatibility mode (for now) 2009-05-13 22:11:22 -07:00
Jeff Hamilton
43d34daf3f Fix the LatinIME on devices with 240dpi.
The LatinIME now registers support for 120, 160, and 240
dpi so that it isn't run in compatibility mode. There
are currently some issues preventing it from running properly
in compatibility mode.
2009-05-08 18:57:10 -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
Eric Fischer
bd9fdede8f am 8e3c48f: AI 148147: Import lots of zh_TW translation changes.
Merge commit '8e3c48f26a051390844f15fb1d897f870e9d8b2b' into donut

* commit '8e3c48f26a051390844f15fb1d897f870e9d8b2b':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 17:59:42 -07:00
Eric Fischer
8e3c48f26a AI 148147: Import lots of zh_TW translation changes.
Automated import of CL 148147
2009-04-30 17:32:16 -07:00
Eric Fischer
c54bfd3e1c am 45e11a0: AI 148026: Update zh_TW translations.
Merge commit '45e11a0ca13b063788815247dcc50b631b86c990' into donut

* commit '45e11a0ca13b063788815247dcc50b631b86c990':
  AI 148026: Update zh_TW translations.
2009-04-30 17:10:53 -07:00
Eric Fischer
45e11a0ca1 AI 148026: Update zh_TW translations.
Automated import of CL 148026
2009-04-30 16:48:34 -07:00
Eric Fischer
4374b06535 am 98ae766: AI 147962: Import updated zh_TW translations.
Merge commit '98ae766f3640e07a17fa74349705e2180e47f7aa' into donut

* commit '98ae766f3640e07a17fa74349705e2180e47f7aa':
  AI 147962: Import updated zh_TW translations.
2009-04-28 21:59:26 -07:00
Eric Fischer
340abb91b2 am 24fbfa0: AI 147492: Update zh_TW translations.
Merge commit '24fbfa0425138d0c67410fb59788f2d59a01a878' into donut

* commit '24fbfa0425138d0c67410fb59788f2d59a01a878':
  AI 147492: Update zh_TW translations.
2009-04-28 21:59:26 -07:00
Eric Fischer
98ae766f36 AI 147962: Import updated zh_TW translations.
Automated import of CL 147962
2009-04-28 15:48:41 -07:00
Brandon Ballinger
9ebffd93f6 Merge branch 'readonly-p4-donut' into donut 2009-04-28 11:40:37 -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
Eric Fischer
24fbfa0425 AI 147492: Update zh_TW translations.
Automated import of CL 147492
2009-04-23 11:59:15 -07:00
Jean-Baptiste Queru
b642d30bb6 merge cupcake into donut 2009-04-22 17:57:00 -07:00
Eric Fischer
f693aec2b5 AI 147406: Import revised translations.
Automated import of CL 147406
2009-04-22 12:33:56 -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
Eric Fischer
53cbd3a1e5 AI 146365: Import revised translations.
DO NOT MERGE

Automated import of CL 146365
2009-04-15 13:30:20 -07:00
Eric Fischer
6e137f4534 AI 146175: Import updated translations.
Automated import of CL 146175
2009-04-14 12:10:44 -07:00
Eric Fischer
edbab867fd AI 146037: Import updated translations.
Automated import of CL 146037
2009-04-13 17:16:21 -07:00
Amith Yamasani
864fcbd87e AI 145951: am: CL 145664 Add Polish accents for "l". Move accents for "z" to donottranslate.xml from strings.xml
Original author: yamasani
  Merged from: //branches/cupcake/...

Automated import of CL 145951
2009-04-13 15:35:08 -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
b9bb426547 AI 145851: am: CL 145516 Use the new binary format for the empty dictionary.
This makes it compatible with the current code and avoid any possible crash.
  Original author: yamasani
  Merged from: //branches/cupcake/...

Automated import of CL 145851
2009-04-13 08:33:54 -07:00
Eric Fischer
d862f20cab AI 145782: Import updated translations.
DO NOT MERGE

Automated import of CL 145782
2009-04-10 16:38:00 -07:00
Eric Fischer
d4c048b4ae AI 145711: Import a few changed translations.
DO NOT MERGE

Automated import of CL 145711
2009-04-10 10:45:20 -07:00
Amith Yamasani
bbb46d2ab9 AI 145664: Add Polish accents for "l". Move accents for "z" to donottranslate.xml from strings.xml
BUG=1776395

Automated import of CL 145664
2009-04-09 22:17:04 -07:00
Amith Yamasani
ab17fca519 AI 145663: Disable auto-correction for Dream. Also fixes bug # 1776404.
Have a boolean resource to specify auto correction default: Will be turned on/off for different targets
  and languages.
  Move English dictionary to raw-en so that French locale doesn't get the English suggestions.
  Make the LatinIME the default for supported latin languages.
  BUG=1776404

Automated import of CL 145663
2009-04-09 22:15:20 -07:00
Amith Yamasani
e653fc5590 AI 145516: Use the new binary format for the empty dictionary.
This makes it compatible with the current code and avoid any possible crash.

Automated import of CL 145516
2009-04-09 14:36:39 -07:00
Eric Fischer
d4caae0a63 AI 145493: am: CL 145214 Update cupcake translations.
Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 145493
2009-04-09 14:32:44 -07:00
Eric Fischer
e345055117 AI 145225: Import more revised translations into cupcake.
Automated import of CL 145225
2009-04-08 18:43:30 -07:00
Eric Fischer
9112c8fdcf AI 145214: Update cupcake translations.
Automated import of CL 145214
2009-04-08 15:59:36 -07:00