Commit graph

2538 commits

Author SHA1 Message Date
Jean Chalard
f5f834afcd Rename variables with obscure names.
The `snr' variable has a very obscure name. Rename it to `matchWeight'.
Also, the `toLowerCase' function is error-prone, since it actually returns
a lower case version of the BASE char, that is without diacritics. Hence,
rename it to `toBaseLowerCase' and update variables with similar names.

Change-Id: Ibdbe73018a33ee864db59a51d664c3b104d5fb3f
2011-02-22 16:43:19 +09:00
Jean Chalard
a5d5849701 Force autocorrection of matching words with different accents.
When entering a word without accents the user expects the system to
add accents automatically if there is no other matching word. This
patch ensures the accented version is promoted accordingly and
autocorrection really takes place.

Issue: 3400015

Change-Id: I8cd3db5bf131ec6844b26abecc1ecbd1d6269df4
2011-02-22 15:27:06 +09:00
Tadashi G. Takaoka
050c0462dc Display language name on spacebar even in symbol keyboard.
Bug: 3468634
Change-Id: I1a25eb71ddbd7efae6f40ea357714924a9d56dc4
2011-02-20 21:16:49 +09:00
Tadashi G. Takaoka
4adf5d9ae5 Disable non-ASCII symbol keys in password input
Bug: 3384942

Change-Id: Ifa10e84f22bb6ff85dfc397fac95a0294b2a6bea
2011-02-20 18:59:25 +09:00
Tadashi G. Takaoka
a9f2fe2d59 Merge "Add "passwordInput" attribute to case tag of Keyboard" 2011-02-20 01:50:16 -08:00
Tadashi G. Takaoka
4b13b4f942 Add "passwordInput" attribute to case tag of Keyboard
This change also introduces number password (a.k.a. PIN) layout. The
text password layout will follow.

Bug: 3384942
Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
2011-02-20 18:46:48 +09:00
Tadashi G. Takaoka
690b1360bf Don't play key press sound if the key is disabled
Change-Id: I1c6d1b16a7420bc7e5f97f50da549e6a89498f18
2011-02-20 18:14:05 +09:00
Tadashi G. Takaoka
810a9ff9d4 Merge "Revised Russian keyboard layout" 2011-02-20 01:08:30 -08:00
Tadashi G. Takaoka
ec63fb17d3 Merge "Read "enabled" attribute of Key from <key-style>" 2011-02-19 23:15:35 -08:00
Tadashi G. Takaoka
fdb6a194b1 Read "enabled" attribute of Key from <key-style>
This is follow up change of I1ea82d9f.

Bug: 3384942
Change-Id: If96eda69fe81edbfc1b243a6fa9f8eb6bbf4c12d
2011-02-20 15:25:57 +09:00
Tadashi G. Takaoka
351e3c8ae0 Fix unit test failure
Change-Id: I6814986f04a0cdf91837cfa60c7eca81a687236b
2011-02-20 14:35:45 +09:00
Tadashi G. Takaoka
ec2ef40dab Revised Russian keyboard layout
Bug: 3451586
Change-Id: I10d5f45b6218e8f0ab5a0d2f2c285469338890c6
2011-02-20 00:41:07 +09:00
Eric Fischer
e021136396 am c507c66c: Import revised translations. DO NOT MERGE
* commit 'c507c66c7b4d1cb36ce05ddd279fee04f6896463':
  Import revised translations.  DO NOT MERGE
2011-02-18 15:23:09 -08:00
Eric Fischer
6a3aa49bb5 Import revised translations. DO NOT MERGE
Change-Id: I477f2a2ca49358a16dd56ffcfe283a24d47f12b7
2011-02-18 08:00:52 -08:00
Tadashi G. Takaoka
ea6c2e3350 Add "languageCode" attribute to "case" tag in Keyboard XML
bug: 3451586
Change-Id: I08ca80e48648ba18543e9b8ca7362c06bb61a826
2011-02-18 17:04:04 +09:00
Tadashi G. Takaoka
d9c52ba623 Rename imeOptions attribute of Keyboard to imeAction.
Bug: 3384942
Change-Id: I3ce01b83f0ae37f447de8a7fcdb5d7fe06b108c6
2011-02-18 16:56:05 +09:00
Tadashi G. Takaoka
aa721c4783 Add "enabled" as an attribute of Key in Keyboard xml
If the key is marked as "enabled=false", the key will not respond to be pressed.

Bug: 3384942
Change-Id: I1ea82d9f3dfa5a9916ff3bbc736ea7e6c77426ae
2011-02-18 14:45:37 +09:00
Eric Fischer
b32f1b6055 Merge "Import revised translations." 2011-02-17 10:30:01 -08:00
Eric Fischer
2ca4e9ae8a Import revised translations.
Change-Id: I4b678c68e9a32ac77c46958ef2c530da81508978
2011-02-17 10:21:28 -08:00
satok
290b4a8ff9 Merge "Not to make a thread at changing view from keyboard to voice" 2011-02-17 01:45:28 -08:00
satok
060efb6d82 Not to make a thread at changing view from keyboard to voice
Change-Id: If3f89b3e9774c566a1bb2119b161c42b715e6709
2011-02-17 17:45:46 +09:00
Ken Wakasa
eebbe54113 Merge "Fix password variation check code" 2011-02-16 22:00:01 -08:00
Ken Wakasa
16ee377bcd Fix password variation check code
Change-Id: Id994112a029982b4dabd6ebca34edd1d787e5ae2
2011-02-17 14:44:44 +09:00
Tadashi G. Takaoka
80275c7d1c Merge "Remove next letters frequency handling" 2011-02-16 21:38:44 -08:00
Tadashi G. Takaoka
887f11ee43 Remove next letters frequency handling
Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
2011-02-17 13:59:41 +09:00
Eric Fischer
58e01050e1 am 4a19087f: (-s ours) am 3bbbd59c: Import revised translations. DO NOT MERGE
* commit '4a19087f702f31f14b04d4b173f0d2e25b2d79a6':
  Import revised translations.  DO NOT MERGE
2011-02-16 10:42:16 -08:00
Eric Fischer
4a19087f70 am 3bbbd59c: Import revised translations. DO NOT MERGE
* commit '3bbbd59cb5c19d6bf8ffe50cb1a8f9ba5f1bcc1e':
  Import revised translations.  DO NOT MERGE
2011-02-16 10:37:14 -08:00
Eric Fischer
3bbbd59cb5 Import revised translations. DO NOT MERGE
Change-Id: I8c0b6af45bf9a619bf0b6c0ea90e00ec61aa7bfe
2011-02-16 10:23:37 -08:00
Jean Chalard
a7b2ac26ee Remove a useless flag.
This has become useless when LatinIME stopped being a
SharedPreferenceListener.

Change-Id: I708ec3c3a299ead18548c85b435b45558c984e8d
2011-02-15 17:15:13 +09:00
Ken Wakasa
0e71cb1fff Merge "Fix NPE" 2011-02-14 20:24:09 -08:00
Ken Wakasa
6e7275bb73 Merge "Adding 'ß' as an alternate for 's' (for 'en' keyboard)." 2011-02-14 19:46:56 -08:00
Eric Fischer
c507c66c7b Import revised translations. DO NOT MERGE
Change-Id: I477f2a2ca49358a16dd56ffcfe283a24d47f12b7
2011-02-14 17:25:28 -08:00
Ken Wakasa
b1e05d6638 Fix NPE
bug: 3446590
Change-Id: Iea5bd8f63f3322496b5d68539f0215d5d01e68d1
2011-02-14 23:55:16 +09:00
Tadashi G. Takaoka
aeab97695b Add method to retreive suggestions from SuggestionHelper
Bug: 3414081
Change-Id: I96ffdd1c60fad933b32f7df023c51a9d10fcc53f
2011-02-14 16:27:07 +09:00
Tadashi G. Takaoka
195e0f715f Merge "Reorganize suggestion related unit test" 2011-02-13 19:46:07 -08:00
Jean Chalard
75fa4b8c0d Merge "Add stack dumper helper function." 2011-02-13 19:03:11 -08:00
Tadashi G. Takaoka
5cb4eaeec0 Reorganize suggestion related unit test
Bug: 3414081
Change-Id: Ie98c7935b25d17f1547955f8fb6ba2c5c1edb997
2011-02-14 12:00:42 +09:00
Jean Chalard
5b85d032cd Add stack dumper helper function.
Change-Id: I78e5aef3cc6abfeb764a7e8a432f063f18d56da2
2011-02-14 11:32:48 +09:00
Jean Chalard
1ed20371c1 Merge "Stop listening on shared preferences change." 2011-02-13 18:27:07 -08:00
Max Braun
3cadd8e366 Adding 'ß' as an alternate for 's' (for 'en' keyboard).
Change-Id: Ic1dfd4b18be1bcfb9c525dad540b85892608d5c4
2011-02-11 13:15:38 -08:00
Eric Fischer
d94de20760 am 2cd573a4: (-s ours) am 708a66ef: (-s ours) am df13e97f: Import revised translations. DO NOT MERGE
* commit '2cd573a430da03582fc811d1ff877a39e465f664':
  Import revised translations.  DO NOT MERGE
2011-02-10 13:57:26 -08:00
Eric Fischer
2cd573a430 am 708a66ef: (-s ours) am df13e97f: Import revised translations. DO NOT MERGE
* commit '708a66efffab067798f4d0ac58493da5c10ca8f0':
  Import revised translations.  DO NOT MERGE
2011-02-10 13:51:48 -08:00
Jean Chalard
9a5d2ba03e Stop listening on shared preferences change.
It appears it is not useful to listen to this change, because in any
case, settings will be reloaded when the view is shown again or when
IME is changed.

Change-Id: I08dddccc630b01718da7fab011ce14f189dd31c3
2011-02-10 16:34:58 +09:00
Eric Fischer
03b5579b3b am f9d74f2a: (-s ours) am 4b7fee77: Import revised translations. DO NOT MERGE
* commit 'f9d74f2ac2da76d6d50dcca94216c35038de6f8a':
  Import revised translations.  DO NOT MERGE
2011-02-09 10:52:29 -08:00
Eric Fischer
f9d74f2ac2 am 4b7fee77: Import revised translations. DO NOT MERGE
* commit '4b7fee774a222715be5771cdbf37627c6d726743':
  Import revised translations.  DO NOT MERGE
2011-02-09 10:48:04 -08:00
Eric Fischer
4b7fee774a Import revised translations. DO NOT MERGE
Change-Id: Ia66ec2c994e79c51da1b048ea22747a338257ccc
2011-02-08 18:03:53 -08:00
Eric Fischer
708a66efff am df13e97f: Import revised translations. DO NOT MERGE
* commit 'df13e97ffcbafd5487c8a35dd2c02f4d90c80d66':
  Import revised translations.  DO NOT MERGE
2011-02-08 17:33:23 -08:00
Eric Fischer
620f72ffd1 Import revised translations. DO NOT MERGE
Change-Id: I3a46d4b49c5b97c387b855f558b32cad1c5bb2a9
2011-02-08 14:21:06 -08:00
Eric Fischer
cb802dfe72 am 82b137b6: (-s ours) am 07125579: Import revised translations. DO NOT MERGE
* commit '82b137b60f191b6365c4ba7f841625b73dc02d67':
  Import revised translations.  DO NOT MERGE
2011-02-08 10:53:10 -08:00
Eric Fischer
82b137b60f am 07125579: Import revised translations. DO NOT MERGE
* commit '07125579a0788a6b11cf7e0b24439b7bf3880394':
  Import revised translations.  DO NOT MERGE
2011-02-08 10:46:01 -08:00