aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2012-07-31Cancel the while-typing timer when user hits the spacebarTadashi G. Takaoka2-15/+31
Bug: 6689079 Change-Id: I6b366acdcefb8b2c0d973a4f2a12329fc12eb5c5
2012-07-31Cleanup headersKen Wakasa18-40/+33
Change-Id: I9124366b2000cad54966fb6936bb4691bbf115a3
2012-07-31Add language switch key to 10" tabletTadashi G. Takaoka2-3/+30
Bug: 6637175 Change-Id: Ife9c9a6d35bd3cb4de406b388c504846b35059e7
2012-07-31Add a <uses-sdk> element in the LatinIME's manifestKen Wakasa1-0/+2
Change-Id: I8354677e271fc73865aabffe0df489e52c85c1eb
2012-07-31Add android::supportsRtl="true"Tadashi G. Takaoka1-1/+2
Bug: 6904817 Change-Id: I1176e239d001d8eb5ae79ed345660b22be68b137
2012-07-31Fix east slavic keyboard layoutsTadashi G. Takaoka9-395/+428
This change affects Ukrainian, Belarusian, Kyrgyz, and Russian keyboard. The followings are the layout changes for each language respectively. [Ukrainian] * Replace useless CYRILLIC LETTER E with CYRILLIC LETTER UKRAINIAN IE. * Replace useless CYRILLIC LETTER HARD SIGN with CYRILLIC LETTER YI on 10-inch tablet. * Add CYRILLIC LETTER GHE WITH UPTURN as more keys of CYRILLIC LETTER GHE. [Belarusian] * Add CYRILLIC LETTER IO as more keys of CYRILLIC LETTER IE. * Replace useless CYRILLIC LETTER HARD SIGN with CYRILLIC LETTER IE on 10-inch tablet. [Kyrgyz] * Add CYRILLIC LETTER IO as more keys of CYRILLIC LETTER IE. * Remove CYRILLIC LETTER HARD SIGN from more keys of CYRILLIC LETTER HA because CYRILLIC LETTER SOFT SIGN has it. [Russian] * Remove CYRILLIC LETTER HARD SIGN from more keys of CYRILLIC LETTER HA because CYRILLIC LETTER SOFT SIGN has it. This change also replace misspelled "more_keys_for_cyrillic_ye" text name with "more_keys_for_cyrillic_ie". Bug: 6881007 Change-Id: I9e88c4e27f66225e1676f2b286a7e55b9f2cbf5b
2012-07-30Import translations. DO NOT MERGEYing Wang49-4/+448
Change-Id: I4495669f10f41c2c7c3877c65b061df6a2c9f196 Auto-generated-cl: translation import
2012-07-31Don't forward phantom space state on stripper inputJean Chalard2-1/+19
Bug: 6890540 Change-Id: I923b24e3bc17e7b923be4940ad739b58dca24a1f
2012-07-30Move gesture preview parameters to KeyboardView attributesTadashi G. Takaoka6-63/+91
Change-Id: Iff9d6b485e202656fc869f3ff4d94575ad2c186f
2012-07-30Small fix to KeyboardViewTadashi G. Takaoka1-6/+11
Change-Id: Ifb7500ec2e55b50bb7951aa847fd4fbf49e32f4e
2012-07-30Misc cleanupsKen Wakasa13-30/+17
Change-Id: I28308f12c3064299acefc346b72279036c3726a7
2012-07-30Add advanced options to turn on/off the gesture trail and text previewTadashi G. Takaoka8-42/+98
Bug: 6883053 Change-Id: I601718afb37289108b45ef68626c7c315edca35d
2012-07-30More readable Key.toString() and MoreKeySpec.toString()Tadashi G. Takaoka2-4/+14
Change-Id: Iee3c33dedd0c00ba259aa55e8b0c1c57b84eccdd
2012-07-30Add device form factor to KeyboardIdTadashi G. Takaoka6-14/+42
This is a groundword for optimizing keyboard parsing. Bug: 6860259 Change-Id: Ie65aa502b18c920e25cf2998b79120b3cc835952