Commit Graph

14123 Commits (1da572e1a88af74b3afa06af6251f35fe6093502)

Author SHA1 Message Date
Android (Google) Code Review 0f3b8e8966 Merge change Ieef539c3 into eclair
* changes:
  Fix a potential IllegalArgumentException caught by monkeys. #2176776
2009-10-09 13:17:48 -04:00
Amith Yamasani eef539c3f2 Fix a potential IllegalArgumentException caught by monkeys. #2176776
For some reason the key code is outside the code point range. Adding
a safeguard to deal with possible out of range key codes.
2009-10-09 07:03:11 -07:00
Amith Yamasani ad5d6b8a30 am f195bd94: am b7a94fd7: Merge change Ib3f6d58b into eclair
Merge commit 'f195bd94f3d64bf15956a728d860e6a17f57ec30' into eclair-mr2-plus-aosp

* commit 'f195bd94f3d64bf15956a728d860e6a17f57ec30':
2009-10-08 17:46:14 -07:00
johnwang e9b0e47f80 Merge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform/packages/inputmethods/LatinIME into eclair-mr2-plus-aosp 2009-10-08 17:46:13 -07:00
Amith Yamasani f195bd94f3 am b7a94fd7: Merge change Ib3f6d58b into eclair
Merge commit 'b7a94fd7d66ad2cb73ed6c7226de5535935ab8b0' into eclair-mr2

* commit 'b7a94fd7d66ad2cb73ed6c7226de5535935ab8b0':
  Fix for 2148982: Keyboard freezes while typing
2009-10-08 17:30:50 -07:00
Android (Google) Code Review b7a94fd7d6 Merge change Ib3f6d58b into eclair
* changes:
  Fix for 2148982: Keyboard freezes while typing
2009-10-08 17:33:59 -04:00
Amith Yamasani b3f6d58b6e Fix for 2148982: Keyboard freezes while typing
Contacts dictionary code was being triggered too frequently during sync and
during presence updates and this seems expensive for accounts with a lot of
contacts.

Throttling the contacts read to every 30 minutes.
2009-10-08 13:06:37 -07:00
Eric Fischer e9c82cbb2b am 75e5091c: (-s ours) am b49679fa: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '75e5091ceacb201b9a1c81cab21f357bd2e91f17' into eclair-mr2

* commit '75e5091ceacb201b9a1c81cab21f357bd2e91f17':
  Import revised translations.  DO NOT MERGE
2009-10-08 10:58:28 -07:00
Eric Fischer 75e5091cea am b49679fa: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'b49679fa547f52ad548539cfa8719c2b07207da7' into eclair

* commit 'b49679fa547f52ad548539cfa8719c2b07207da7':
  Import revised translations.  DO NOT MERGE
2009-10-08 10:48:36 -07:00
Amith Yamasani 379bcf8064 Fix a bug in suggestion algorithm not returning all matches. Fixes 2170908.
Native code was not returning the correct count for found matches. Fixed the
incorrect assumption that words usually get inserted in descending order of
frequency.
2009-10-06 15:46:24 -07:00
Eric Fischer 142dc94031 am 3fd9d9e3: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '3fd9d9e3e07587a913cc5bb54c6a0fc08f048d0d' into eclair-mr2

* commit '3fd9d9e3e07587a913cc5bb54c6a0fc08f048d0d':
  Import revised translations.  DO NOT MERGE
2009-10-04 15:15:31 -07:00
Eric Fischer 3fd9d9e3e0 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-01 17:02:35 -07:00
Amith Yamasani 12e582c79c Fix 2146178: On-screen keyboard is wider than screen
Sometimes the keyboard is getting confused about it's width when switching
between hard keyboard open and close state and portrait-forced home. Force
creation of keyboard layouts after a configuration change to fix the
inconsistent state.

Don't force create when just switching between input fields, too expensive.

Also fixes the problem of keyboard not changing layout after a locale change,
unless there's an orientation change.
2009-09-30 21:15:47 -07:00
Amith Yamasani 56f96fe05b AI 150810: Fix for 2023252 & 2023256: Turkish accented characters for the keyboard
BUG=2023252,2023256

Automated import of CL 150810
2009-09-30 17:37:51 -07:00
Daniel Sandler 5442c7d4ba New hdpi assets.
Drop dated 29-Sep-2009.

Change-Id: I47d6adde00f70baef8b0b52cbde60e297452dd76
2009-09-30 00:36:24 -04:00
Eric Fischer b49679fa54 Import revised translations. DO NOT MERGE 2009-09-29 16:44:31 -07:00
Eric Laurent 2296317b8f Fix issue 2141503: Keyclick sound doesn't honor volume settings.
Align sound effect volume on music volume.
2009-09-29 12:00:38 -07:00
Daniel Sandler 59faad8abd New high-density artwork for the LatinIME (drop dated 09/24/09). 2009-09-24 09:24:25 -04:00
Amith Yamasani 7b138f7fbf Make auto-correct the default 2009-09-23 16:01:52 -07:00
Eric Fischer b58c9c0dcc Import revised translations. DO NOT MERGE 2009-09-17 14:36:14 -07:00
Amith Yamasani 36ebae2e8d Handle new flag NO_SUGGESTIONS and no auto-correct for single-line fields unless requested. Fix: 2030364
Don't show suggestions if NO_SUGGESTIONS flag is specified. And don't do auto-correction unless
explicitly requested or it's a multi-line text.
2009-09-17 11:10:15 -07:00
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