Commit Graph

29702 Commits

Author SHA1 Message Date
Amith Yamasani
3ec2ed75c6 Send a semicolon for Wait. Fix for #2083806. 2009-09-15 11:35:47 -07:00
Android (Google) Code Review
64e245f60b Merge change 24211 into eclair
* changes:
  Adjust the size of bottom row of keys for email mode. Fix for 2099889
2009-09-09 06:19:01 -07:00
Eric Fischer
b50a1a3c91 Import revised translations. DO NOT MERGE 2009-09-08 16:31:52 -07:00
Amith Yamasani
d9688c77a9 Adjust the size of bottom row of keys for email mode. Fix for 2099889
Also recreate the keyboards when locale changes.
2009-09-08 15:55:17 -07:00
Christopher Tate
f265392f7f Don't kill the IME after a restore 2009-09-01 21:16:19 -07:00
Amith Yamasani
e3803800c5 Fixed accidental switch to symbols mode from alphabet.
The KeyboardSwitcher was remembering state from a previous edittext
where the user was in symbols mode and applying the switch code
when user hits space in the new edittext for the first time.
Make sure to reset the state when a new keyboard mode is requested.

Also make sure that we don't switch from symbols to alphabet keyboard
when editing in a number/datetime field and hitting space.
2009-09-01 14:05:19 -07:00
Amith Yamasani
5d11ccc27d Swipe down gesture to dismiss keyboard. 2009-08-27 17:35:33 -07:00
Dmitri Plotnikov
41fc8f4a18 [Issue 2061094] Upgrading ContactDictionary to new API 2009-08-27 11:24:57 -07:00
Amith Yamasani
6a001f58da Tweak spacebar target area between landscape and portrait. 2009-08-20 18:35:30 -07:00
Amith Yamasani
ffa3fdd819 Keyboard layout improvements.
Increase key height in portrait.
Increase spacebar width and reduce punctuation width.
Increase vertical target area for spacebar to avoid accidentally
   hitting "V" and "B".
Increase height of candidate strip.
2009-08-19 15:16:33 -07:00
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