Commit Graph

134 Commits (d7e42d7bcce00f55888588bf2b97d967a47c4cf6)

Author SHA1 Message Date
Amith Yamasani d7e42d7bcc am 5b63c38d: Fix 2306814: Too aggressive suggesting names from my contacts list.
Merge commit '5b63c38d1fc9e42348a8a90edf8dce6103f72864' into eclair-plus-aosp

* commit '5b63c38d1fc9e42348a8a90edf8dce6103f72864':
  Fix 2306814: Too aggressive suggesting names from my contacts list.
2009-12-08 10:07:29 -08:00
Amith Yamasani 5b63c38d1f Fix 2306814: Too aggressive suggesting names from my contacts list.
When there is more than one instance of a name in the Contacts, it
gets a very high weightage and can override corrections for very
high frequency words such as "the".

This fix prevents multiple occurences from increasing the frequency
of a contact and also from bumping it above 255, which is the frequency
of "the", "is", etc.
2009-12-07 11:42:09 -08:00
Amith Yamasani 929dc479b0 am bb6f9146: DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
Merge commit 'bb6f9146f1de4e0bdfaafca1d1896e02d038751d' into eclair-plus-aosp

* commit 'bb6f9146f1de4e0bdfaafca1d1896e02d038751d':
  DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
2009-12-03 05:41:29 -08:00
Amith Yamasani bb6f9146f1 DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
Comparisons were always happening with lowercase version of the typed
word, which wouldn't match the uppercase word in the dictionary, so it
became an unrecognized word when typed in full. Highlight was then going
to the next word in the list.

Fix compares the lowercase and uppercase versions of the word for
validity.

Merge from eclair-mr2
2009-12-02 16:43:21 -08:00
Eric Fischer 9af82ee226 am e8412735: Import revised translations. DO NOT MERGE
Merge commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d' into eclair-plus-aosp

* commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d':
  Import revised translations.  DO NOT MERGE
2009-11-30 12:05:14 -08:00
Eric Fischer e841273579 Import revised translations. DO NOT MERGE 2009-11-30 11:39:53 -08:00
Jean-Baptiste Queru 210ae545f4 merge from open-source master
Merge commit 'goog/stage-korg-master' into HEAD
2009-11-15 14:06:46 -08:00
Jean-Baptiste Queru 70394d2cf8 merge from eclair 2009-11-15 12:06:57 -08:00
Eric Fischer ef45070d8a Import revised translations. DO NOT MERGE
Approver: jerryw
2009-11-13 17:25:06 -08:00
Jean-Baptiste Queru 68eb1b1932 eclair snapshot 2009-11-12 18:46:12 -08:00
Android (Google) Code Review f61dcf234e Merge change I718e813f into eclair
* changes:
  Fix for #2244624 : Keyboard freezes up sometimes
2009-11-11 19:14:16 -08:00
Amith Yamasani 718e813fbd Fix for #2244624 : Keyboard freezes up sometimes
I think the cause for this is the Contacts database being updated. This
causes the keyboard to reload the contacts once every 30 minutes. Since it
loads it synchronously, it affects people with several thousand contacts.

Although in my tests, with 3000 contacts, the delay was only 600ms, I've
had several reports from long-time googlers about this problem, so I'm
switching to loading the contacts asynchronously in a background thread.

Also fix a potential problem with capitalizing "i" if a contact has "i" as
one of the names.
2009-11-11 18:49:36 -08:00
Amith Yamasani ef9012c6c6 Add comma to the popup punctuations since it's now not available on the main ABC keyboard. 2009-11-10 14:30:05 -08:00
Eric Fischer dbde9b2229 Import revised translations. DO NOT MERGE 2009-10-28 21:19:57 -07:00
Amith Yamasani bf0f4d9c8b Remove dupes from suggestions. Fixes 2213629
Dupes are sometimes generated, especially for names, from Contacts
and main dictionary. Check for dupes before showing suggestions.
2009-10-28 10:53:29 -07:00
Eric Fischer b04157a836 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-21 10:48:20 -07:00
Amith Yamasani 8850bdc7e4 Fix for 2170453: Capitalization sticks when entering passwords in Browser
This is caused by a delay in changing the shift state for performance reasons.
The delay was too long, causing multiple characters to be in shifted state when
typing fast (300ms interval).

Fix removes the optimization for the forward typing case. Doesn't affect the
backspace long-press optimization.

Triage: Hiroshi
Dr. No: mcleron
2009-10-12 12:59:34 -07:00
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
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 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
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