aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* Add Utils.equalsIgnoreCase methods•••This change also corrects usage of "frequency", "priority" and "score" * Frequency is the relative probability in dictionary. * Score is the relative probability in suggestions. * Priority is kind a sorted score. Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699 Tadashi G. Takaoka2011-03-166-86/+130
* Avoid the removal of high-ranking exactly typed candidates.•••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 Jean Chalard2011-03-151-1/+14
* Disable debug flag in TextEntryState•••Bug: 4051276 Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9 Tadashi G. Takaoka2011-03-081-1/+1
* Add whitelist dictionary•••Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f satok2011-03-085-92/+238
* Merge "Demote skipped characters matched words with respect to length." into ...Jean Chalard2011-03-041-9/+32
|\
| * 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 Jean Chalard2011-03-051-9/+32
* | Merge "Add the suggestion algorithm of words with space proximity" into honey...satok2011-03-042-16/+14
|\ \
| * | Add the suggestion algorithm of words with space proximity•••Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b satok2011-03-042-16/+14
* | | Fix a NPE caused by a null typedWord•••bug: 3514797 Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0 Ken Wakasa2011-03-052-2/+1
|/ /
* / Cleanup Suggest to be able to be unit test ready•••Bug: 3414081 Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c Tadashi G. Takaoka2011-03-032-64/+66
|/
* Merge "Move the auto correction functionalities to AutoCorrection.java"satok2011-03-033-66/+154
|\
| * Move the auto correction functionalities to AutoCorrection.java•••- Also removed a quick fix for 2nd or more suggestions. Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6 satok2011-03-033-66/+154
* | Hide shortcut key when the shortcut IME is not enabled•••Bug: 3398726 Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb Tadashi G. Takaoka2011-03-034-13/+32
* | Continue swapping sentence separator and space•••Bug: 3504990 Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6 Tadashi G. Takaoka2011-03-022-2/+1
* | Refactor TextEntryState not to use enum•••Bug: 3504990 Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d Tadashi G. Takaoka2011-03-022-224/+153
* | Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords•••Bug: 3504990 Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94 Tadashi G. Takaoka2011-03-023-14/+6
* | 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 Jean Chalard2011-03-032-17/+71
|/
* Remain in previous state while sliding off from shift key•••Bug: 3502290 Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a Tadashi G. Takaoka2011-03-025-32/+38
* 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 Tadashi G. Takaoka2011-03-021-11/+3
* Merge "Introduce timeout for "." shortcut"Tadashi G. Takaoka2011-03-011-2/+23
|\
| * Introduce timeout for "." shortcut•••Bug: 3294239 Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592 Tadashi G. Takaoka2011-03-011-2/+23
* | Clear suggestion strip when the suggestion starts•••bug: 3488704 bug: 3480132 Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb Ken Wakasa2011-03-022-1/+2
|/
* Fix null token error•••bug: 3499746 Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349 Ken Wakasa2011-03-021-1/+4
* Reset the suggestion status when composing span gets cleared•••bug: 3353818 Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19 Ken Wakasa2011-03-021-3/+14
* Refactor recorrection variable and method names•••Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd Ken Wakasa2011-03-012-39/+39
* Add output variables to BinaryDictionary's test entry•••Bug: 3414081 Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a Tadashi G. Takaoka2011-02-281-6/+8
* Add test entry for BinaryDictionary class•••Bug: 3414081 Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0 Tadashi G. Takaoka2011-02-281-19/+27
* Change how to load native lib to be on the safe side•••Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f Ken Wakasa2011-02-254-8/+16
* Merge "Added support for speaking keys through accessibility service."Tadashi Takaoka2011-02-246-13/+305
|\
| * Added support for speaking keys through accessibility service.•••Issue: 3366636 Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f Alan Viverette2011-02-236-13/+305
* | Merge "Add noSettingsKey private IME option"Tadashi G. Takaoka2011-02-232-34/+51
|\ \
| * | Add noSettingsKey private IME option•••Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57 Tadashi G. Takaoka2011-02-242-34/+51
| |/
* | Merge "Fix AutoText enabling timing"Tadashi G. Takaoka2011-02-231-1/+1
|\ \
| * | Fix AutoText enabling timing•••Bug: 3479978 Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416 Tadashi G. Takaoka2011-02-241-1/+1
| |/
* | 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.•••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 Jean Chalard2011-02-241-2/+14
| |/
* | Merge "Add proximity info to native"satok2011-02-236-37/+164
|\ \ | |/ |/|
| * Add proximity info to native•••Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b satok2011-02-236-37/+164
* | Merge "Fix privateImeOptions parsing"Tadashi G. Takaoka2011-02-234-21/+53
|\ \ | |/ |/|
| * Fix privateImeOptions parsing•••This change deprecates "nm" private IME options and introduces new private option, <package name>.noMicrophone, instead. Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649 Tadashi G. Takaoka2011-02-234-21/+53
* | Merge "Add countryCode attribute to case tag of Keyboard"Tadashi G. Takaoka2011-02-231-2/+5
|\ \ | |/ |/|
| * Add countryCode attribute to case tag of Keyboard•••Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af Tadashi G. Takaoka2011-02-231-2/+5
* | Refactor keyboard mode holding variables•••Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b Tadashi G. Takaoka2011-02-234-98/+103
|/
* 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 Jean Chalard2011-02-221-6/+15
* Display language name on spacebar even in symbol keyboard.•••Bug: 3468634 Change-Id: I1a25eb71ddbd7efae6f40ea357714924a9d56dc4 Tadashi G. Takaoka2011-02-204-23/+25
* Disable non-ASCII symbol keys in password input•••Bug: 3384942 Change-Id: Ifa10e84f22bb6ff85dfc397fac95a0294b2a6bea Tadashi G. Takaoka2011-02-202-5/+11
* Merge "Add "passwordInput" attribute to case tag of Keyboard"Tadashi G. Takaoka2011-02-206-71/+92
|\
| * 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 Tadashi G. Takaoka2011-02-206-71/+92
* | Don't play key press sound if the key is disabled•••Change-Id: I1c6d1b16a7420bc7e5f97f50da549e6a89498f18 Tadashi G. Takaoka2011-02-201-23/+32
|/
* Read "enabled" attribute of Key from <key-style>•••This is follow up change of I1ea82d9f. Bug: 3384942 Change-Id: If96eda69fe81edbfc1b243a6fa9f8eb6bbf4c12d Tadashi G. Takaoka2011-02-201-0/+1