aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a shameful bugJean Chalard2012-03-091-1/+1
| | | | | | I must have been sleeping when I wrote that Change-Id: I887180ab610785a2000636adeeed99230b3c5390
* Reduction, step 8Jean Chalard2012-03-092-16/+16
| | | | Change-Id: I54334039597e235e24f169e34c1d44109180ee88
* Reduction, step 7Jean Chalard2012-03-092-26/+26
| | | | Change-Id: I177ef2f29c8b6000c5e3d021c016c5d216fe3fc6
* Reduction, step 6Jean Chalard2012-03-092-2/+4
| | | | Change-Id: I22ad4cea0e0cac23813da7e788f5c94974ce0ebf
* Reduction, step 5Jean Chalard2012-03-091-11/+3
| | | | Change-Id: Iac52e62c2bdffad14f916f69eade2b785bb41767
* Reduction, step 4Jean Chalard2012-03-091-21/+3
| | | | Change-Id: Ib27dc6e9486c3f0f2ec1e94a88a52d12c1af2d38
* Reduction, step 3Jean Chalard2012-03-091-36/+7
| | | | Change-Id: I0e08b102c9539d97c473505b9d42176c4a7c8853
* Reduction, step 2Jean Chalard2012-03-091-63/+9
| | | | Change-Id: I06e117df43d25dbaf9fc7a7366efd9355a6215ce
* Reduction, step 1Jean Chalard2012-03-091-7/+7
| | | | Change-Id: Ic3ed04300cfd4c0b69b93b27379aca4093b32f67
* Separate bigram prediction from suggestion processJean Chalard2012-03-092-3/+152
| | | | Change-Id: Ibdef206fbd6688a45cebbd7fb8a9f6cd175d03b0
* Remove useless stuffJean Chalard2012-03-091-1/+0
| | | | Change-Id: I462d24da2d26661990d6aab2a13fde851763fd61
* Export some more logic out of Latin IMEJean Chalard2012-03-093-11/+18
| | | | Change-Id: Ib264533a05e9e09347bf254789e6ab5beec92400
* Export some logic out of LatinIMEJean Chalard2012-03-093-22/+25
| | | | | | | Hopefully that will end in Suggest/SuggestedWords being autonomous and won't need the logic spoon-fed to them Change-Id: I915661bce13c69c8a5b8e5d4a8c41e18fea594cf
* Small optimizationJean Chalard2012-03-091-7/+7
| | | | | | | We only use some of those results in one branch of an if() test. Let's not compute those that are not needed. Change-Id: I6ca068646b86d2980fb88e75b110ad077362c4ff
* Small reorganizationJean Chalard2012-03-091-5/+6
| | | | | | ...resulting in a slight optimization Change-Id: I83a9b8c92c3d93ce75988285997ec138b3ffe52e
* Remove useless testJean Chalard2012-03-091-13/+11
| | | | | | typedWord may not be null here Change-Id: I9e7afb89fafbf6fcbc91fbc132aecc06aec8979f
* Merge "Remove a useless test (B7)"Jean Chalard2012-03-081-2/+1
|\
| * Remove a useless test (B7)Jean Chalard2012-03-091-2/+1
| | | | | | | | | | | | consideredWord is provably never null. Change-Id: Ifaa0d2471c46f14967e70ad004d2b82f841a4566
* | Merge "Rename a parameter (B6)"Jean Chalard2012-03-081-13/+13
|\|
| * Rename a parameter (B6)Jean Chalard2012-03-091-13/+13
| | | | | | | | | | | | | | This is not necessarily the typed word. Actually, the parameter that's passed here has trailing single quotes culled out of it. Change-Id: Ia2038faa2cbbd3a5b8263e6c0fb5b8e670993fe9
* | Merge "Remove useless tests (B5)"Jean Chalard2012-03-081-10/+5
|\|
| * Remove useless tests (B5)Jean Chalard2012-03-091-10/+5
| | | | | | | | | | | | WordComposer#getTypedWord() may not return null. Don't test for it. Change-Id: I6aff14892503d0c275a3328c404ed99d2f40a687
* | Merge "Remove a provably useless test (B4)"Jean Chalard2012-03-081-2/+1
|\|
| * Remove a provably useless test (B4)Jean Chalard2012-03-091-2/+1
| | | | | | | | | | | | | | If !mInputAttributes.mInputTypeNoAutoCorrect then mCorrectionMode will not have allowed #hasAutoCorrection() to return true. Change-Id: I1b498d5aeb26194c765cc9b9dcb24d980de43894
* | Merge "Optimize and clean up (B2)"Jean Chalard2012-03-082-16/+18
|\|
| * Optimize and clean up (B2)Jean Chalard2012-03-092-16/+18
| | | | | | | | | | | | | | | | Stop parameters from escaping and don't do useless work and simplify the code. Yay. Change-Id: I0dfc3e14b1cb50e0730f6d9c1d52b54516baa90e
* | Merge "Move some code around (B1)"Jean Chalard2012-03-081-2/+3
|\|
| * Move some code around (B1)Jean Chalard2012-03-091-2/+3
| | | | | | | | | | | | | | The goal is to make the creation of the Builder closer to the #build() call Change-Id: I48d76d4efdc180479829016582edd9de47e7332c
* | Limit escape of parametersJean Chalard2012-03-092-7/+5
|/ | | | Change-Id: I3a7ab069042d5542ab2e033d1eeb13d718cd7698
* Merge "Make AutoCorrection static and non-instantiable (A5)"Jean Chalard2012-03-082-5/+6
|\
| * Make AutoCorrection static and non-instantiable (A5)Jean Chalard2012-03-082-5/+6
| | | | | | | | | | | | This needs change Ic6756baa to not break the build Change-Id: I1c772dd99d63fec5d3ad67a0eb7fbc28ec7a0f0f
* | Merge "Move a memory in the container class (A4)"Jean Chalard2012-03-082-16/+10
|\|
| * Move a memory in the container class (A4)Jean Chalard2012-03-082-16/+10
| | | | | | | | | | | | This allows us to make AutoCorrection a purely static class. Change-Id: I15b81bd7f3d6ea487154a5b09a81bc323be82ce1
* | Merge "Remove an unused method"Jean Chalard2012-03-081-14/+0
|\ \
| * | Remove an unused methodJean Chalard2012-03-091-14/+0
| | | | | | | | | | | | | | | | | | Who would have guessed this wasn't being called at all. Change-Id: Ib74a212356ea44e9bf149619ed5464c14684a1ba
* | | Merge "Make AutoCorrection a step closer to being static (A3)"Jean Chalard2012-03-081-7/+1
|\ \ \ | | |/ | |/|
| * | Make AutoCorrection a step closer to being static (A3)Jean Chalard2012-03-081-7/+1
| | | | | | | | | | | | Change-Id: Ide3d9785661a672af9bc8dc0cf91cab816dd6caa
* | | Merge "Stop uselessly remembering a value (A2)"Jean Chalard2012-03-082-4/+8
|\| |
| * | Stop uselessly remembering a value (A2)Jean Chalard2012-03-082-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge broadcast receivers againJean Chalard2012-03-092-21/+7
| |/ |/| | | | | | | | | | | | | It's probably simpler not to have registers dance around, and just message the feedback manager when the audio event happens. Change-Id: Id0710ed102d10d01f1af93ad8cb660653bb3a9f8
* | Fix a crashJean Chalard2012-03-091-5/+9
| | | | | | | | | | Bug: 6137076 Change-Id: I05f9f72a2678d10d3400dab5fc71544276739dcf
* | Merge "Remove useless stuff (A1)"Jean Chalard2012-03-081-6/+2
|\|
| * Remove useless stuff (A1)Jean Chalard2012-03-081-6/+2
| | | | | | | | | | | | Remove an unused method and avoid doing a useless computation Change-Id: I29593c2e93f15857249b35bdd72ca28045056302
* | Merge "Split Utils class to StringUtils, SubtypeUtils, and JniUtils"Tadashi G. Takaoka2012-03-0823-474/+551
|\ \ | |/ |/|
| * Split Utils class to StringUtils, SubtypeUtils, and JniUtilsTadashi G. Takaoka2012-03-0823-474/+551
| | | | | | | | Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
* | Merge "Cleanup keyboard theme switching code"Tadashi G. Takaoka2012-03-082-41/+39
|\ \
| * | Cleanup keyboard theme switching codeTadashi G. Takaoka2012-03-082-41/+39
| |/ | | | | | | Change-Id: I023769b765d07237b2129d8f1b2a02ffd4c4f09d
* | Merge "Fix centering more suggestions panel on tablet"Tadashi G. Takaoka2012-03-082-43/+22
|\ \
| * | Fix centering more suggestions panel on tabletTadashi G. Takaoka2012-03-082-43/+22
| | | | | | | | | | | | | | | Bug: 6129726 Change-Id: I8dac3251eec68ad3fb523c632ff39f3cc661c81f
* | | Merge "Return a value for tests instead of saving it"Jean Chalard2012-03-081-1/+2
|\ \ \