aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Avoid string conversions when possible.Jean Chalard2012-06-261-4/+4
| | | | | | | | Change-Id: Ibf5f3e40da55998364d0d835ecf283f32c80fcf5
* | Simplify a method call.Jean Chalard2012-06-261-24/+21
| | | | | | | | Change-Id: Ieede787a13cef79353f13af52488ef3732ac9850
* | 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
* | 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
* | 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 the interface of two methods that do the same thing (A9)Jean Chalard2012-06-262-12/+25
| | | | | | | | Change-Id: Ia5701d713d0fd5bb646b54a03a1a5602dad0a9e6
* | 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
* | Remove dependency on WordCallback from BinaryDictionary (A7)Jean Chalard2012-06-261-5/+14
| | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I8245698fbd170e0f5cbad3c0109774bcaddc0614
* | Remove useless code and storage (A6)Jean Chalard2012-06-261-29/+2
| | | | | | | | | | | | | | | | | | 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
* | Remove a duplicate processing (A5)Jean Chalard2012-06-261-25/+4
| | | | | | | | | | | | | | This filtering is already done in native code. It's useless (and costly) to do it again here. Change-Id: Ide6794d7a8682a881f097f33e222f10d30f297bd
* | Merge "Remove another dependency to WordCallback (A4)"Jean Chalard2012-06-251-8/+11
|\ \
| * | Remove another dependency to WordCallback (A4)Jean Chalard2012-06-261-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I5b277124dc9244e78c4a1f4d542a55071eb479bd
* | | Merge "fix IllegalOutOfBoundsException"Kurt Partridge2012-06-251-0/+3
|\ \ \ | |/ / |/| / | |/
| * fix IllegalOutOfBoundsExceptionKurt Partridge2012-06-251-0/+3
| | | | | | | | | | | | | | | | StringUtils.toCodePointArray() had thrown IllegalOutOfBoundsException if passed an empty string. change to just return an empty int[]. Bug: 6188932 Change-Id: Ic41c628c0d407f49fc98cd48cb7ea13d8d5bdd77
* | Remove "Key popup dismiss delay" when "Popup on keypress" is suppressedKen Wakasa2012-06-261-23/+28
|/ | | | | bug: 6714783 Change-Id: Idf674e8e1af80642f2c53f7ae5c03e21c9e04292
* Change JNI for GestureSatoshi Kataoka2012-06-258-31/+42
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Merge "Refactoring and groundwork to fix a bug with older apps"Jean Chalard2012-06-251-7/+9
|\
| * Refactoring and groundwork to fix a bug with older appsJean Chalard2012-06-251-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has a good, although small, impact on performance : it removes a two-way IPC call in a most frequent case, while possibly adding one in a rather unfrequent and less critical case. Also, this fixes a bug with surrogate pairs. This specific branch of code now correctly handles surrogate pairs. Aside from this, it should have no impact on behavior. However, since it does delay access to the previous character in the text view by a two-way IPC call, it actually goes a long way toward fixing bug#6668226. It is not really a fix and the race condition still exists, but this change makes it much, much harder to hit. Bug: 6668226 Change-Id: Id11cc6a0b7488d6bd392227cafdcf3a8d4c62f6c
* | Merge "Tentatively remove a dependency on WordCallback (A3)"Jean Chalard2012-06-243-24/+43
|\ \
| * | Tentatively remove a dependency on WordCallback (A3)Jean Chalard2012-06-213-24/+43
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Id5a59eaec2aeefa0ba4524420a8e035d383f6545
* | | Merge "Improve compatibility for ICS."Jean Chalard2012-06-241-10/+23
|\ \ \ | |_|/ |/| |