Commit graph

159 commits

Author SHA1 Message Date
Android (Google) Code Review
0ee83f27d7 Merge change I8c9748c8 into eclair-mr2
* changes:
  Input language switching. Bug: 2331173
2009-12-16 17:49:59 -08:00
Amith Yamasani
36fcf25833 Input language switching. Bug: 2331173
New feature to enable fast switching between input languages for
multilingual users. Keyboard settings lets you select a bunch of
languages to switch between from the Latin IME.

Use the Globe icon to toggle between languages.

Needs more work and some layout changes in specialized keyboards.

Also added a Russian keyboard (needs some pixel TLC at the right edge).
2009-12-16 17:48:23 -08:00
Eric Fischer
f1557e197f am 005d0ac4: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '005d0ac4016279c9b842beedb95ef1a4019d15d7' into eclair-mr2

* commit '005d0ac4016279c9b842beedb95ef1a4019d15d7':
  Import revised translations.  DO NOT MERGE
2009-12-10 17:44:03 -08:00
Eric Fischer
005d0ac401 Import revised translations. DO NOT MERGE 2009-12-09 17:28:33 -08:00
Amith Yamasani
358e485b14 Experimental Extension keyboard
Slide up on keyboard to get an extended keyboard for numbers and
punctuations. This is work in progress...
2009-12-08 14:35:37 -08:00
Amith Yamasani
24c1ff4993 am 5b63c38d: Fix 2306814: Too aggressive suggesting names from my contacts list.
Merge commit '5b63c38d1fc9e42348a8a90edf8dce6103f72864' into eclair-mr2

* commit '5b63c38d1fc9e42348a8a90edf8dce6103f72864':
  Fix 2306814: Too aggressive suggesting names from my contacts list.
2009-12-08 10:07:42 -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
82c68bfbfc Fix for 2305181: "shift A shift M" quickly gives Am instead of AM
There was a delayed changing of keyboard to lowercase after typing
a shifted letter that was triggering after the user pressed shift
again. Removed the delayed message when user hits shift.
2009-12-04 11:58:57 -08:00
Amith Yamasani
84400f65ab am bb6f9146: (-s ours) DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
Merge commit 'bb6f9146f1de4e0bdfaafca1d1896e02d038751d' into eclair-mr2

* commit 'bb6f9146f1de4e0bdfaafca1d1896e02d038751d':
  DO NOT MERGE: Fix for 2295810: Auto-correction of English results in Englishman
2009-12-03 05:41:23 -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
d30198b3b3 am e8412735: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d' into eclair-mr2

* commit 'e84127357929bd82b4c8710dee697fe7c3d5d88d':
  Import revised translations.  DO NOT MERGE
2009-12-01 17:11:18 -08:00
Amith Yamasani
f590a49739 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.
2009-12-01 11:44:22 -08:00
Eric Fischer
e841273579 Import revised translations. DO NOT MERGE 2009-11-30 11:39:53 -08:00
Android (Google) Code Review
6aa7f59292 Merge change I5eb95ef4 into eclair-mr2
* changes:
  Remove U+U2042 ASTERISM from the longpress special-character dialog.
2009-11-15 10:17:09 -08:00
Eric Fischer
93788b6874 am ef45070d: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'ef45070d8adbf67df84e535fbbd11fbf0e7cc3b8' into eclair-mr2

* commit 'ef45070d8adbf67df84e535fbbd11fbf0e7cc3b8':
  Import revised translations.  DO NOT MERGE
2009-11-13 17:55:15 -08:00
Eric Fischer
ef45070d8a Import revised translations. DO NOT MERGE
Approver: jerryw
2009-11-13 17:25:06 -08:00
Daniel Sandler
cb3b687088 Remove U+U2042 ASTERISM from the longpress special-character dialog.
(It does not exist in Droid Sans Fallback.)

http://b/2220888

Change-Id: I5eb95ef425a1ac4440fcc9cd106fc21f3d702ea4
2009-11-12 13:48:46 -08:00
Amith Yamasani
850d68b923 am f61dcf23: Merge change I718e813f into eclair
Merge commit 'f61dcf234e056cc3452341f1e505e77f55cc0bce' into eclair-mr2

* commit 'f61dcf234e056cc3452341f1e505e77f55cc0bce':
  Fix for #2244624 : Keyboard freezes up sometimes
2009-11-11 19:17:41 -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
044bc302ba am ef9012c6: Add comma to the popup punctuations since it\'s now not available on the main ABC keyboard.
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.
2009-11-11 17:11:19 -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
cf27e2f4fe Import revised translations. DO NOT MERGE 2009-11-06 15:30:07 -08:00
Android (Google) Code Review
c2a1b756b8 Merge change I46984565 into eclair-mr2
* changes:
  Add some additional glyphs to longpress key dialogs.
2009-11-03 15:14:11 -05:00
Eric Fischer
643899a877 am dbde9b22: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'dbde9b222997752d3a86a9aeba68b94d2940de68' into eclair-mr2

* commit 'dbde9b222997752d3a86a9aeba68b94d2940de68':
  Import revised translations.  DO NOT MERGE
2009-10-29 19:24:26 -07:00
Daniel Sandler
4698456558 Add some additional glyphs to longpress key dialogs.
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.
2009-10-29 13:31:58 -04:00
Amith Yamasani
709d1c61da am bf0f4d9c: Remove dupes from suggestions. Fixes 2213629
Merge commit 'bf0f4d9c8b789035255d6b89752c77801929002e' into eclair-mr2

* commit 'bf0f4d9c8b789035255d6b89752c77801929002e':
  Remove dupes from suggestions. Fixes 2213629
2009-10-29 01:29:00 -07: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
Daisuke Miyakawa
7d92b6ffc5 Add missing "android:codes" in i.
Also, add some comments to @string/key_i.
Currently there's a possiblity where some translator misunderstand what this means.

Internal issue number: 2213965
2009-10-28 07:04:28 +09:00
Eric Fischer
40bf8352fe am b04157a8: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'b04157a83614f386d2a43b1839f8d22c80151ea7' into eclair-mr2

* commit 'b04157a83614f386d2a43b1839f8d22c80151ea7':
  Import revised translations.  DO NOT MERGE
2009-10-22 06:45:39 -07:00
Eric Fischer
b04157a836 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-21 10:48:20 -07:00
Android (Google) Code Review
4611b578a1 Merge change I6c27819c into eclair-mr2
* changes:
  Fix for #2185627 : ArrayIndexOutOfBounds in BinaryDictionary.getWords()
2009-10-14 19:42:27 -04:00
Amith Yamasani
d0e43ecb34 Fix for #2185627 : ArrayIndexOutOfBounds in BinaryDictionary.getWords()
Make sure the word count doesn't exceed the maximum suggested words.

And also, only get the count one time instead of every time a match
is found.
2009-10-14 16:30:34 -07:00
Eric Fischer
fc80c3151d Import revised translations. DO NOT MERGE 2009-10-13 16:08:17 -07:00
Amith Yamasani
dd8c1d8db3 am 8850bdc7: Fix for 2170453: Capitalization sticks when entering passwords in Browser
Merge commit '8850bdc7e4c1da7049231bc1e21f17213562f9b6' into eclair-mr2

* commit '8850bdc7e4c1da7049231bc1e21f17213562f9b6':
  Fix for 2170453: Capitalization sticks when entering passwords in Browser
2009-10-12 13:21:01 -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
Amith Yamasani
95a21916b9 am 0f3b8e89: Merge change Ieef539c3 into eclair
Merge commit '0f3b8e8966d3da99e7844d6ca8083cccf23bef01' into eclair-mr2

* commit '0f3b8e8966d3da99e7844d6ca8083cccf23bef01':
  Fix a potential IllegalArgumentException caught by monkeys. #2176776
2009-10-09 10:24:57 -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
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