aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-11-01Use 32-bit code points for suggestions output•••This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc Ken Wakasa20-363/+329
2012-10-31Consolidate two helper methods (refactor step 3)•••Change-Id: I8b8522d1e5342fc73346ba2748e75f0c1d5bf03c Tadashi G. Takaoka1-25/+13
2012-10-31Flatten nested if-else blocks into plain if-else blocks (refactor step 2.5)•••Change-Id: I42aad04658e14e8fd703e3828676719a333ec8f9 Tadashi G. Takaoka1-36/+32
2012-10-31Separate nested if-blocks into helper methods (refactor step 2)•••Change-Id: Ic0ed243f8c1fbf62793565ee37175270b47f0801 Tadashi G. Takaoka1-61/+77
2012-10-31Move the emoji dictionaries source under AOSP.•••Change-Id: Ie870a90d483d9f27aed96fb4b44126315c43922f Jean Chalard2-0/+0
2012-10-31Switch the AOSP word lists to the combined format.•••This will help with managing the word lists. Bug: 7388859 Change-Id: I89f049569b177d3027fe56d6c67eaca27d44dc7d Jean Chalard51-17/+38
2012-10-31Separate nested if-blocks into helper methods (refactor step 1)•••Change-Id: I87ef8b174295fb12a91fec35acd3b0cc152ad8f0 Tadashi G. Takaoka1-112/+127
2012-10-31Use spaces instead of tabs in the combined format.•••Change-Id: Ie8a4cdc44f87839e29bfbffc03d4853b7b5cc5f6 Jean Chalard1-3/+3
2012-10-31Add a plumbing option to dicttool info.•••Also align the `porcelain' option to the diff command that was used mistakenly. Bug: 7388665 Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703 Jean Chalard3-15/+31
2012-10-31Escape "#" sign in XML file•••Change-Id: Icd38abc4a0454ca949613d8c4bb528758cd990d8 Tadashi G. Takaoka10-15/+15
2012-10-30Cleanup after dicttool•••Arrange for temporary files to be deleted. Also, add a security on stack overflows. Change-Id: I9da2ebefb06409a71b235243ea835ce10d6a9b81 Jean Chalard3-7/+19
2012-10-30Implement the package command•••Bug: 7388852 Change-Id: Ib6a50e02894961b4c7d3f57bc0fc70c3b3bfe4e9 Jean Chalard1-3/+17
2012-10-30Add the unpackage command•••Bug: 7388852 Change-Id: I7e5376f5d646e669884ef78e4e0dee62c99d4d6b Jean Chalard4-0/+87
2012-10-30Add an empty crypt command to aosp dicttool•••This also makes the AdditionalCommandList useless, so let's remove it Bug: 7388852 Change-Id: I308f54ca6f778afe01c1233801a9cc22ebb3d1e9 Jean Chalard4-24/+33
2012-10-29Fix possible NPE•••Bug: 7398904 Change-Id: I6b7aba7a9bf52ca494cb4390b19525c98790bd49 Tadashi G. Takaoka1-1/+1
2012-10-29Adjust C++ compiler warning flags with the off-device TRT•••Change-Id: I031d191f8de99789fa0c000c01d61baffa2d3627 Ken Wakasa1-1/+1
2012-10-29Accept comments in the combined file format•••Change-Id: I17b745281b8b7b1922e1c2d3717986e9bb11aa0b Jean Chalard1-2/+10
2012-10-29Remove reference of android.util.Log in Constants class•••This is a follow up of Iee01d4d2. Change-Id: I0bcd349d317d9f7d40ef0574e72c640f9f990c5d Tadashi G. Takaoka1-4/+0
2012-10-29Move code point constants from Keyboard to Constants class•••Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d Tadashi G. Takaoka28-287/+282
2012-10-29Remove warnings•••Thanks Eclipse Change-Id: I88e3979ed22be5d8be5a5accdde417c6b1a8bf2d Jean Chalard6-18/+11
2012-10-29Add word arguments to the info command (A10)•••With this, it's now possible to get all the information about a word from any dictionary. Bug: 7388857 Change-Id: Ifc9d539f52f87044a1974d95bf35d87465e84c47 Jean Chalard1-2/+46
2012-10-29Implement the word-level diff (A9)•••Bug: 7388857 Change-Id: I4c4560d4f4b579936a44cdf409a4c27300b65610 Jean Chalard2-12/+103
2012-10-29Add the dicttool diff command. (A8)•••This is an initial implementation, it does not do everything just yet. Bug: 7388857 Change-Id: I11543973a4657e122ca3475225059b06b9a3f2b9 Jean Chalard2-0/+109
2012-10-29Add a reporting option to the getDictionary method (A7)•••This is refactoring to help future changes Change-Id: I8c4372383a2fff5805b96cc47df5012e4b231004 Jean Chalard5-67/+69
2012-10-26Fix maketext template to use @UsedForTesting•••This is a follow up of I0b7e0c19. Change-Id: I8530453bfba9d4de2b134f52acc931cc9659a9d6 Tadashi G. Takaoka1-2/+2
2012-10-25Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN•••Bug: 7393485 Bug: 7272829 Change-Id: I873e8d99486c734e76484526631a90fc55e91c86 Satoshi Kataoka1-1/+10
2012-10-25Finish up the "info" command in dicttool. (A6)•••Bug: 7388857 Change-Id: I704f12a6be76ce1644ec5e8dd3b667f112e9c04a Jean Chalard4-6/+75
2012-10-25Implement a part of the "info" command (A5)•••Bug: 7388857 Change-Id: Id1bba7a33ab6195d5711bebb1df5c18c9c08925c Jean Chalard2-3/+73
2012-10-25Add symmetry and pre-emptively improve performance (A4)•••The test for binary dictionary will soon entail decrypting and uncompressing files if necessary to test for their headers, and will become much slower than it is. It's better to be able to detect the XML format too, and leave the slower test for last. Bug: 7388852 Change-Id: I6b9a7944de80217e1571cab65dcd1cff347b3046 Jean Chalard2-3/+39
2012-10-25Add automatic decryption capabilities. (A3)•••Bug: 7388852 Change-Id: Ie952b1ad6cfad2f83793bd968e159d3cfbf20a47 Jean Chalard2-2/+59
2012-10-25Add auto detection and decoding of dictionary files. (A2)•••Bug: 7388852 Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f Jean Chalard6-14/+206
2012-10-25Some initial refactoring in dicttool. (A1)•••Bug: 7388852 Change-Id: I5ff70d12f3a8096ae6fb8cd4883a32ffe1683c9b Jean Chalard2-10/+43
2012-10-24Update AOSP dictionaries.•••Changes : - Add "emoji" - Change the whitelist target of "foo" from "for" to "too" - Fix non-word frequencies to 0 - Fix the freq of common en_US vs en_GB words - Add "connection" to the en_GB dictionary Bug: 7368441 Bug: 7370033 Bug: 7371955 Change-Id: Ib22a97e97b486b05012d5496619557f406c441b9 Jean Chalard5-0/+0
2012-10-24Fix a bug where a bigram would be ignored•••Bug: 7403386 Change-Id: I89f495d07f7059a9f1ccd97d487c2f2657a8ebd2 Jean Chalard1-0/+4
2012-10-23Fix the build (again)•••Change-Id: Idb7addede891a5c672d7fc09ddfe4d2585f8d647 Jean Chalard1-1/+1
2012-10-23Return the correct bigram frequency•••The "correct" bigram frequency is now returned by the reading code. However, as the binary format represents the frequency in a lossy manner, the frequency is not guaranteed to be the exact same as the one in the source text format - only a close enough value. It is however the exact same value seen by the native code. Bug: 7395653 Change-Id: I49199ef18901c671189912b3550623e9643baedd Jean Chalard1-12/+21
2012-10-23Fix the build.•••It seems this change snuck out from a previous version. Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88ab Jean Chalard1-1/+7
2012-10-23Add reader and writer for the combined dict format.•••This introduces a new textual format for the dictionary that combines words, bigrams and shortcuts to avoid complexity. It is also extensible to n-grams to fool-prof for the future, and easier to read than XML. Bug: 7388540 Change-Id: I942bbad51bd0c905a5a54c278667563fd6dd66ec Jean Chalard4-19/+319
2012-10-23Don't put spaces after characters that don't take one•••Bug: 7393639 Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988 Jean Chalard2-1/+7
2012-10-23Use a buffered writer for XML output•••Change-Id: I85aa133985282993542659db2ee61960b02042d7 Jean Chalard1-1/+3
2012-10-22LatinIME: Add accents to german keyboard•••This fixes http://code.google.com/p/android/issues/detail?id=26247 Add // U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE // U+00E8: "è" LATIN SMALL LETTER E WITH GRAVE // U+00EA: "ê" LATIN SMALL LETTER E WITH CIRCUMFLEX // U+00EB: "ë" LATIN SMALL LETTER E WITH DIAERESIS Change-Id: I81d79f153cdfe7015bd0a343c681322ab8316db7 Kim Le2-3/+11
2012-10-22Add @UsedForTesting and @ExternallyReferenced annotations•••Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c Tadashi G. Takaoka23-117/+116
2012-10-22Replace useless CharSequence to String•••Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991 Tadashi G. Takaoka27-299/+249
2012-10-19Sync package name and source path•••Change-Id: I8d3ded01c508c3afaa0d8afa9ce1445117626ddc Tadashi G. Takaoka9-0/+0
2012-10-19Add Spanish Latin America keyboard•••Change-Id: I83615a061be3267a7b9199ed2c5c818401ed0b64 Tadashi G. Takaoka1-0/+8
2012-10-17Suggestion strip will honor haptic feedback settings of keyboard•••Bug: 7313372 Change-Id: I427da8de68be3d2a78e810556340b96ab4edcc2d Tadashi G. Takaoka2-0/+5
2012-10-17Move AudioAndHapticFeedbackManager from LatinIME to KeyboardSwitcher•••Bug: 7313372 Change-Id: I9bd3275f57ed3f5c2c4a95768443af505513ee97 Tadashi G. Takaoka3-23/+23
2012-10-17Shortcut key is enabled on the no language keyoard•••Bug: 6617754 Change-Id: Id8336f152456367320de3151823691eebc2e02f6 Tadashi G. Takaoka1-4/+3
2012-10-18Don't consider non-words for split word suggestion•••Bug: 7368683 Change-Id: Iecd8348be788e5a749dafabdf7eddc4a14d901e0 Jean Chalard1-1/+2
2012-10-18Update AOSP dictionaries.•••Differences : oh 90 -> 105 ooh 54 -> 54 hoy,kinkier,kinkiest,kinkiness,kinkily,kinky -> 0 trst -> remove New whitelist entries (actually old that had not been applied) "berm" -> "been" "foe" -> "for" "hid" -> "his" "thong" -> "thing" French : Add "six" and remove some non-words Bug: 7329149 Bug: 7356297 Change-Id: I55092f0538db8627148b0a314e50eff926c47275 Jean Chalard7-0/+0