aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2012-03-08Stop uselessly remembering a value (A2)Jean Chalard2-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
2012-03-08Remove useless stuff (A1)Jean Chalard1-6/+2
Remove an unused method and avoid doing a useless computation Change-Id: I29593c2e93f15857249b35bdd72ca28045056302
2012-03-08Split Utils class to StringUtils, SubtypeUtils, and JniUtilsTadashi G. Takaoka23-474/+551
Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
2012-03-08Return a value for tests instead of saving itJean Chalard1-1/+2
Change-Id: I54fa32b92e89d03a53866bd1c0ee65955dd6b3d3
2012-03-08SimplificationJean Chalard1-6/+1
Change-Id: Ibced83da2398f1e9ab6a0d6a22c2ad7c8f25cb7b
2012-03-08Cleanup keyboard theme switching codeTadashi G. Takaoka4-42/+46
Change-Id: I023769b765d07237b2129d8f1b2a02ffd4c4f09d
2012-03-08Fix centering more suggestions panel on tabletTadashi G. Takaoka4-45/+22
Bug: 6129726 Change-Id: I8dac3251eec68ad3fb523c632ff39f3cc661c81f
2012-03-08Small renameJean Chalard1-6/+4
Left/Right is wrong terminology here Change-Id: I58c55849e45d9984dd3fb7b75a64e07667c9eba4
2012-03-08Cleanup unused imports (A7)Jean Chalard1-2/+0
Change-Id: I48ba12e4311cbf2982ee8f5312b279bc8c1fdfe8
2012-03-08Get the view for haptic feedback as a parameter (A6)Jean Chalard2-15/+11
It's rather annoying (and possibly dangerous) to keep this as a member. Get it from outside. Change-Id: I00c42db96395fb65204fb140aeedc82bf312a86e
2012-03-08Remove a useless member (A5)Jean Chalard1-4/+2
Change-Id: Ibaaeb8dbcb012f5e973e27ed9928401515656e9e
2012-03-08Simplification of sound settings (A4)Jean Chalard1-12/+8
Change-Id: I0c6e207bae1e08c45a95b3479e1d67228d696792
2012-03-08Make a condition positive (A3)Jean Chalard1-5/+5
mSoundOn is much easier to understand than mSilentModeOn Change-Id: Ie51c5c75fcad62e13e0fb578a266af80f15dc440
2012-03-08Simplify audio management (A2)Jean Chalard1-12/+9
There is little point in deferring loading for this. Getting the service at startup time is not very expensive anyway, plus we can avoid getting it in a later change if sound is off in settings. Change-Id: I08d65467f245fa2f9f617eb23257c327b3115673
2012-03-08Export audio and haptic feedback to a specialized class. (A1)Jean Chalard2-67/+137
Change-Id: I957d883d1ccf188cb98eb11031aa0a32fce4ed76
2012-03-08Give InputLogicTests the ability to change languageJean Chalard4-18/+119
Also fix a typo, and increase the time allowed to load the main dictionary to 2 secs instead of 1. Bug: 6114326 Change-Id: I5f70b34fc4277c55977b18466253152aa98a2507
2012-03-08Restart LatinIME service when keyboard theme is changedTadashi G. Takaoka3-36/+9
Bug: 6023947 Change-Id: I779da32708fca7333aff74929cc98173246ee685
2012-03-08Fix a bug on German umlaut digraph correctionsatok2-6/+19
Bug: 6129372 Change-Id: I2d629735028c35bf12289f381ada2f4ffe8d7ad3