Merge commit 'f61dcf234e056cc3452341f1e505e77f55cc0bce' into eclair-mr2
* commit 'f61dcf234e056cc3452341f1e505e77f55cc0bce':
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.
Merge commit 'ef9012c6c63350e52dbcce597623dcc4705a8ff9' into eclair-mr2
* commit 'ef9012c6c63350e52dbcce597623dcc4705a8ff9':
Add comma to the popup punctuations since it's now not available on the main ABC keyboard.
Merge commit 'dbde9b222997752d3a86a9aeba68b94d2940de68' into eclair-mr2
* commit 'dbde9b222997752d3a86a9aeba68b94d2940de68':
Import revised translations. DO NOT MERGE
Addresses http://b/issue?id=2220888 by including curly
single quotes underneath the straight single quote key.
Introduces a number of other useful Unicode glyphs as well.
Also, add some comments to @string/key_i.
Currently there's a possiblity where some translator misunderstand what this means.
Internal issue number: 2213965
Merge commit 'b04157a83614f386d2a43b1839f8d22c80151ea7' into eclair-mr2
* commit 'b04157a83614f386d2a43b1839f8d22c80151ea7':
Import revised translations. DO NOT MERGE
Merge commit '8850bdc7e4c1da7049231bc1e21f17213562f9b6' into eclair-mr2
* commit '8850bdc7e4c1da7049231bc1e21f17213562f9b6':
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
Merge commit 'b7a94fd7d66ad2cb73ed6c7226de5535935ab8b0' into eclair-mr2
* commit 'b7a94fd7d66ad2cb73ed6c7226de5535935ab8b0':
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.
Merge commit '75e5091ceacb201b9a1c81cab21f357bd2e91f17' into eclair-mr2
* commit '75e5091ceacb201b9a1c81cab21f357bd2e91f17':
Import revised translations. DO NOT MERGE
Merge commit 'b49679fa547f52ad548539cfa8719c2b07207da7' into eclair
* commit 'b49679fa547f52ad548539cfa8719c2b07207da7':
Import revised translations. DO NOT MERGE
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.
Merge commit '3fd9d9e3e07587a913cc5bb54c6a0fc08f048d0d' into eclair-mr2
* commit '3fd9d9e3e07587a913cc5bb54c6a0fc08f048d0d':
Import revised translations. DO NOT MERGE
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.
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.