aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Cleanup•••Change-Id: I575f22330bf6881af1d9a35f22b51b7bf2198113 Jean Chalard2012-06-271-17/+8
* Remove unused stuff.•••Change-Id: Ifd0d5b6978f76b841574a6e10157c32d0cd656b6 Jean Chalard2012-06-271-24/+0
* Update the prototype of onAddSuggestedWord - calling side.•••We want to get rid of all those IDs in Latin IME. Change-Id: Ibe08100a5e2976c80abb049889233b4047a686f3 Jean Chalard2012-06-271-10/+6
* Use binarySearch instead of a hand-written linear search•••Yay. Change-Id: Icf686eb2d675da959f19edc856b521e6288dcea3 Jean Chalard2012-06-271-9/+5
* Implement a comparator for SuggestedWordInfos.•••Change-Id: Ic4b0ae05cd98a1aec5806c5e4b744158e73aea7a Jean Chalard2012-06-271-4/+18
* Merge "Remove some special casing"Jean Chalard2012-06-261-27/+10
|\
| * Remove some special casing•••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 Jean Chalard2012-06-261-27/+10
* | Fix a bug where a log would mysteriously not work•••Change-Id: I5ca77ed65e95a6d357215c0e730238fb463986bb Jean Chalard2012-06-261-3/+2
|/
* Optimization.•••We already had that computed Change-Id: I2a9742eaee2e9db1f73aeddda7bae7e237b4d15c Jean Chalard2012-06-261-2/+2
* Cut out a method for clarity•••Change-Id: I1dc668698a5cd840297e713a26a525f5e32d35d6 Jean Chalard2012-06-261-13/+25
* Avoid string conversions when possible.•••Change-Id: Ibf5f3e40da55998364d0d835ecf283f32c80fcf5 Jean Chalard2012-06-261-4/+4
* Simplify a method call.•••Change-Id: Ieede787a13cef79353f13af52488ef3732ac9850 Jean Chalard2012-06-261-24/+21
* Refactor and squash long-standing bugs (A2)•••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 Jean Chalard2012-06-261-13/+9
* Remember the locale in the Suggest object (A1)•••This will be necessary for uppercasing and titlecasing words correctly. Change-Id: I0f446a4c82bc482240ff730a2ad6586a61571d6b Jean Chalard2012-06-261-0/+5
* Remove a useless member (A2)•••Change-Id: Ia727ffc2946352bbf79e0c97684f8fa98f428cef Jean Chalard2012-06-261-7/+6
* Convert a member to a local variable (A1)•••Change-Id: I9eab910989443704f83711cf4fb0070c5987a13a Jean Chalard2012-06-261-17/+17
* Remove an unused method (A22)•••Change-Id: I2195f365df1799c8b3b2a53670d1df535ab1a742 Jean Chalard2012-06-261-8/+0
* Simplification and optimization (A20)•••Change-Id: Ia837e553ccfe67cd4303096290194a5186df059b Jean Chalard2012-06-261-25/+14
* Preparation for a simplification (A19)•••Change-Id: I4605a571faf5fbc68b18ce525d6019600bfa8cf7 Jean Chalard2012-06-261-0/+4
* Remove a meaningless separation (A18)•••Change-Id: I267177044c7d7b0d9119839a11057b2bbf41f75f Jean Chalard2012-06-261-21/+14
* Remove the Callback interface for simpler code. (A17)•••Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I009b54fc2e73cadca6734bdca074d033e81f6a2b Jean Chalard2012-06-261-8/+1
* Remove the callback argument to getBigrams() (A16)•••Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e Jean Chalard2012-06-261-3/+2
* Remove the callback argument to getWords() (A15)•••Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b Jean Chalard2012-06-261-3/+2
* Neutralize Suggest#addWords (A12)•••Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Id923367342a62a650a5f1d38e2fa0e913030dca8 Jean Chalard2012-06-261-4/+39
* Refactoring (A11)•••Change-Id: I86bd7587dd80773a51ba6db312ba55dc41e7c8c7 Jean Chalard2012-06-261-5/+9
* Remove an unused method and inline another (A10)•••Change-Id: Ifd71ce79711b0c15c7764e97351dbb1b8e4c0c2d Jean Chalard2012-06-261-43/+10
* Merge the interface of two methods that do the same thing (A9)•••Change-Id: Ia5701d713d0fd5bb646b54a03a1a5602dad0a9e6 Jean Chalard2012-06-261-10/+21
* Remove useless code and storage (A6)•••This is only used as temporary storage to be then added to the other variable, relying on the fact that it is hopefully sorted. It's better to just add it right away to the final storage. Change-Id: I5da702ac9dc579593ab21feb2021a01e5dfdf4dc Jean Chalard2012-06-261-29/+2
* Remove a duplicate processing (A5)•••This filtering is already done in native code. It's useless (and costly) to do it again here. Change-Id: Ide6794d7a8682a881f097f33e222f10d30f297bd Jean Chalard2012-06-261-25/+4
* Change JNI for Gesture•••Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088 Satoshi Kataoka2012-06-251-2/+2
* Merge "Cleanup, part 6 (C6)"Jean Chalard2012-06-191-8/+0
|\
| * Cleanup, part 6 (C6)•••Change-Id: I184f3a336278559df255c5d600a98fbba468a243 Jean Chalard2012-06-161-8/+0
* | Merge "Cleanup, part 4 (C4)"Jean Chalard2012-06-191-4/+12
|\|
| * Cleanup, part 4 (C4)•••Change-Id: I2821ae71ec49e4b6b512157d17b80198f74321e4 Jean Chalard2012-06-161-4/+12
* | Merge "Cleanup, part 3 (C3)"Jean Chalard2012-06-191-4/+5
|\|
| * Cleanup, part 3 (C3)•••Change-Id: Ib0be8dc26b6fa366a3dabeea940d466602073244 Jean Chalard2012-06-161-4/+5
* | Merge "Make a variable final (A2)"Jean Chalard2012-06-181-7/+7
|\ \
| * | Make a variable final (A2)•••This is never changed, and probably doesn't need to be. It's public because it's going to be used elsewhere in a future change Change-Id: Iec8d65859c470de5e1fb0b05533356fbc3b8e91b Jean Chalard2012-06-161-7/+7
* | | Merge "Add a kind to the suggestion for bookkeeping (A1)"Jean Chalard2012-06-181-6/+8
|\| |
| * | Add a kind to the suggestion for bookkeeping (A1)•••This will help for debug as well as serve as groundwork for Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I74d0a7b943fb22c514ad79dc064d69ddf336d3ef Jean Chalard2012-06-161-6/+8
| |/
* / Remove non-dictionary words and digit touch data.•••Output to the ResearchLogger is now queued and only flushed if the word the user was working on is a dictionary word. multi-project commit with Ic713ec00777fbdcf4a937b3c77b995257e100fc7 Bug: 6188932 Change-Id: I9de15227ff51be23083d9096f1c1b3d83802fff7 Kurt Partridge2012-06-171-7/+11
|/
* Remove deprecated classes.•••Should we maybe rename back *BinaryDict* to *Dict* in another change for simplicity? Change-Id: I8f7dcb78b9bdf1a13ce403a997fbb8619f2b453b Jean Chalard2012-06-081-5/+5
* Fix a bug with a concurrent modification of a map.•••Bug: 6538848 Change-Id: I1a8422356d9909213e53cfdc8c5bcc12eb48f19d Jean Chalard2012-05-241-8/+9
* Remove unused private method Suggest.searchBigramSuggestion•••Change-Id: I077c4c019676fefb8eac6042bd7db1b7ab33ca03 Tadashi G. Takaoka2012-05-231-21/+0
* Use "float" instead of "double"•••Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07 satok2012-05-161-3/+3
* Merge "Reorder suggestions result according to auto correction threshold" int...satok2012-05-161-3/+2
|\
| * Reorder suggestions result according to auto correction threshold•••Bug: 5413904 Change-Id: I3aa3a8109ba45d2129b58d8242866fd3dd3473cb satok2012-05-161-3/+2
* | Merge "Stop meaningless bigram computations" into jb-devJean Chalard2012-05-161-33/+0
|\ \
| * | Stop meaningless bigram computations•••Bug: 6313806 Change-Id: Idf765b40812a43de13aa166ed0b44c7b5f7cc218 Jean Chalard2012-05-151-33/+0
| |/
* / Don't auto-correct when there is no main dictionary.•••Bug: 6502485 Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef Jean Chalard2012-05-161-18/+20
|/