aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid the removal of high-ranking exactly typed candidates.Jean Chalard2011-03-151-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | It used to be the case that the scoring system turns up the same word that was entered with a different capitalization, but with a lower score than some other, more frequent word. To cope with this, there was code that would order such candidates in the first slot no matter what. This processing is now useless because fully matching words now have a huge boost that ensures they will get to the top of the list, before any non-fully matching word (which means, differing only by capitalization or accents). The bug that did happen with this was, if a fully-matching word got matched by several processing passes, and the (chronologically) later score affected to this word was weaker, it would result in the duplicate removal pass removing the stronger score. This in turn would mess with autocorrect. In an effort to keep the risk at a minimum for MR1, this change does not actually remove the useless code, but adds a check in the odd case to avoid the bad situation. Another change will remove the code for ICS release. bug: 4100269 Change-Id: I18c0575332981ffec0e257e26a360995838d521e
* Disable debug flag in TextEntryStateTadashi G. Takaoka2011-03-081-1/+1
| | | | | Bug: 4051276 Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
* Add whitelist dictionarysatok2011-03-085-92/+238
| | | | | | Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
* Merge "Demote skipped characters matched words with respect to length." into ↵Jean Chalard2011-03-041-9/+32
|\ | | | | | | honeycomb-mr1
| * Demote skipped characters matched words with respect to length.Jean Chalard2011-03-051-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add the suggestion algorithm of words with space proximity" into ↵satok2011-03-042-16/+14
|\ \ | | | | | | | | | honeycomb-mr1
| * | Add the suggestion algorithm of words with space proximitysatok2011-03-042-16/+14
| | | | | | | | | | | | | | | | | | Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
* | | Fix a NPE caused by a null typedWordKen Wakasa2011-03-052-2/+1
|/ / | | | | | | | | bug: 3514797 Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
* / Cleanup Suggest to be able to be unit test readyTadashi G. Takaoka2011-03-032-64/+66
|/ | | | | Bug: 3414081 Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
* Merge "Move the auto correction functionalities to AutoCorrection.java"satok2011-03-033-66/+154
|\
| * Move the auto correction functionalities to AutoCorrection.javasatok2011-03-033-66/+154
| | | | | | | | | | | | - Also removed a quick fix for 2nd or more suggestions. Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
* | Hide shortcut key when the shortcut IME is not enabledTadashi G. Takaoka2011-03-034-13/+32
| | | | | | | | | | Bug: 3398726 Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
* | Continue swapping sentence separator and spaceTadashi G. Takaoka2011-03-022-2/+1
| | | | | | | | | | Bug: 3504990 Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
* | Refactor TextEntryState not to use enumTadashi G. Takaoka2011-03-022-224/+153
| | | | | | | | | | Bug: 3504990 Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
* | Remove mIsApplicationSpecifiedCompletions flags from SuggestedWordsTadashi G. Takaoka2011-03-023-14/+6
| | | | | | | | | | Bug: 3504990 Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
* | Use translation of fallback umlauts digraphs for German.Jean Chalard2011-03-032-17/+71
|/ | | | | | | | | 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
* Remain in previous state while sliding off from shift keyTadashi G. Takaoka2011-03-025-32/+38
| | | | | Bug: 3502290 Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
* Enable re-correction even after revert auto-correctionTadashi G. Takaoka2011-03-021-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
* Merge "Introduce timeout for "." shortcut"Tadashi G. Takaoka2011-03-011-2/+23
|\
| * Introduce timeout for "." shortcutTadashi G. Takaoka2011-03-011-2/+23
| | | | | | | | | | Bug: 3294239 Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592
* | Clear suggestion strip when the suggestion startsKen Wakasa2011-03-022-1/+2
|/ | | | | | | bug: 3488704 bug: 3480132 Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
* Fix null token errorKen Wakasa2011-03-021-1/+4
| | | | | bug: 3499746 Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
* Reset the suggestion status when composing span gets clearedKen Wakasa2011-03-021-3/+14
| | | | | | bug: 3353818 Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19
* Refactor recorrection variable and method namesKen Wakasa2011-03-012-39/+39
| | | | Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd
* Add output variables to BinaryDictionary's test entryTadashi G. Takaoka2011-02-281-6/+8
| | | | | Bug: 3414081 Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a
* Add test entry for BinaryDictionary classTadashi G. Takaoka2011-02-281-19/+27
| | | | | Bug: 3414081 Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0
* Change how to load native lib to be on the safe sideKen Wakasa2011-02-254-8/+16
| | | | Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
* Merge "Added support for speaking keys through accessibility service."Tadashi Takaoka2011-02-246-13/+305
|\
| * Added support for speaking keys through accessibility service.Alan Viverette2011-02-236-13/+305
| | | | | | | | | | | | Issue: 3366636 Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
* | Merge "Add noSettingsKey private IME option"Tadashi G. Takaoka2011-02-232-34/+51
|\ \
| * | Add noSettingsKey private IME optionTadashi G. Takaoka2011-02-242-34/+51
| |/ | | | | | | Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57
* | Merge "Fix AutoText enabling timing"Tadashi G. Takaoka2011-02-231-1/+1
|\ \
| * | Fix AutoText enabling timingTadashi G. Takaoka2011-02-241-1/+1
| |/ | | | | | | | | Bug: 3479978 Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
* | Merge "Allow the user to save words when there is no binary dictionary."Jean Chalard2011-02-231-2/+14
|\ \
| * | Allow the user to save words when there is no binary dictionary.Jean Chalard2011-02-241-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
* | Merge "Add proximity info to native"satok2011-02-236-37/+164
|\ \ | |/ |/|
| * Add proximity info to nativesatok2011-02-236-37/+164
| | | | | | | | | | | | Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
* | Merge "Fix privateImeOptions parsing"Tadashi G. Takaoka2011-02-234-21/+53
|\ \ | |/ |/|
| * Fix privateImeOptions parsingTadashi G. Takaoka2011-02-234-21/+53
| | | | | | | | | | | | | | This change deprecates "nm" private IME options and introduces new private option, <package name>.noMicrophone, instead. Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649
* | Merge "Add countryCode attribute to case tag of Keyboard"Tadashi G. Takaoka2011-02-231-2/+5
|\ \ | |/ |/|
| * Add countryCode attribute to case tag of KeyboardTadashi G. Takaoka2011-02-231-2/+5
| | | | | | | | Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af
* | Refactor keyboard mode holding variablesTadashi G. Takaoka2011-02-234-98/+103
|/ | | | Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
* Force autocorrection of matching words with different accents.Jean Chalard2011-02-221-6/+15
| | | | | | | | | | | 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
* Display language name on spacebar even in symbol keyboard.Tadashi G. Takaoka2011-02-204-23/+25
| | | | | Bug: 3468634 Change-Id: I1a25eb71ddbd7efae6f40ea357714924a9d56dc4
* Disable non-ASCII symbol keys in password inputTadashi G. Takaoka2011-02-202-5/+11
| | | | | | Bug: 3384942 Change-Id: Ifa10e84f22bb6ff85dfc397fac95a0294b2a6bea
* Merge "Add "passwordInput" attribute to case tag of Keyboard"Tadashi G. Takaoka2011-02-206-71/+92
|\
| * Add "passwordInput" attribute to case tag of KeyboardTadashi G. Takaoka2011-02-206-71/+92
| | | | | | | | | | | | | | | | This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
* | Don't play key press sound if the key is disabledTadashi G. Takaoka2011-02-201-23/+32
|/ | | | Change-Id: I1c6d1b16a7420bc7e5f97f50da549e6a89498f18
* Read "enabled" attribute of Key from <key-style>Tadashi G. Takaoka2011-02-201-0/+1
| | | | | | | This is follow up change of I1ea82d9f. Bug: 3384942 Change-Id: If96eda69fe81edbfc1b243a6fa9f8eb6bbf4c12d
* Add "languageCode" attribute to "case" tag in Keyboard XMLTadashi G. Takaoka2011-02-181-2/+12
| | | | | bug: 3451586 Change-Id: I08ca80e48648ba18543e9b8ca7362c06bb61a826