aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-01Move isInvalidCordinates() method to Constants classTadashi G. Takaoka3-14/+10
Change-Id: Iad1464c299ad6055af1db1ff7978e5cd9a14750f
2012-11-01Use 32-bit code points for suggestions outputKen Wakasa20-363/+329
This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc
2012-10-31Consolidate two helper methods (refactor step 3)Tadashi G. Takaoka1-25/+13
Change-Id: I8b8522d1e5342fc73346ba2748e75f0c1d5bf03c
2012-10-31Flatten nested if-else blocks into plain if-else blocks (refactor step 2.5)Tadashi G. Takaoka1-36/+32
Change-Id: I42aad04658e14e8fd703e3828676719a333ec8f9
2012-10-31Separate nested if-blocks into helper methods (refactor step 2)Tadashi G. Takaoka1-61/+77
Change-Id: Ic0ed243f8c1fbf62793565ee37175270b47f0801
2012-10-31Move the emoji dictionaries source under AOSP.Jean Chalard2-0/+0
Change-Id: Ie870a90d483d9f27aed96fb4b44126315c43922f
2012-10-31Switch the AOSP word lists to the combined format.Jean Chalard51-17/+38
This will help with managing the word lists. Bug: 7388859 Change-Id: I89f049569b177d3027fe56d6c67eaca27d44dc7d
2012-10-31Separate nested if-blocks into helper methods (refactor step 1)Tadashi G. Takaoka1-112/+127
Change-Id: I87ef8b174295fb12a91fec35acd3b0cc152ad8f0
2012-10-31Use spaces instead of tabs in the combined format.Jean Chalard1-3/+3
Change-Id: Ie8a4cdc44f87839e29bfbffc03d4853b7b5cc5f6
2012-10-31Add a plumbing option to dicttool info.Jean Chalard3-15/+31
Also align the `porcelain' option to the diff command that was used mistakenly. Bug: 7388665 Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703
2012-10-31Escape "#" sign in XML fileTadashi G. Takaoka10-15/+15
Change-Id: Icd38abc4a0454ca949613d8c4bb528758cd990d8
2012-10-30Cleanup after dicttoolJean Chalard3-7/+19
Arrange for temporary files to be deleted. Also, add a security on stack overflows. Change-Id: I9da2ebefb06409a71b235243ea835ce10d6a9b81
2012-10-30Implement the package commandJean Chalard1-3/+17
Bug: 7388852 Change-Id: Ib6a50e02894961b4c7d3f57bc0fc70c3b3bfe4e9
2012-10-30Add the unpackage commandJean Chalard4-0/+87
Bug: 7388852 Change-Id: I7e5376f5d646e669884ef78e4e0dee62c99d4d6b
2012-10-30Add an empty crypt command to aosp dicttoolJean Chalard4-24/+33
This also makes the AdditionalCommandList useless, so let's remove it Bug: 7388852 Change-Id: I308f54ca6f778afe01c1233801a9cc22ebb3d1e9
2012-10-29Fix possible NPETadashi G. Takaoka1-1/+1
Bug: 7398904 Change-Id: I6b7aba7a9bf52ca494cb4390b19525c98790bd49
2012-10-29Adjust C++ compiler warning flags with the off-device TRTKen Wakasa1-1/+1
Change-Id: I031d191f8de99789fa0c000c01d61baffa2d3627
2012-10-29Accept comments in the combined file formatJean Chalard1-2/+10
Change-Id: I17b745281b8b7b1922e1c2d3717986e9bb11aa0b
2012-10-29Remove reference of android.util.Log in Constants classTadashi G. Takaoka1-4/+0
This is a follow up of Iee01d4d2. Change-Id: I0bcd349d317d9f7d40ef0574e72c640f9f990c5d
2012-10-29Move code point constants from Keyboard to Constants classTadashi G. Takaoka28-287/+282
Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
2012-10-29Remove warningsJean Chalard6-18/+11
Thanks Eclipse Change-Id: I88e3979ed22be5d8be5a5accdde417c6b1a8bf2d
2012-10-29Add word arguments to the info command (A10)Jean Chalard1-2/+46
With this, it's now possible to get all the information about a word from any dictionary. Bug: 7388857 Change-Id: Ifc9d539f52f87044a1974d95bf35d87465e84c47
2012-10-29Implement the word-level diff (A9)Jean Chalard2-12/+103
Bug: 7388857 Change-Id: I4c4560d4f4b579936a44cdf409a4c27300b65610
2012-10-29Add the dicttool diff command. (A8)Jean Chalard2-0/+109
This is an initial implementation, it does not do everything just yet. Bug: 7388857 Change-Id: I11543973a4657e122ca3475225059b06b9a3f2b9
2012-10-29Add a reporting option to the getDictionary method (A7)Jean Chalard5-67/+69
This is refactoring to help future changes Change-Id: I8c4372383a2fff5805b96cc47df5012e4b231004
2012-10-26Fix maketext template to use @UsedForTestingTadashi G. Takaoka1-2/+2
This is a follow up of I0b7e0c19. Change-Id: I8530453bfba9d4de2b134f52acc931cc9659a9d6
2012-10-25Assuming that NO_EXTRACT_UI mode is NO_FULSCREENSatoshi Kataoka1-1/+10
Bug: 7393485 Bug: 7272829 Change-Id: I873e8d99486c734e76484526631a90fc55e91c86
2012-10-25Finish up the "info" command in dicttool. (A6)Jean Chalard4-6/+75
Bug: 7388857 Change-Id: I704f12a6be76ce1644ec5e8dd3b667f112e9c04a
2012-10-25Implement a part of the "info" command (A5)Jean Chalard2-3/+73
Bug: 7388857 Change-Id: Id1bba7a33ab6195d5711bebb1df5c18c9c08925c
2012-10-25Add symmetry and pre-emptively improve performance (A4)Jean Chalard2-3/+39
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
2012-10-25Add automatic decryption capabilities. (A3)Jean Chalard2-2/+59
Bug: 7388852 Change-Id: Ie952b1ad6cfad2f83793bd968e159d3cfbf20a47
2012-10-25Add auto detection and decoding of dictionary files. (A2)Jean Chalard6-14/+206
Bug: 7388852 Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f
2012-10-25Some initial refactoring in dicttool. (A1)Jean Chalard2-10/+43
Bug: 7388852 Change-Id: I5ff70d12f3a8096ae6fb8cd4883a32ffe1683c9b
2012-10-24Update AOSP dictionaries.Jean Chalard5-0/+0
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
2012-10-24Fix a bug where a bigram would be ignoredJean Chalard1-0/+4
Bug: 7403386 Change-Id: I89f495d07f7059a9f1ccd97d487c2f2657a8ebd2
2012-10-23Fix the build (again)Jean Chalard1-1/+1
Change-Id: Idb7addede891a5c672d7fc09ddfe4d2585f8d647
2012-10-23Return the correct bigram frequencyJean Chalard1-12/+21
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
2012-10-23Fix the build.Jean Chalard1-1/+7
It seems this change snuck out from a previous version. Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88ab
2012-10-23Add reader and writer for the combined dict format.Jean Chalard4-19/+319
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
2012-10-23Don't put spaces after characters that don't take oneJean Chalard2-1/+7
Bug: 7393639 Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
2012-10-23Use a buffered writer for XML outputJean Chalard1-1/+3
Change-Id: I85aa133985282993542659db2ee61960b02042d7
2012-10-22LatinIME: Add accents to german keyboardKim Le2-3/+11
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
2012-10-22Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka23-117/+116
Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
2012-10-22Replace useless CharSequence to StringTadashi G. Takaoka27-299/+249
Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
2012-10-19Sync package name and source pathTadashi G. Takaoka9-0/+0
Change-Id: I8d3ded01c508c3afaa0d8afa9ce1445117626ddc
2012-10-19Add Spanish Latin America keyboardTadashi G. Takaoka1-0/+8
Change-Id: I83615a061be3267a7b9199ed2c5c818401ed0b64
2012-10-17Suggestion strip will honor haptic feedback settings of keyboardTadashi G. Takaoka2-0/+5
Bug: 7313372 Change-Id: I427da8de68be3d2a78e810556340b96ab4edcc2d
2012-10-17Move AudioAndHapticFeedbackManager from LatinIME to KeyboardSwitcherTadashi G. Takaoka3-23/+23
Bug: 7313372 Change-Id: I9bd3275f57ed3f5c2c4a95768443af505513ee97
2012-10-17Shortcut key is enabled on the no language keyoardTadashi G. Takaoka1-4/+3
Bug: 6617754 Change-Id: Id8336f152456367320de3151823691eebc2e02f6
2012-10-18Don't consider non-words for split word suggestionJean Chalard1-1/+2
Bug: 7368683 Change-Id: Iecd8348be788e5a749dafabdf7eddc4a14d901e0