aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-09Entirely remove safety net memory.Jean Chalard1-8/+4
mHasAutoCorrectionCandidate now includes the fact that this did not get caught by the safety net. This is more intuitive. Change-Id: I6502bbf1ca64a0a6d64f55d723305cf78352a656
2012-03-09Make the safety net memory privateJean Chalard2-4/+4
Change-Id: I10959d47c980d2e8f2ea995955acf02193e3ff7b
2012-03-09Recompute safety net in debug cases instead of memorizingJean Chalard1-1/+5
Change-Id: I67f3a31db081afa4871ec441dd461c56e098c668
2012-03-09Make access to the safety net calculation easierJean Chalard1-10/+7
Change-Id: If33897b38af94ae81b05e5ef140a542724b9f34a
2012-03-09Extract a condition from a methodJean Chalard1-11/+4
Change-Id: I6b0262fe7cb3f7a31cc19d724c301467be932640
2012-03-09Remove a useless argumentJean Chalard1-2/+2
Change-Id: I713433a3225193489fad5bdafcf302b529903116
2012-03-09Remove a useless escapeJean Chalard2-7/+4
Change-Id: I1ef0685cc9888c9cef9f60015d32b66dde75ef9b
2012-03-09Remove a useless testJean Chalard1-3/+0
If we are not composing a word here, we have already returned Change-Id: I63281abace777e3658286d4df6781d2cd5a29c33
2012-03-09Don't use an intermediate object with a different meaningJean Chalard1-3/+4
Change-Id: Ie89916b49c852a51385ffd61cb596a58f23a46a0
2012-03-09Move some auto-correction logic to where it belongsJean Chalard2-17/+20
Change-Id: I897c5ec3a630a4a6bfc593906df4d3fc7b244482
2012-03-09Fix a shameful bugJean Chalard1-1/+1
I must have been sleeping when I wrote that Change-Id: I887180ab610785a2000636adeeed99230b3c5390
2012-03-09Fix typo.Ken Wakasa2-2/+2
Change-Id: Ia18cd090fd81022041854ce190e36eca49c6b04a
2012-03-09Reduction, step 8Jean Chalard2-16/+16
Change-Id: I54334039597e235e24f169e34c1d44109180ee88
2012-03-09Reduction, step 7Jean Chalard2-26/+26
Change-Id: I177ef2f29c8b6000c5e3d021c016c5d216fe3fc6
2012-03-09Reduction, step 6Jean Chalard2-2/+4
Change-Id: I22ad4cea0e0cac23813da7e788f5c94974ce0ebf
2012-03-09Reduction, step 5Jean Chalard1-11/+3
Change-Id: Iac52e62c2bdffad14f916f69eade2b785bb41767
2012-03-09Reduction, step 4Jean Chalard1-21/+3
Change-Id: Ib27dc6e9486c3f0f2ec1e94a88a52d12c1af2d38
2012-03-09Reduction, step 3Jean Chalard1-36/+7
Change-Id: I0e08b102c9539d97c473505b9d42176c4a7c8853
2012-03-09Reduction, step 2Jean Chalard1-63/+9
Change-Id: I06e117df43d25dbaf9fc7a7366efd9355a6215ce
2012-03-09Reduction, step 1Jean Chalard1-7/+7
Change-Id: Ic3ed04300cfd4c0b69b93b27379aca4093b32f67
2012-03-09Separate bigram prediction from suggestion processJean Chalard2-3/+152
Change-Id: Ibdef206fbd6688a45cebbd7fb8a9f6cd175d03b0
2012-03-09Remove useless stuffJean Chalard1-1/+0
Change-Id: I462d24da2d26661990d6aab2a13fde851763fd61
2012-03-09Export some more logic out of Latin IMEJean Chalard3-11/+18
Change-Id: Ib264533a05e9e09347bf254789e6ab5beec92400
2012-03-09Export some logic out of LatinIMEJean Chalard3-22/+25
Hopefully that will end in Suggest/SuggestedWords being autonomous and won't need the logic spoon-fed to them Change-Id: I915661bce13c69c8a5b8e5d4a8c41e18fea594cf
2012-03-09Small optimizationJean Chalard1-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
2012-03-09Small reorganizationJean Chalard1-5/+6
...resulting in a slight optimization Change-Id: I83a9b8c92c3d93ce75988285997ec138b3ffe52e
2012-03-09Breakdown Greek keyboard into rowsTadashi G. Takaoka7-385/+324
Change-Id: I160c0e26058b3841b3820ec95b91d59b295339ca
2012-03-09Breakdown Georgian keyboard into rowsTadashi G. Takaoka7-752/+478
Change-Id: Id257ea33586e07a91674f654c33003ec2d5aa73d
2012-03-09Breakdown Bulgarian keyboard into rowsTadashi G. Takaoka7-298/+261
Change-Id: Ie0da26a48b186be081ad61858116e519019d1973
2012-03-09Remove useless testJean Chalard1-13/+11
typedWord may not be null here Change-Id: I9e7afb89fafbf6fcbc91fbc132aecc06aec8979f
2012-03-09Breakdown Arabic keyboard into rowsTadashi G. Takaoka9-443/+464
Change-Id: Ie2215d8baf501dc7dd87c464deb47fe4267171f6
2012-03-09Breakdown AZERTY keyboard into rowsTadashi G. Takaoka9-243/+300
Change-Id: Ibd202d7b141209b3e4310499134522cbd1a8c16c
2012-03-09Breakdown QWERTY keyboard into rows and shareTadashi G. Takaoka31-1042/+724
Change-Id: I0b8ad39120a73395ff5a5b1a32e0f3fe681c062b
2012-03-09Remove a useless test (B7)Jean Chalard1-2/+1
consideredWord is provably never null. Change-Id: Ifaa0d2471c46f14967e70ad004d2b82f841a4566
2012-03-09Rename a parameter (B6)Jean Chalard1-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
2012-03-09Remove useless tests (B5)Jean Chalard1-10/+5
WordComposer#getTypedWord() may not return null. Don't test for it. Change-Id: I6aff14892503d0c275a3328c404ed99d2f40a687
2012-03-09Remove a provably useless test (B4)Jean Chalard1-2/+1
If !mInputAttributes.mInputTypeNoAutoCorrect then mCorrectionMode will not have allowed #hasAutoCorrection() to return true. Change-Id: I1b498d5aeb26194c765cc9b9dcb24d980de43894
2012-03-09Optimize and clean up (B2)Jean Chalard2-16/+18
Stop parameters from escaping and don't do useless work and simplify the code. Yay. Change-Id: I0dfc3e14b1cb50e0730f6d9c1d52b54516baa90e
2012-03-09Split tablet symbols and symbols shifted layout into separated rowsTadashi G. Takaoka23-674/+909
Bug: 6100832 Change-Id: I6771364ceca2c152bd9c55e22159f57c3468cc31
2012-03-09Move some code around (B1)Jean Chalard1-2/+3
The goal is to make the creation of the Builder closer to the #build() call Change-Id: I48d76d4efdc180479829016582edd9de47e7332c
2012-03-09Limit escape of parametersJean Chalard2-7/+5
Change-Id: I3a7ab069042d5542ab2e033d1eeb13d718cd7698
2012-03-09Add ":" to ";" key on Greek keyboardTadashi G. Takaoka3-6/+26
Bug: 5679585 Change-Id: I92d4b4d1eff9561adbb1bae607a1c27b4b5168ba
2012-03-09Remove an unused methodJean Chalard1-14/+0
Who would have guessed this wasn't being called at all. Change-Id: Ib74a212356ea44e9bf149619ed5464c14684a1ba
2012-03-09Merge broadcast receivers againJean Chalard2-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
2012-03-09Fix a crashJean Chalard1-5/+9
Bug: 6137076 Change-Id: I05f9f72a2678d10d3400dab5fc71544276739dcf
2012-03-08Import translations. DO NOT MERGEEric Fischer9-38/+19
Change-Id: Idab425b956341eb8556df92fb0ac33e4036e5a6e
2012-03-08Fix forgotten resource name changeTadashi G. Takaoka3-3/+3
Change-Id: I27ea28c7ea93e50ea8f0d947df95e3ab6d146f11
2012-03-08Make AutoCorrection static and non-instantiable (A5)Jean Chalard2-5/+6
This needs change Ic6756baa to not break the build Change-Id: I1c772dd99d63fec5d3ad67a0eb7fbc28ec7a0f0f
2012-03-08Move a memory in the container class (A4)Jean Chalard2-16/+10
This allows us to make AutoCorrection a purely static class. Change-Id: I15b81bd7f3d6ea487154a5b09a81bc323be82ce1
2012-03-08Make AutoCorrection a step closer to being static (A3)Jean Chalard1-7/+1
Change-Id: Ide3d9785661a672af9bc8dc0cf91cab816dd6caa