aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-10Add arguments for dic traverse sessionSatoshi Kataoka12-68/+124
Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
2012-08-10Support a syntax to add whitelist entries in shortcutsJean Chalard2-13/+36
Bug: 6906525 Change-Id: Ie33586c07973bf76e38390766175ba424d72d655
2012-08-10Use more JNI Region callsKen Wakasa2-46/+43
Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
2012-08-09Use GetStringUTFRegion for filenameKen Wakasa1-6/+7
Change-Id: I2e9ad092ccf4c23c1c6b71916c962994314d37b6
2012-08-09Stop using STL string in additional_proximity_charsKen Wakasa5-21/+25
Change-Id: Ic016fd5983b8855b0fd9506a17b205db86af3a2f
2012-08-09Fix string.compare() logic. It happens to be working luckily.Ken Wakasa1-6/+3
Change-Id: I262c6d5779124e5b09ad1a66ca3c9ddb2fc6d7d5
2012-08-09Add reset method for dic travserse sessionSatoshi Kataoka3-5/+30
Change-Id: Ia3dd924f92549da2cf8302ef77c629902d4f275b
2012-08-09Optimize keyboard drawing code a bitTadashi G. Takaoka1-15/+10
* Remove useless boolean flag. * Use invalidate(int,int,int,int). * Don't draw background when hardware acceleration is enabled. Change-Id: Id560ac84f33b5151437a42a4ff22736284d71e2d
2012-08-09Update dictionary availability at onStartInputViewTadashi G. Takaoka1-0/+1
This is a follow up of I7901c0f9489b4deb79314c2c903b138611bfd78e Change-Id: I38c22e886db247c402a964e3ddd10b09a461151c
2012-08-09Use GetStringUTFRegionKen Wakasa3-12/+14
Change-Id: I56ad66af4ee42ed32a6fd909a9a34d601874783a
2012-08-09Support stdin and stdout for compress/uncompressJean Chalard1-16/+22
This will improve flexibility in dictionary generation by allowing pipelined commands. Change-Id: Ia07bdc82c8bd740b5dfee6b5fd1a067f4b8b7ba5
2012-08-09Fix NPE and don't call UI API from non-UI threadTadashi G. Takaoka6-43/+45
This change also reverts I29ec3e9f10484f30288fac76f0c45b3707bc2259 Bug: 6956969 Bug: 6891020 Bug: 6947253 Change-Id: I7901c0f9489b4deb79314c2c903b138611bfd78e
2012-08-08Pass traverse sessionSatoshi Kataoka10-38/+47
Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
2012-08-08Start using JNI's Get<Type>ArrayRegion()Ken Wakasa4-90/+48
Change-Id: Iaa1014efe639dd79540835b0d5201093dbd8dab8
2012-08-08Add traverse sessionSatoshi Kataoka6-0/+164
Bug: 6942265 Change-Id: I384cf701f5ee44c4b1037e5b8ddfa3d570286f55
2012-08-08Rename dicttool to dicttool_aosp and split commandsJean Chalard7-8/+57
Change-Id: I83d948be2db5cd0203e876f019697e1d5e038818
2012-08-08Cleanup headers.Ken Wakasa4-12/+9
Change-Id: Ied1bedb8ba5fae590987ea23bed32f4db1a60d77
2012-08-08Add toString() method to KeyboardTadashi G. Takaoka1-0/+5
Change-Id: I74c8f006323ed78ec67414fd17849ab40966968e
2012-08-08Add SuggestInitializationListener to BinaryDictionary.resetMainDict()Tadashi G. Takaoka2-12/+11
Change-Id: I4c01f172ddb2ca60fa6e604384610c90b76e5457
2012-08-08Use ArrayList to implement PointerTrackerQueueTadashi G. Takaoka3-48/+115
Change-Id: Ie386e6c7869df4df940e09fccffc5cd661134557
2012-08-07Import translations. DO NOT MERGEBaligh Uddin2-3/+3
Change-Id: I48e2fcef3c0384fb745f6329b8877a8c1a1cd815 Auto-generated-cl: translation import
2012-08-07Add PointerTrackerQueue unit testsTadashi G. Takaoka4-65/+386
This is a groundwork to elminate LinkedList from PointerTrackerQueue. Change-Id: Ib77780537ceb0b4273fb8e483977ab76124c5ce7
2012-08-07Lingering gesture floating preview text a bitTadashi G. Takaoka9-52/+129
Bug: 6936095 Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
2012-08-06Import translations. DO NOT MERGEBaligh Uddin2-6/+6
Change-Id: I8cb76298b75155a9d2d4726127759ad9542a93fc Auto-generated-cl: translation import
2012-08-06Cleanup unused import and dead codeTadashi G. Takaoka3-6/+0
Change-Id: Ife877620561d29a8f25602916420741186104617
2012-08-06Fix duplicate getSuggestions() call for main dictionaryTadashi G. Takaoka1-1/+1
Change-Id: I092480063452505cdf03dbd83b9c64e535822931
2012-08-06Fix Utils.getStackTrace()Tadashi G. Takaoka1-1/+1
Change-Id: Iaf160af32bb77b3ad5929cb5ee8eccd01165bdf6
2012-08-06Separate updateSuggestionStrip from commitTypedTadashi G. Takaoka1-5/+7
The commitTyped() called updateSuggestionStrip(), and that led to call Suggest.getSuggestedWordsForTypingInput() even after a batch input was started because WordComposer.commitWord() reset the batch input state. Bug: 6932442 Change-Id: If645b1ef0343aa1e21ca71a9275b40c6c3be13df
2012-08-06Show results in the native code.Satoshi Kataoka2-5/+44
Change-Id: I712ba49cf4a89a36836fbf49cd72e7eef218e61f
2012-08-06Fix IllegalStateException of KeyDetectorTadashi G. Takaoka2-4/+7
A KeyDetector without Keyboard may exist in some rare cases. This change eliminates throwing IllegalStateException and checks explicitly against null. Bug: 6891020 Change-Id: I29ec3e9f10484f30288fac76f0c45b3707bc2259
2012-08-03Import translations. DO NOT MERGEYing Wang5-25/+13
Change-Id: I9510061c7ae1f4020cd5c5d24ed75348556ee085 Auto-generated-cl: translation import
2012-08-04Move makedict to live under dicttool (A5)Jean Chalard5-101/+7
This removes the makedict directory and makes a new target to replace it. The old command is still working the same way it used to. Change-Id: Ie73b12a7ef101dd2b282e0cb4206ac263af1093e
2012-08-04Move dicttool tests and make a script to run them (A4)Jean Chalard2-0/+16
Change-Id: If582e81741c5edaf345dcb55517dcad0baa64c9e
2012-08-04Fix the buildJean Chalard1-3/+1
Change-Id: I0d6570332bcf569d8c43b3edd8b3ab52263ef179
2012-08-04Cleanup unused codeJean Chalard1-5/+1
The Italian dictionary has been amended to contain words that include apostrophes, and accordingly the apostrophe is now excluded from word separators in Italian. This code was only used for Italian, and in the general case it does the wrong thing; it was only needed by limitations of the old dictionary. Bug: 6929108 Change-Id: I7ff4615e01899a1cebed2c4c51679cd0746740fe
2012-08-04Make a makedict command for dicttool (A3)Jean Chalard8-11/+70
This behaves exactly as the old makedict command. Further changes will redirect the calls to makedict to this, so as to consolidate similar code. Groundwork for Bug: 6429606 Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea
2012-08-04Update French and Italian separators.Jean Chalard2-24/+3
French and Italian separators used to be decided this way because of how the old dictionaries were made. However, the new dictionaries actually do include the composite words, and in both French and Italian, apostrophes and dashes shouldn't be treated as separators any more. Change-Id: If11c42625c819e223502a76749dbe797163d3c18
2012-08-03Fix an OOB exceptionJean Chalard1-2/+5
Not sure exactly how this can happen, but at least this should prevent us from crashing. Bug: 6920884 Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
2012-08-03Simplification (A2)Jean Chalard1-17/+8
A single command at a time and no arity gives opportunity to simplify the argument parsing code. Change-Id: Iff7bab78ede7448a662092f221c590a9eedae2a5
2012-08-03Remove arity from dicttool commands (A1)Jean Chalard3-40/+20
This unnecessarily complicates and limits commands. It's simpler to just have one command by invocation. Groundwork for Bug: 6429606 Change-Id: I24cf267a9cbc937a5ba53942b29e28e7095d2fd2
2012-08-03Using hardware accelerated drawingTadashi G. Takaoka3-27/+53
When Canvas has been hardware accelerated, don't use offscreen bitmap. Bug: 6872994 Change-Id: I1121f76377991692bc29ebeedbfbfa1b2a12dbb7
2012-08-03Header cleanupKen Wakasa3-8/+7
Change-Id: I1aa91708d0de01ca3e84e69ec8d3a3832c386ca8
2012-08-02Header cleanup. Moved a couple of functions from .h to .cpp.Ken Wakasa12-61/+72
Change-Id: Ifd12a7632f75395bd0ef5e394d5c2abd6cbe28c6
2012-08-02Small cleanup for keyboard drawing codeTadashi G. Takaoka1-35/+46
Change-Id: I8b562e03b30f82dddae311b49d316402e867cd31
2012-08-02Enable hardware accelerated drawing for SoftInputWindow of LatinIMEKen Wakasa2-0/+40
Taking advantage of Ib6a8bda46223ce1153f32834daf02a820d16136e bug: 6872994 Change-Id: I799b25b6509980dd9f039bead9bc926b42cbb040
2012-08-01Import translations. DO NOT MERGEYing Wang44-266/+134
Change-Id: Ifdbe0c41f5e01c4afc155ea68c05d50d483e5749 Auto-generated-cl: translation import
2012-08-01Fix multi-touch input in auto-caps fieldTadashi G. Takaoka2-4/+1
Bug: 6905194 Change-Id: I7f9f61f36b7f3aa2b40c126a68232a947976aad2
2012-08-01Header cleanupKen Wakasa4-15/+6
Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba
2012-08-01Move flags belonging to BinaryFormat to the right place.Jean Chalard5-81/+80
These masks and flags are constants that are an integral part of the format. They belong in BinaryFormat and have nothing to do in UnigramDictionary. This needs I6751dda4 to not break the build Bug: 6429243 Change-Id: Ic1c842b3245f7fdc25aa8d1459c5bb07b262e265
2012-07-31Add <uses-sdk> in manifest files of test apksKen Wakasa1-0/+2
Change-Id: If5d0aeba8fadb25f67bcd9132dd6c56e5bf9899e