aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a first version of Hebrew and Arabic keyboard.Jean Chalard2011-03-237-80/+422
| | | | | | | | | | | | | | | | | | | The Arabic keyboard is more or less based on PC keyboard and other sources. It has no means to input diacritics at the moment. Some data for the Hebrew keyboard was already there, but not used. This change splits phone and tablet layout and consolidates the tablet one to something that seems sensible. It can't input diacritics either at the moment. Other shortcomings affect those keyboards. For example, normal Hebrew keyboards switch to capital QWERTY keyboard with shift on, as there are no capital Hebrew characters, but this version does not feature this. It should be mostly possible already to enter Arabic or Hebrew with these keyboards however. Change-Id: Ic4df2a9a77ffd03c4f9ee2c47e03c0f43f8e48ae
* am d22359e4: (-s ours) am f75f9c53: Import revised translations. DO NOT MERGEEric Fischer2011-03-220-0/+0
|\ | | | | | | | | * commit 'd22359e46beeb855da6cab21c5b51ec96f7ccb44': Import revised translations. DO NOT MERGE
| * am f75f9c53: Import revised translations. DO NOT MERGEEric Fischer2011-03-221-1/+1
| |\ | | | | | | | | | | | | * commit 'f75f9c5303cf7f4e3254448c3430afb0075fd5be': Import revised translations. DO NOT MERGE
| | * Import revised translations. DO NOT MERGEEric Fischer2011-03-221-1/+1
| | | | | | | | | | | | Change-Id: Icac4b15118a9a49cac6d0c70e5783e64fa430782
* | | Merge "Use reflections for classes related to InputMethodSubtype"satok2011-03-1910-35/+333
|\ \ \
| * | | Use reflections for classes related to InputMethodSubtypesatok2011-03-1810-35/+333
| | | | | | | | | | | | | | | | Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
* | | | Merge "Add -Werror flag to catch more warnings and errors"Ken Wakasa2011-03-185-27/+73
|\ \ \ \
| * | | | Add -Werror flag to catch more warnings and errorsKen Wakasa2011-03-195-27/+73
| |/ / / | | | | | | | | | | | | Change-Id: I9c39ba24578931944aae8182918ed48a2e82eb39
* | | | am 645f5e98: (-s ours) am f11c0a24: (-s ours) am e37ee542: Import revised ↵Eric Fischer2011-03-180-0/+0
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | translations. DO NOT MERGE * commit '645f5e98ea44bee1d8e73801e1b0475b33db57b1': Import revised translations. DO NOT MERGE
| * | am f11c0a24: (-s ours) am e37ee542: Import revised translations. DO NOT MERGEEric Fischer2011-03-180-0/+0
| |\ \ | | |/ | |/| | | | | | | * commit 'f11c0a245694d8396405e9ee47172714282b176b': Import revised translations. DO NOT MERGE
| | * am e37ee542: Import revised translations. DO NOT MERGEEric Fischer2011-03-184-6/+6
| | |\ | | | | | | | | | | | | | | | | * commit 'e37ee542e688c6815e1640abf31dbe6e983dd825': Import revised translations. DO NOT MERGE
| | | * Import revised translations. DO NOT MERGEEric Fischer2011-03-184-6/+6
| | | | | | | | | | | | | | | | Change-Id: I09b8c4f7c9a0b89fe5c4da8202115dedaa237fc3
* | | | Merge "Add different ways of reading the dictionary file."Jean Chalard2011-03-1811-16/+497
|\ \ \ \
| * | | | Add different ways of reading the dictionary file.Jean Chalard2011-03-1811-16/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds basic support for an external dictionary provider. It adds methods for reading the dictionary itself from an asset in the dictionary provider package directly, obtaining the file name through the ContentProvider interface; it also adds a way of getting the data through an InputStream and copying the file locally. Incidentally this change also adds the code needed to listen for updating the dictionary provider package and reloading it in time. This change also goes hand-in-hand with Iab31db6e, which implements the small closed part of this. Issue: 3414944 Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a
* | | | | Merge "Added CompatUtils for starting a language selector"satok2011-03-173-15/+61
|\ \ \ \ \
| * | | | | Added CompatUtils for starting a language selectorsatok2011-03-183-15/+61
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
* / / / / Import revised translations.Eric Fischer2011-03-173-24/+24
|/ / / / | | | | | | | | | | | | Change-Id: I02fb673c7b4f180fb60c5cb869c458b65820781a
* | | | (Refactor 1) Moved voice related codes to deprecated/voicesatok2011-03-1615-72/+142
| | | | | | | | | | | | | | | | Change-Id: I008ac7099c815fb74a9ab374419617b336453f97
* | | | Refactor BinaryDictionary a bitTadashi G. Takaoka2011-03-164-61/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes: * Flag initialization code in BinaryDictionary to be more unit test friendly. * Removing unnecessary class hierarchy of LatinIME inner class WordAlternatives. * Formatting normalized score neatly. Change-Id: I9f10c093d4f36258fe883cf3fb10cbbda2770497
* | | | Merge "Add Utils.equalsIgnoreCase methods"Tadashi G. Takaoka2011-03-167-86/+134
|\ \ \ \
| * | | | Add Utils.equalsIgnoreCase methodsTadashi G. Takaoka2011-03-167-86/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | am 88adb7d4: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-03-160-0/+0
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | * commit '88adb7d4a943b934427154962c7dfc3e3e3ba0a6': Import revised translations. DO NOT MERGE
| * | | Import revised translations. DO NOT MERGEEric Fischer2011-03-162-7/+7
| | | | | | | | | | | | | | | | Change-Id: Ieb00b75f2eb2f9a85e11c1694d42d2ee449e29e0
* | | | am d631651b: Avoid the removal of high-ranking exactly typed candidates.Jean Chalard2011-03-151-1/+14
|\| | | | | | | | | | | | | | | | | | | * commit 'd631651b1291aef52bdd6ea7caaf9b95c9704506': Avoid the removal of high-ranking exactly typed candidates.
| * | | 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
* | | | am c0471c43: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-03-150-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit 'c0471c43fb056adc32a9fd9f8eaff449e1822b29': Import revised translations. DO NOT MERGE
| * | | Import revised translations. DO NOT MERGEEric Fischer2011-03-151-17/+17
| | | | | | | | | | | | | | | | Change-Id: I6eaad0ee53243ae5eece9bc6f8013eb77472e988
* | | | Import revised translations.Eric Fischer2011-03-1540-966/+486
| | | | | | | | | | | | | | | | Change-Id: Idc65c5944dcfa576ee50facb6b1f82e2a7d7186f
* | | | am 9db8d064: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-03-100-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit '9db8d0641862e2d9532d2cde38e3b1538df5f0b2': Import revised translations. DO NOT MERGE
| * | | Import revised translations. DO NOT MERGEEric Fischer2011-03-1040-960/+480
| | | | | | | | | | | | | | | | Change-Id: I660c6bc3b40072e209fe31c3c86ad11ce7928a71
* | | | am 6a75cd12: Add alphabet hint to number password layoutTadashi G. Takaoka2011-03-092-10/+13
|\| | | | | | | | | | | | | | | | | | | * commit '6a75cd124d885df1b257d63c9c2b0561a9b09b84': Add alphabet hint to number password layout
| * | | Add alphabet hint to number password layoutTadashi G. Takaoka2011-03-082-10/+13
| | | | | | | | | | | | | | | | | | | | Bug: 4063047 Change-Id: I53e79edcb15d4da73a72d14a38224e80b612c115
* | | | am ab0ee37f: Disable debug flag in TextEntryStateTadashi G. Takaoka2011-03-081-1/+1
|\| | | | | | | | | | | | | | | | | | | * commit 'ab0ee37f52b87756c6d91aecd508fda821aeb4b6': Disable debug flag in TextEntryState
| * | | Disable debug flag in TextEntryStateTadashi G. Takaoka2011-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 4051276 Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
* | | | am b55fcea6: Merge "Add whitelist dictionary" into honeycomb-mr1satok2011-03-077-93/+278
|\| | | | | | | | | | | | | | | | | | | * commit 'b55fcea6fc23bf44966ffb278d976c54995be72e': Add whitelist dictionary
| * | | Merge "Add whitelist dictionary" into honeycomb-mr1satok2011-03-077-93/+278
| |\ \ \
| | * | | Add whitelist dictionarysatok2011-03-087-93/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
* | | | | am e07f93d3: Merge "Tweak the demotion rate for a word with missing letter" ↵satok2011-03-071-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into honeycomb-mr1 * commit 'e07f93d3ab60f88b154740186795efaf802c7051': Tweak the demotion rate for a word with missing letter
| * | | | Merge "Tweak the demotion rate for a word with missing letter" into ↵satok2011-03-071-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | honeycomb-mr1
| | * | | | Tweak the demotion rate for a word with missing lettersatok2011-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4027223 Change-Id: Ie9a5552d2f41d60f433573fde52efc097f5143bf
* | | | | | am 46341838: Merge "Fix a bug that a word with only one missing word is not ↵satok2011-03-071-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | promoted" into honeycomb-mr1 * commit '463418385c2bca0ec13a3f720e0dbdbe769004bd': Fix a bug that a word with only one missing word is not promoted
| * | | | | Merge "Fix a bug that a word with only one missing word is not promoted" ↵satok2011-03-071-1/+1
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | into honeycomb-mr1
| | * | | | Fix a bug that a word with only one missing word is not promotedsatok2011-03-071-1/+1
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4027223 Change-Id: Icf7c5b917c18b565dca95b98b96c1c8e2963f540
* | | | | am d7e2bc33: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-03-070-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit 'd7e2bc335d354a4bb5ae78594aa38cb60df0597b': Import revised translations. DO NOT MERGE
| * | | | Import revised translations. DO NOT MERGEEric Fischer2011-03-072-4/+4
| |/ / / | | | | | | | | | | | | Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123
* | | | am 3c4bb774: A bug fix for the mistyped space algorithmsatok2011-03-064-9/+7
|\| | | | | | | | | | | | | | | | | | | * commit '3c4bb7747d1a16d6b9d2d34992bad250069632a7': A bug fix for the mistyped space algorithm
| * | | A bug fix for the mistyped space algorithmsatok2011-03-044-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3311719 -- also fixed compiler warnings Change-Id: I6941c0d02f10d67af88bc943748dde8d8783fabb
* | | | am eaecb56f: Merge "Demote skipped characters matched words with respect to ↵Jean Chalard2011-03-044-16/+47
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | length." into honeycomb-mr1 * commit 'eaecb56f948a4979e72346f6c5c64b56f7bc7bbf': Demote skipped characters matched words with respect to length.
| * | | Merge "Demote skipped characters matched words with respect to length." into ↵Jean Chalard2011-03-044-16/+47
| |\ \ \ | | | | | | | | | | | | | | | honeycomb-mr1
| | * | | Demote skipped characters matched words with respect to length.Jean Chalard2011-03-054-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