aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-07Fix a bug that a word with only one missing word is not promotedsatok1-1/+1
Bug: 4027223 Change-Id: Icf7c5b917c18b565dca95b98b96c1c8e2963f540
2011-03-07Import revised translations. DO NOT MERGEEric Fischer2-4/+4
Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123
2011-03-04A bug fix for the mistyped space algorithmsatok4-9/+7
Bug: 3311719 -- also fixed compiler warnings Change-Id: I6941c0d02f10d67af88bc943748dde8d8783fabb
2011-03-04Add the suggestion algorithm of words with space proximitysatok7-45/+113
Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
2011-03-05Demote skipped characters matched words with respect to length.Jean Chalard4-16/+47
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-05Fix a NPE caused by a null typedWordKen Wakasa2-2/+1
bug: 3514797 Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
2011-03-04Import revised translations. DO NOT MERGEEric Fischer1-2/+2
Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443
2011-03-03Fix unit test helperTadashi G. Takaoka2-0/+5
Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
2011-03-04Fix a bug with umlaut processing.Jean Chalard3-27/+40
Issue: 3275926 Change-Id: Ibcb00aaea3ff05ad59ad4e8e54dd3caab5ab9bca
2011-03-03Cleanup Suggest to be able to be unit test readyTadashi G. Takaoka2-64/+66
Bug: 3414081 Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
2011-03-03Remove unneeded large-screen-specific translations.Eric Fischer1-122/+0
Change-Id: Ia583ff3a4674dab1a2dc5cad7d7166ec9311585a
2011-03-03Move the auto correction functionalities to AutoCorrection.javasatok3-66/+154
- Also removed a quick fix for 2nd or more suggestions. Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
2011-03-03Hide shortcut key when the shortcut IME is not enabledTadashi G. Takaoka4-13/+32
Bug: 3398726 Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
2011-03-02Continue swapping sentence separator and spaceTadashi G. Takaoka2-2/+1
Bug: 3504990 Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
2011-03-02Refactor TextEntryState not to use enumTadashi G. Takaoka2-224/+153
Bug: 3504990 Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
2011-03-02Remove mIsApplicationSpecifiedCompletions flags from SuggestedWordsTadashi G. Takaoka3-14/+6
Bug: 3504990 Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
2011-03-03Use translation of fallback umlauts digraphs for German.Jean Chalard8-56/+239
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-02Remain in previous state while sliding off from shift keyTadashi G. Takaoka5-32/+38
Bug: 3502290 Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
2011-03-02Enable re-correction even after revert auto-correctionTadashi G. Takaoka1-11/+3
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-01Introduce timeout for "." shortcutTadashi G. Takaoka2-2/+24
Bug: 3294239 Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592
2011-03-02Clear suggestion strip when the suggestion startsKen Wakasa2-1/+2
bug: 3488704 bug: 3480132 Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
2011-03-01Update assets from designer-git repositoryTadashi G. Takaoka36-0/+0
This new assets has revised alpha value. Bug: 3451586 Change-Id: I8485044263b92111d882c4f88ca6a0e92c82f0ed
2011-03-02Fix null token errorKen Wakasa1-1/+4
bug: 3499746 Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
2011-03-01Import new assets from designer-git repositoryTadashi G. Takaoka27-0/+0
Change-Id: Ie07dc956ea5c40b760d511976e42f847f0f68f9f
2011-03-01Add "apostrophe" key to symbol keyboard of url modeTadashi G. Takaoka1-2/+18
Bug: 3491087 Change-Id: I4fa339e66c958a54f2d28a2997861135ef94f7e6
2011-03-02Reset the suggestion status when composing span gets clearedKen Wakasa1-3/+14
bug: 3353818 Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19
2011-03-01Import revised translations.Eric Fischer41-0/+984
Change-Id: Ic7ae2c78e732707ef2504e82c08851fe627465b3
2011-03-01Refactor recorrection variable and method namesKen Wakasa2-39/+39
Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd
2011-02-28Add output variables to BinaryDictionary's test entryTadashi G. Takaoka1-6/+8
Bug: 3414081 Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a
2011-02-28Add test entry for BinaryDictionary classTadashi G. Takaoka1-19/+27
Bug: 3414081 Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0
2011-02-25Change how to load native lib to be on the safe sideKen Wakasa4-8/+16
Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
2011-02-25Add createKeyboardId helper methodTadashi G. Takaoka4-8/+13
Change-Id: Ibb356e95e4acd965a0dfbf695de1cebcefc5cd9e
2011-02-24Force currency key to "dollar" on password input fieldTadashi G. Takaoka1-0/+8
This is followup change of I660c6f50. Bug: 3413589 Change-Id: I7684150f7c52444884fe02a27e39c6de0105b2d8
2011-02-24Dynamic currency key labelTadashi G. Takaoka4-4/+270
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-24Add noSettingsKey private IME optionTadashi G. Takaoka8-49/+114
Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57
2011-02-24Fix AutoText enabling timingTadashi G. Takaoka1-1/+1
Bug: 3479978 Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
2011-02-24Allow the user to save words when there is no binary dictionary.Jean Chalard1-2/+14
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-23Added support for speaking keys through accessibility service.Alan Viverette8-13/+350
Issue: 3366636 Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
2011-02-23Add proximity info to nativesatok20-86/+499
Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
2011-02-23Treat quotes as part of the word in French.Jean Chalard1-1/+1
Bug: 3397183 Change-Id: Ie634a9b0f1f7ed7cfa9f4f3aeba44b578bc7caac
2011-02-23Fix privateImeOptions parsingTadashi G. Takaoka4-21/+53
This change deprecates "nm" private IME options and introduces new private option, <package name>.noMicrophone, instead. Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649
2011-02-23Add countryCode attribute to case tag of KeyboardTadashi G. Takaoka2-2/+6
Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af
2011-02-23Refactor keyboard mode holding variablesTadashi G. Takaoka4-98/+103
Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
2011-02-22Rename variables with obscure names.Jean Chalard2-34/+37
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-22Force autocorrection of matching words with different accents.Jean Chalard4-20/+113
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-20Display language name on spacebar even in symbol keyboard.Tadashi G. Takaoka4-23/+25
Bug: 3468634 Change-Id: I1a25eb71ddbd7efae6f40ea357714924a9d56dc4
2011-02-20Disable non-ASCII symbol keys in password inputTadashi G. Takaoka4-5/+45
Bug: 3384942 Change-Id: Ifa10e84f22bb6ff85dfc397fac95a0294b2a6bea
2011-02-20Add "passwordInput" attribute to case tag of KeyboardTadashi G. Takaoka9-189/+281
This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
2011-02-20Don't play key press sound if the key is disabledTadashi G. Takaoka1-23/+32
Change-Id: I1c6d1b16a7420bc7e5f97f50da549e6a89498f18
2011-02-20Read "enabled" attribute of Key from <key-style>Tadashi G. Takaoka1-0/+1
This is follow up change of I1ea82d9f. Bug: 3384942 Change-Id: If96eda69fe81edbfc1b243a6fa9f8eb6bbf4c12d