aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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 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
2012-07-30Add MoreKeySpec.toString() method for debuggingTadashi G. Takaoka1-0/+9
Change-Id: Icf9c6e15521849ffc51911c1e256c9815c1960f4
2012-07-28Just a cosmetic cleanupKen Wakasa1-3/+1
Change-Id: Ie32fb8474b502220bdca9dbce30094bf5fb08e00
2012-07-27Import translations. DO NOT MERGEYing Wang27-165/+84
Change-Id: I90998ed5c6728b6fec52d6ef35c1a895ec9e8675 Auto-generated-cl: translation import
2012-07-28Don't auto-correct when there are digits.Jean Chalard2-1/+14
Bug: 6667462 Change-Id: I796655f57c71c9f50ae6e38dd08b71df3998dbcf
2012-07-27Fix a bug with autocapsJean Chalard1-0/+7
Port of Iece016f4 Bug: 6886405 Change-Id: I148c296d8a3841c40b6748e73ed2b0fff473b627
2012-07-27Make PreviewPlacerView finalTadashi G. Takaoka1-22/+18
This is a groundwork for the bug. Bug: 6883053 Change-Id: I51e9235d3bc7021790a88a44596c4314125a1ab3
2012-07-27Fix native debug logKen Wakasa2-12/+10
Change-Id: If19f808522a5a35fa06c2825fcd0d92e6e4a0631
2012-07-27Move SuddenJumpingTouchEventHandler to internal packageTadashi G. Takaoka2-1/+4
Change-Id: Ifc9fb6322a2edbaac0b10e7134ee7e735f14937b
2012-07-27Build LatinIME with NDK r8Ken Wakasa1-12/+2
Change-Id: I0e233f9561f4bb4dee2311b98e7b0a1cd9cd5061
2012-07-26Import translations. DO NOT MERGEYing Wang49-0/+240
Change-Id: I08e6215e35e127bf5e85c303e065759a1af8b323 Auto-generated-cl: translation import
2012-07-26Build LatinIME with NDK r8Andrew Hsieh1-12/+2
To remove incorrect __exidx_start and __exidx_end references newer platform libc.so no longer exports. Related CL & issue: http://b/issue?id=6794540 https://googleplex-android-review.googlesource.com/#/c/209741 https://googleplex-android-review.googlesource.com/#/c/211459 Change-Id: I30f49a1277c1f89dcc15973db8851c0002db4b66
2012-07-26Handle correctly the restarting argumentJean Chalard1-16/+30
Bug: 6851364 Change-Id: Ie939a43b8527a76aec213b702d3d850717f22a81
2012-07-26Add Zulu keyboardTadashi G. Takaoka3-0/+119
Bug: 6867914 Change-Id: I13316ac2a554a8601f920e875d540e5375e12860
2012-07-26Fix gesture detection when sliding key input is disabledTadashi G. Takaoka1-3/+11
Bug: 6867837 Change-Id: Icbfa69928c436343db545860a7d63171f52266b6