aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* Cleanup & optimization•••Renaming some variables, and obvious optimizations. Change-Id: Ib716748e9f3d602cf276dcd4e73f3bcfb819585e Jean Chalard2012-03-141-28/+24
* Remove a useless parameter•••Change-Id: I03005240238fb004c20b2df0d836796e2e8b307f Jean Chalard2012-03-141-5/+4
* Remove a useless method•••Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b Jean Chalard2012-03-141-5/+4
* Make the Builder private•••Change-Id: I2184084f4b7729c4324f8291d548bd4c4c2872a1 Jean Chalard2012-03-141-4/+4
* Re-sequence the last calls to build()•••Change-Id: If77ee5aa9483d3ca03c52812f31665dee6468e99 Jean Chalard2012-03-141-7/+5
* Move up the static methods of the Builder•••Change-Id: Ic3e07b745b7b24cae0f772ea49e0de615b44caf9 Jean Chalard2012-03-141-2/+2
* Make the Builder fully immutable at last•••Change-Id: Ie399ca7a9e76ccab44a92bc378d11f92392fed2c Jean Chalard2012-03-131-5/+4
* Straighten out the last bastion of the Builder•••...and go for the kill Change-Id: I5ad57211b250d2578ca22a5dae93344d52f9da80 Jean Chalard2012-03-131-2/+9
* Make still more members of the Builder final.•••Change-Id: Ic455f97247da5e40d4939555ab639ecffef36e2d Jean Chalard2012-03-131-3/+6
* Some code reorganization.•••Use the same local variable inside both branches of an if. Change-Id: I61f7d506d984f3723ec90604416d1875dd97cd8c Jean Chalard2012-03-131-8/+5
* Make some more Builder attributes final.•••Change-Id: I3132b7fe4ee97c566736bfc21c3783cfc79fc7ff Jean Chalard2012-03-131-6/+8
* Make the suggested word list final in Builder.•••Change-Id: I2ddfab00dc8c141fc989a051f16eb2b3571b7e86 Jean Chalard2012-03-131-5/+5
* Remove unused stuff.•••Remove 2 methods that were left only for tests to compile in another project, but are not used any more now that the tests have been updated. Also remove an attribute that is never read. Change-Id: Ic9ba1f52a465199c82c923d77ed7450460e8a4b9 Jean Chalard2012-03-131-6/+3
* Make an add into a set.•••This method now only sets words, so it should be named set. The functionality is identical since there are no more places where the list is reused. This will also allow to make the list final in an upcoming change. Change-Id: I25b0c7d7f13c3fa5d89806f01f48f1026769603f Jean Chalard2012-03-131-3/+3
* Cleanup•••Remove an unused method, make others static, fix a formatting issue Change-Id: I40cb0b5e01a6f8e2f7b953bd9aad3168dfee71d1 Jean Chalard2012-03-131-23/+8
* Kill the StringBuilderPool.•••The intention may have been nice originally but these end up being copied anyway :/ Let's remove them now, and in a later change, just keep references to the created objects. Change-Id: Ifba8357c20384f9eb40cd916665ed1fc6dc8cab1 Jean Chalard2012-03-131-38/+10
* Remove a useless parameter.•••Change-Id: I7625bf17158c207ad7e8cd496bef825704173c4c Jean Chalard2012-03-131-3/+5
* Consolidate words into SuggestedWordInfo•••We can't get rid of SuggestedWordInfo because it conveys the information about whether a suggestion is outdated or not. It is always created anyway. So it makes sense not to have separate lists and to just keep everything in the SuggestedWordInfo object. Change-Id: Idd79dc267d97633901d3d2869da457736963e178 Jean Chalard2012-03-121-6/+15
* Make access to the safety net calculation easier•••Change-Id: If33897b38af94ae81b05e5ef140a542724b9f34a Jean Chalard2012-03-091-10/+7
* Extract a condition from a method•••Change-Id: I6b0262fe7cb3f7a31cc19d724c301467be932640 Jean Chalard2012-03-091-11/+4
* Remove a useless argument•••Change-Id: I713433a3225193489fad5bdafcf302b529903116 Jean Chalard2012-03-091-2/+2
* Remove a useless escape•••Change-Id: I1ef0685cc9888c9cef9f60015d32b66dde75ef9b Jean Chalard2012-03-091-3/+4
* Move some auto-correction logic to where it belongs•••Change-Id: I897c5ec3a630a4a6bfc593906df4d3fc7b244482 Jean Chalard2012-03-091-4/+20
* Reduction, step 8•••Change-Id: I54334039597e235e24f169e34c1d44109180ee88 Jean Chalard2012-03-091-15/+11
* Reduction, step 7•••Change-Id: I177ef2f29c8b6000c5e3d021c016c5d216fe3fc6 Jean Chalard2012-03-091-21/+17
* Reduction, step 6•••Change-Id: I22ad4cea0e0cac23813da7e788f5c94974ce0ebf Jean Chalard2012-03-091-1/+3
* Reduction, step 5•••Change-Id: Iac52e62c2bdffad14f916f69eade2b785bb41767 Jean Chalard2012-03-091-11/+3
* Reduction, step 4•••Change-Id: Ib27dc6e9486c3f0f2ec1e94a88a52d12c1af2d38 Jean Chalard2012-03-091-21/+3
* Reduction, step 3•••Change-Id: I0e08b102c9539d97c473505b9d42176c4a7c8853 Jean Chalard2012-03-091-36/+7
* Reduction, step 2•••Change-Id: I06e117df43d25dbaf9fc7a7366efd9355a6215ce Jean Chalard2012-03-091-63/+9
* Reduction, step 1•••Change-Id: Ic3ed04300cfd4c0b69b93b27379aca4093b32f67 Jean Chalard2012-03-091-7/+7
* Separate bigram prediction from suggestion process•••Change-Id: Ibdef206fbd6688a45cebbd7fb8a9f6cd175d03b0 Jean Chalard2012-03-091-0/+150
* Export some more logic out of Latin IME•••Change-Id: Ib264533a05e9e09347bf254789e6ab5beec92400 Jean Chalard2012-03-091-10/+7
* Export some logic out of LatinIME•••Hopefully that will end in Suggest/SuggestedWords being autonomous and won't need the logic spoon-fed to them Change-Id: I915661bce13c69c8a5b8e5d4a8c41e18fea594cf Jean Chalard2012-03-091-2/+12
* Merge "Remove useless tests (B5)"Jean Chalard2012-03-081-10/+5
|\
| * Remove useless tests (B5)•••WordComposer#getTypedWord() may not return null. Don't test for it. Change-Id: I6aff14892503d0c275a3328c404ed99d2f40a687 Jean Chalard2012-03-091-10/+5
* | Merge "Optimize and clean up (B2)"Jean Chalard2012-03-081-5/+10
|\|
| * Optimize and clean up (B2)•••Stop parameters from escaping and don't do useless work and simplify the code. Yay. Change-Id: I0dfc3e14b1cb50e0730f6d9c1d52b54516baa90e Jean Chalard2012-03-091-5/+10
* | Limit escape of parameters•••Change-Id: I3a7ab069042d5542ab2e033d1eeb13d718cd7698 Jean Chalard2012-03-091-6/+3
|/
* Merge "Make AutoCorrection static and non-instantiable (A5)"Jean Chalard2012-03-081-4/+1
|\
| * Make AutoCorrection static and non-instantiable (A5)•••This needs change Ic6756baa to not break the build Change-Id: I1c772dd99d63fec5d3ad67a0eb7fbc28ec7a0f0f Jean Chalard2012-03-081-4/+1
* | Merge "Move a memory in the container class (A4)"Jean Chalard2012-03-081-2/+5
|\|
| * Move a memory in the container class (A4)•••This allows us to make AutoCorrection a purely static class. Change-Id: I15b81bd7f3d6ea487154a5b09a81bc323be82ce1 Jean Chalard2012-03-081-2/+5
* | Merge "Remove an unused method"Jean Chalard2012-03-081-14/+0
|\ \
| * | Remove an unused method•••Who would have guessed this wasn't being called at all. Change-Id: Ib74a212356ea44e9bf149619ed5464c14684a1ba Jean Chalard2012-03-091-14/+0
* | | Merge "Stop uselessly remembering a value (A2)"Jean Chalard2012-03-081-1/+5
|\ \ \ | |/ / |/| / | |/
| * Stop uselessly remembering a value (A2)•••The value is only used in debug mode, and it can be recomputed at the time. This change does not impact the logic. There is however a side effect: in debug mode, the normalized score will be displayed also when the word comes out of the whitelist or is a valid word. It's actually a good thing. The end purpose is to make all methods in AutoCorrection static. Change-Id: I1642b1fdfa6ae62b8aa2fed94a8a26ff4a7e4d0e Jean Chalard2012-03-081-1/+5
* | Split Utils class to StringUtils, SubtypeUtils, and JniUtils•••Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144 Tadashi G. Takaoka2012-03-081-3/+47
|/
* Integrate the logic to calculate the proximities•••Bug: 4343280 Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76 satok2012-03-061-1/+0
* Convert an internal enum into an int of same underlying value.•••Goes together with Id4f4e066 Bug: 5922118 Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7 Jean Chalard2012-01-261-6/+6