Jean Chalard
eaecb56f94
Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1
2011-03-04 22:43:16 -08:00
satok
a7dfbf8409
am f9a5bfa1: Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1
...
* commit 'f9a5bfa147b07f135e8da6f9b7305c31181fa5eb':
Add the suggestion algorithm of words with space proximity
2011-03-04 22:27:28 -08:00
Ken Wakasa
107e876757
am 5ac85462: Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1
...
* commit '5ac8546268a3c3cd2f523d086043d6200c553fa7':
Fix a NPE caused by a null typedWord
2011-03-04 22:24:22 -08:00
satok
f9a5bfa147
Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1
2011-03-04 22:24:05 -08:00
Ken Wakasa
5ac8546268
Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1
2011-03-04 22:14:24 -08:00
satok
817e517e46
Add the suggestion algorithm of words with space proximity
...
Bug: 3311719
Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
2011-03-04 20:37:18 -08:00
Jean Chalard
07a8406bc1
Demote skipped characters matched words with respect to length.
...
Words that matched user input with skipped characters used to be demoted
in BinaryDictionary by a constant factor and not at all in those dictionaries
implemented in java code. To represent the fact that the impact of a skipped
character gets larger as the word is shorter, this change will implement a
demotion that gets larger as the typed word is shorter. The demotion rate
is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2.
It implements it for both BinaryDictionary and java dictionaries.
Bug: 3340731
Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
2011-03-05 13:20:19 +09:00
Ken Wakasa
baf263caf4
Fix a NPE caused by a null typedWord
...
bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
2011-03-05 12:50:58 +09:00
Eric Fischer
a549101f3a
Import revised translations. DO NOT MERGE
...
Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443
2011-03-04 13:48:59 -08:00
Tadashi G. Takaoka
d90be6c921
Fix unit test helper
...
Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
2011-03-03 23:06:45 -08:00
Tadashi G. Takaoka
d628e72958
Merge "Cleanup Suggest to be able to be unit test ready" into honeycomb-mr1
2011-03-03 19:27:38 -08:00
Tadashi G. Takaoka
c2c44f94e7
Cleanup Suggest to be able to be unit test ready
...
Bug: 3414081
Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
2011-03-03 19:18:03 -08:00
Eric Fischer
50a4cb403f
Remove unneeded large-screen-specific translations.
...
Change-Id: Ia583ff3a4674dab1a2dc5cad7d7166ec9311585a
2011-03-03 15:50:53 -08:00
satok
dca305dd71
Merge "Move the auto correction functionalities to AutoCorrection.java"
2011-03-03 02:58:06 -08:00
satok
9f67e12a0e
Move the auto correction functionalities to AutoCorrection.java
...
- Also removed a quick fix for 2nd or more suggestions.
Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
2011-03-03 19:51:10 +09:00
Tadashi G. Takaoka
4503e2ea98
Hide shortcut key when the shortcut IME is not enabled
...
Bug: 3398726
Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
2011-03-03 01:18:08 -08:00
Tadashi G. Takaoka
424f6ec2bc
Continue swapping sentence separator and space
...
Bug: 3504990
Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
2011-03-02 22:26:44 -08:00
Tadashi G. Takaoka
662bb7c26c
Refactor TextEntryState not to use enum
...
Bug: 3504990
Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
2011-03-02 22:11:52 -08:00
Tadashi G. Takaoka
1eff7d77c8
Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords
...
Bug: 3504990
Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
2011-03-02 22:03:29 -08:00
Jean Chalard
c2bbc6a449
Use translation of fallback umlauts digraphs for German.
...
For German : handle "ae", "oe" and "ue" to be alternate forms for
umlaut-bearing versions of "a", "o" and "u".
Issue: 3275926
Change-Id: I056c707cdacc464ceab63be56c016c7f8439196c
2011-03-03 11:52:23 +09:00
Tadashi G. Takaoka
e59491460b
Remain in previous state while sliding off from shift key
...
Bug: 3502290
Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
2011-03-02 14:59:39 -08:00
Tadashi G. Takaoka
6f99d12b07
Enable re-correction even after revert auto-correction
...
This change removes the boolean flag mJustReverted. Because we
preserve separator after canceling auto-correction according to
bug#3230708, there is no need for this flag now.
Bug: 3193810
Change-Id: Icea06ece569774b494ffa4ca4a899c898661cc19
2011-03-02 11:14:04 -08:00
Tadashi G. Takaoka
8bf93c4ba5
Merge "Introduce timeout for "." shortcut"
2011-03-01 23:59:14 -08:00
Tadashi G. Takaoka
fc20f2198d
Introduce timeout for "." shortcut
...
Bug: 3294239
Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592
2011-03-01 23:57:51 -08:00
Ken Wakasa
7e99a28dfc
Clear suggestion strip when the suggestion starts
...
bug: 3488704
bug: 3480132
Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
2011-03-02 16:40:08 +09:00
Tadashi G. Takaoka
db241a1038
Update assets from designer-git repository
...
This new assets has revised alpha value.
Bug: 3451586
Change-Id: I8485044263b92111d882c4f88ca6a0e92c82f0ed
2011-03-01 17:41:59 -08:00
Ken Wakasa
7ec48741e4
Merge "Fix null token error"
2011-03-01 14:27:12 -08:00
Ken Wakasa
18e15a1e5e
Fix null token error
...
bug: 3499746
Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
2011-03-02 07:20:27 +09:00
Tadashi G. Takaoka
ee327ad0de
Merge "Import new assets from designer-git repository"
2011-03-01 14:03:42 -08:00
Tadashi G. Takaoka
8ba2ceea68
Merge "Add "apostrophe" key to symbol keyboard of url mode"
2011-03-01 13:58:24 -08:00
Tadashi G. Takaoka
b9038eb841
Import new assets from designer-git repository
...
Change-Id: Ie07dc956ea5c40b760d511976e42f847f0f68f9f
2011-03-01 13:44:48 -08:00
Tadashi G. Takaoka
dd0ac4a58d
Add "apostrophe" key to symbol keyboard of url mode
...
Bug: 3491087
Change-Id: I4fa339e66c958a54f2d28a2997861135ef94f7e6
2011-03-01 11:58:41 -08:00
Ken Wakasa
ed895634f8
Merge "Reset the suggestion status when composing span gets cleared"
2011-03-01 11:43:34 -08:00
Ken Wakasa
025a5e356e
Reset the suggestion status when composing span gets cleared
...
bug: 3353818
Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19
2011-03-02 04:30:03 +09:00
Eric Fischer
acd196386e
Merge "Import revised translations."
2011-03-01 11:13:09 -08:00
Eric Fischer
19292fbff6
Import revised translations.
...
Change-Id: Ic7ae2c78e732707ef2504e82c08851fe627465b3
2011-03-01 11:03:19 -08:00
Ken Wakasa
952cb7e973
Refactor recorrection variable and method names
...
Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd
2011-03-01 15:59:06 +09:00
Tadashi G. Takaoka
2e04770adf
Add output variables to BinaryDictionary's test entry
...
Bug: 3414081
Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a
2011-02-28 17:25:38 -08:00
Tadashi G. Takaoka
6f4eba814a
Add test entry for BinaryDictionary class
...
Bug: 3414081
Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0
2011-02-28 15:08:04 -08:00
Ken Wakasa
eaef1c5007
Change how to load native lib to be on the safe side
...
Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
2011-02-25 18:21:02 +09:00
Tadashi Takaoka
52e96f1e89
Merge "Added support for speaking keys through accessibility service."
2011-02-24 17:45:44 -08:00
Tadashi G. Takaoka
20887c57a6
Force currency key to "dollar" on password input field
...
This is followup change of I660c6f50.
Bug: 3413589
Change-Id: I7684150f7c52444884fe02a27e39c6de0105b2d8
2011-02-24 18:11:48 +09:00
Tadashi G. Takaoka
0e3548788b
Merge "Dynamic currency key label"
2011-02-24 00:03:18 -08:00
Tadashi G. Takaoka
d77e968942
Merge "Add noSettingsKey private IME option"
2011-02-23 23:48:45 -08:00
Tadashi G. Takaoka
6b05d482f4
Merge "Fix AutoText enabling timing"
2011-02-23 23:47:58 -08:00
Tadashi G. Takaoka
613514252c
Dynamic currency key label
...
The currency key shows different key label depending on the coutnry
code of the keyboard, "dollar", "euro" and "pound".
Bug: 3413589
Change-Id: I660c6f5010629276df3f97d337f4493d1fbccb3f
2011-02-24 16:47:25 +09:00
Tadashi G. Takaoka
4199e29a7d
Add noSettingsKey private IME option
...
Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57
2011-02-24 16:31:20 +09:00
Tadashi G. Takaoka
2702334165
Fix AutoText enabling timing
...
Bug: 3479978
Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
2011-02-24 16:18:24 +09:00
Jean Chalard
fdc4b08309
Merge "Allow the user to save words when there is no binary dictionary."
2011-02-23 19:18:10 -08:00
satok
10c169a44d
Merge "Add proximity info to native"
2011-02-23 18:28:14 -08:00
Jean Chalard
7f2ba16aa2
Allow the user to save words when there is no binary dictionary.
...
At the moment, if there is no binary dictionary, even when pressing the
word in the suggestion strip the option to save in the user dictionary
is not displayed. This change addresses that.
Bug: 3363756
Change-Id: I4993a7f81ed15ab948a3098cdc49663e0f109e4a
2011-02-24 11:20:21 +09:00
Alan Viverette
dcade18113
Added support for speaking keys through accessibility service.
...
Issue: 3366636
Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
2011-02-23 18:16:43 -08:00
Jean Chalard
ededda059c
Merge "Treat quotes as part of the word in French."
2011-02-23 17:29:10 -08:00
satok
8fbd552292
Add proximity info to native
...
Bug: 3311719
Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
2011-02-23 23:04:00 +09:00
Jean Chalard
92e208429e
Treat quotes as part of the word in French.
...
Bug: 3397183
Change-Id: Ie634a9b0f1f7ed7cfa9f4f3aeba44b578bc7caac
2011-02-23 22:08:19 +09:00
Tadashi G. Takaoka
435711dee0
Merge "Fix privateImeOptions parsing"
2011-02-23 03:03:19 -08:00
Tadashi G. Takaoka
8efc0addce
Fix privateImeOptions parsing
...
This change deprecates "nm" private IME options and introduces new
private option, <package name>.noMicrophone, instead.
Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649
2011-02-23 20:00:08 +09:00
Tadashi G. Takaoka
edb722abef
Merge "Add countryCode attribute to case tag of Keyboard"
2011-02-23 01:00:00 -08:00
Tadashi G. Takaoka
912ade36d2
Add countryCode attribute to case tag of Keyboard
...
Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af
2011-02-23 17:09:24 +09:00
Tadashi G. Takaoka
cb97c2f140
Refactor keyboard mode holding variables
...
Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
2011-02-23 14:17:10 +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
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
ec2ef40dab
Revised Russian keyboard layout
...
Bug: 3451586
Change-Id: I10d5f45b6218e8f0ab5a0d2f2c285469338890c6
2011-02-20 00:41:07 +09: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
887f11ee43
Remove next letters frequency handling
...
Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
2011-02-17 13:59:41 +09: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
Ken Wakasa
b1e05d6638
Fix NPE
...
bug: 3446590
Change-Id: Iea5bd8f63f3322496b5d68539f0215d5d01e68d1
2011-02-14 23:55:16 +09:00
Jean Chalard
75fa4b8c0d
Merge "Add stack dumper helper function."
2011-02-13 19:03:11 -08:00
Jean Chalard
5b85d032cd
Add stack dumper helper function.
...
Change-Id: I78e5aef3cc6abfeb764a7e8a432f063f18d56da2
2011-02-14 11:32:48 +09:00
Max Braun
3cadd8e366
Adding 'ß' as an alternate for 's' (for 'en' keyboard).
...
Change-Id: Ic1dfd4b18be1bcfb9c525dad540b85892608d5c4
2011-02-11 13:15:38 -08:00
satok
a7ea6cad82
Merge remote branch 'goog/master' into merge
...
Conflicts:
java/res/xml/method.xml
java/src/com/android/inputmethod/latin/LatinIME.java
java/src/com/android/inputmethod/latin/SubtypeSwitcher.java
java/src/com/android/inputmethod/voice/VoiceIMEConnector.java
Change-Id: I9b62da120dcc08327fde92459ee5c7564a5eb6b8
2011-02-10 17:31:37 +09: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
Tadashi G. Takaoka
33e0b1e79e
Add unit test helper method to BinaryDictionary and Suggest
...
Bug: 3414081
Change-Id: Idee64010f2f423d3c7c548d0279c7bf287088762
2011-02-08 17:56:55 +09:00
Tadashi G. Takaoka
39c323eb12
Merge "Move and rename computeProximityThreshold"
2011-02-08 00:05:27 -08:00
Jean Chalard
f0d99b8677
Make the keyboard sound on by default for xlarge screens.
...
Also change the name of the default value for re-correction for
consistency with other constant names.
Bug: 3426884
Change-Id: I615ba640fb17e6d7514b8a0e4f52028eb0e23908
2011-02-08 12:44:03 +09:00
Tadashi G. Takaoka
5ef096f5f6
Move and rename computeProximityThreshold
...
Move and rename KeyboardView.computeProximityThreshold to
KeyDetector.getMostCommonKeyWidth. And make it public for unit test
use.
This is a part of multi-project change (If751659a, Idb18f362)
Bug: 3414081
Change-Id: If751659a53c7412f836d6d28866760ffe84b179b
2011-02-08 11:43:39 +09:00
Jean-Michel Trivi
cf675cc808
am 78f9ee97: am 985fb645: Revert I871cfaaf Latin IME Keyboard sounds off by default
...
* commit '78f9ee978a6a3e8a78ae161034c273d4c8600f6f':
Revert I871cfaaf Latin IME Keyboard sounds off by default
2011-02-07 13:49:56 -08:00
Jean-Michel Trivi
a428945d90
am 2fb80292: am 435ea0f5: Fix bug 3426884 Latin IME Keyboard sounds should be on by default
...
* commit '2fb802922e76f20bfb21c0b988bab4a67c56161d':
Fix bug 3426884 Latin IME Keyboard sounds should be on by default
2011-02-07 13:49:43 -08:00
Jean-Michel Trivi
985fb645ef
Revert I871cfaaf Latin IME Keyboard sounds off by default
...
Change-Id: If4b90daa04df0b554faf2886fe83410e086e5b9c
2011-02-04 17:44:17 -08:00
Jean-Michel Trivi
435ea0f5dc
Fix bug 3426884 Latin IME Keyboard sounds should be on by default
...
Change the default value when retrieving the PREF_SOUND_ON property
from the Settings from false to true.
Change-Id: I871cfaaf1f33b5e0301c84ee9c94f1c429901021
2011-02-04 16:42:46 -08:00
satok
8dac5fe98d
Merge "Duplicate enabled languages when there is only one enabled language"
2011-02-04 00:30:11 -08:00
satok
c98a943eda
Duplicate enabled languages when there is only one enabled language
...
Bug: 3415274
Change-Id: Ibc17733be888044cfa5d1787b8489e642d70d70f
2011-02-04 17:27:18 +09:00
Tadashi G. Takaoka
fdb2225803
Merge "Skip sudden jump detection on distinct multitouch device"
2011-02-03 23:00:19 -08:00
Tadashi G. Takaoka
9a5b592b27
Skip sudden jump detection on distinct multitouch device
...
Bug: 3400448
Change-Id: I37150d624b73ed089875a905fe04c5b8b3ecfa0a
2011-02-04 15:49:11 +09:00