aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move constants to a better place.Jean Chalard2012-06-278-29/+29
| | | | Change-Id: I5c27a3ed99b17f850e26a8503de16f001c7111c1
* CleanupJean Chalard2012-06-271-17/+8
| | | | Change-Id: I575f22330bf6881af1d9a35f22b51b7bf2198113
* Remove unused stuff.Jean Chalard2012-06-273-28/+2
| | | | Change-Id: Ifd0d5b6978f76b841574a6e10157c32d0cd656b6
* Cleanup the dictionary type.Jean Chalard2012-06-2712-37/+40
| | | | | | | Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
* Merge "Update the prototype of onAddSuggestedWord - calling side."Jean Chalard2012-06-273-14/+7
|\
| * Update the prototype of onAddSuggestedWord - calling side.Jean Chalard2012-06-273-14/+7
| | | | | | | | | | | | We want to get rid of all those IDs in Latin IME. Change-Id: Ibe08100a5e2976c80abb049889233b4047a686f3
* | Small cleanupsKen Wakasa2012-06-273-6/+6
|/ | | | Change-Id: Ic1a198ab1b4f0323fde9e4245729fd0e6011b914
* Merge "Use binarySearch instead of a hand-written linear search"Jean Chalard2012-06-261-9/+5
|\
| * Use binarySearch instead of a hand-written linear searchJean Chalard2012-06-271-9/+5
| | | | | | | | | | | | Yay. Change-Id: Icf686eb2d675da959f19edc856b521e6288dcea3
* | Merge "Implement a comparator for SuggestedWordInfos."Jean Chalard2012-06-261-4/+18
|\|
| * Implement a comparator for SuggestedWordInfos.Jean Chalard2012-06-271-4/+18
| | | | | | | | Change-Id: Ic4b0ae05cd98a1aec5806c5e4b744158e73aea7a
* | Merge "only output every kth word to log"Kurt Partridge2012-06-261-8/+58
|\ \ | |/ |/|
| * only output every kth word to logKurt Partridge2012-06-261-8/+58
| | | | | | | | | | | | | | multi-project CL with Ib5b544b9b2d8b0e4419238976b2e274e5ac564f8 Bug: 6188932 Change-Id: Iea68cf36924d6fda126130a98431a6ce02ba251e
* | Merge "Remove some special casing"Jean Chalard2012-06-261-27/+10
|\ \
| * | Remove some special casingJean Chalard2012-06-261-27/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This special casing is useless. If the word is the same as what user typed, the scoring algorithm already ensures that it comes out at the top. Actually, as is written in a comment here, code executed later is actively relying on this suggestion having the top score ! There is no need to test it for equalness and inserting it at the top then. Change-Id: I263a6de59b77ec72a2dcbb933361b8e16fca0681
* | | Fix a bug where a log would mysteriously not workJean Chalard2012-06-261-3/+2
|/ / | | | | | | Change-Id: I5ca77ed65e95a6d357215c0e730238fb463986bb
* | Optimization.Jean Chalard2012-06-261-2/+2
| | | | | | | | | | | | We already had that computed Change-Id: I2a9742eaee2e9db1f73aeddda7bae7e237b4d15c
* | Cut out a method for clarityJean Chalard2012-06-261-13/+25
| | | | | | | | Change-Id: I1dc668698a5cd840297e713a26a525f5e32d35d6
* | Merge "Avoid string conversions when possible."Jean Chalard2012-06-261-4/+4
|\ \
| * | Avoid string conversions when possible.Jean Chalard2012-06-261-4/+4
| | | | | | | | | | | | Change-Id: Ibf5f3e40da55998364d0d835ecf283f32c80fcf5
* | | Merge "Simplify a method call."Jean Chalard2012-06-261-24/+21
|\| |
| * | Simplify a method call.Jean Chalard2012-06-261-24/+21
| | | | | | | | | | | | Change-Id: Ieede787a13cef79353f13af52488ef3732ac9850
* | | Merge "Refactor and squash long-standing bugs (A2)"Jean Chalard2012-06-261-13/+9
|\| |
| * | Refactor and squash long-standing bugs (A2)Jean Chalard2012-06-261-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is awesome. - Improve performance by stopping useless string/array conversions. - Simplify method interface. - Fix localization bugs - we now know our locale - Fix bugs with surrogate code points Bug: 4769095 Change-Id: I8a8ee224b713429ee0a4ce5bd52f1b63378cf56f
* | | Merge "Remove unnecessary variables"Tadashi G. Takaoka2012-06-262-15/+3
|\ \ \
| * | | Remove unnecessary variablesTadashi G. Takaoka2012-06-262-15/+3
| | | | | | | | | | | | | | | | | | | | Bug: 6722052 Change-Id: I92e85b3e49b8f4b228f0cf0994216c5050e0865c
* | | | Merge "Pass MotionEvent to PointerTracker"Tadashi G. Takaoka2012-06-262-3/+6
|\ \ \ \
| * | | | Pass MotionEvent to PointerTrackerTadashi G. Takaoka2012-06-262-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a one of groundwork to integrate gesture input. Change-Id: I5b75c6978b51df91fdc384a9f6d1d5a5ddc563e2
* | | | | Merge "Remember the locale in the Suggest object (A1)"Jean Chalard2012-06-261-0/+5
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | Remember the locale in the Suggest object (A1)Jean Chalard2012-06-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be necessary for uppercasing and titlecasing words correctly. Change-Id: I0f446a4c82bc482240ff730a2ad6586a61571d6b
* | | | Merge "Cleanup PointerTracker debug method"Tadashi G. Takaoka2012-06-261-5/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Cleanup PointerTracker debug methodTadashi G. Takaoka2012-06-261-5/+1
| |/ / | | | | | | | | | Change-Id: Ib3bfa0a46f5814a6df838005d7243e2f536a98a0
* | | Remove a useless member (A2)Jean Chalard2012-06-261-7/+6
| | | | | | | | | | | | Change-Id: Ia727ffc2946352bbf79e0c97684f8fa98f428cef
* | | Convert a member to a local variable (A1)Jean Chalard2012-06-261-17/+17
| | | | | | | | | | | | Change-Id: I9eab910989443704f83711cf4fb0070c5987a13a
* | | Remove an unused method (A22)Jean Chalard2012-06-261-8/+0
| | | | | | | | | | | | Change-Id: I2195f365df1799c8b3b2a53670d1df535ab1a742
* | | Simplification and optimization (A20)Jean Chalard2012-06-261-25/+14
| | | | | | | | | | | | Change-Id: Ia837e553ccfe67cd4303096290194a5186df059b
* | | Preparation for a simplification (A19)Jean Chalard2012-06-261-0/+4
| | | | | | | | | | | | Change-Id: I4605a571faf5fbc68b18ce525d6019600bfa8cf7
* | | Remove a meaningless separation (A18)Jean Chalard2012-06-262-26/+18
| | | | | | | | | | | | Change-Id: I267177044c7d7b0d9119839a11057b2bbf41f75f
* | | Remove the Callback interface for simpler code. (A17)Jean Chalard2012-06-263-40/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I009b54fc2e73cadca6734bdca074d033e81f6a2b
* | | Remove the callback argument to getBigrams() (A16)Jean Chalard2012-06-267-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
* | | Remove the callback argument to getWords() (A15)Jean Chalard2012-06-268-29/+18
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
* | | Do away with Utils#addAllSuggestions (A14)Jean Chalard2012-06-264-15/+1
| | | | | | | | | | | | | | | | | | It's not used any more. Change-Id: Id9da40fdbf7078f3ac647d1368237d6601f5a2ba
* | | Neutralize AndroidSpellChecker.SuggestionsGatherer#addWords (A13)Jean Chalard2012-06-261-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Ia54e1e44e1fd4e8ba2c9316928c0595cbe3f933c
* | | Neutralize Suggest#addWords (A12)Jean Chalard2012-06-261-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Id923367342a62a650a5f1d38e2fa0e913030dca8
* | | Refactoring (A11)Jean Chalard2012-06-261-5/+9
| | | | | | | | | | | | Change-Id: I86bd7587dd80773a51ba6db312ba55dc41e7c8c7
* | | Remove an unused method and inline another (A10)Jean Chalard2012-06-261-43/+10
|/ / | | | | | | Change-Id: Ifd71ce79711b0c15c7764e97351dbb1b8e4c0c2d
* | Merge "Merge the interface of two methods that do the same thing (A9)"Jean Chalard2012-06-262-12/+25
|\ \
| * | Merge the interface of two methods that do the same thing (A9)Jean Chalard2012-06-262-12/+25
| | | | | | | | | | | | Change-Id: Ia5701d713d0fd5bb646b54a03a1a5602dad0a9e6
* | | Merge "Change the return type of getWords and getBigrams (A8)"Jean Chalard2012-06-268-45/+86
|\| |
| * | Change the return type of getWords and getBigrams (A8)Jean Chalard2012-06-268-45/+86
| | | | | | | | | | | | | | | | | | | | | | | | This only returns stuff, but it doesn't change yet how the data is really passed. It merely adds a way of getting the same data. Later, the old way will be removed. Change-Id: If3a064de362175fc5a6781b7a97b65d8730aaf3c