Commit graph

26942 commits

Author SHA1 Message Date
Eric Fischer
d4b94b49aa am 399d49b7: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '399d49b76d450fffc7e7e5e8ccc4111061dc9b87' into eclair

* commit '399d49b76d450fffc7e7e5e8ccc4111061dc9b87':
  Import revised translations.  DO NOT MERGE
2009-08-18 11:01:01 -07:00
Jeff Hamilton
10f1a4d39c Don't crash if the contacts provider returns a null Cursor. 2009-08-18 11:53:22 -05:00
Eric Fischer
399d49b76d Import revised translations. DO NOT MERGE 2009-08-17 13:16:04 -07:00
Christopher Tate
9a66cd81e7 Add the BACKUP_DATA permission to the LatinIME package 2009-08-13 18:33:32 -07:00
Amith Yamasani
f51d16a4aa Reduce weight of missing-char suggestions. 2009-08-13 18:03:56 -07:00
Brandon Ballinger
71351469e3 Use public SDK APIs for the InputMethodManager and Vibrator. 2009-08-13 18:03:48 -07:00
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
4dfe799602 Use correct size key backgrounds to avoid scaling.
Also increase padding at the bottom of the keyboard, below the spacebar.
2009-08-13 18:02:59 -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
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