aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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
2012-03-08Add functions to calculate proximity characters in the native codesatok4-12/+67
Bug: 4343280 Change-Id: I17f8f6295b01900948b98680d0267753f33a46cf
2012-03-07Import translations. DO NOT MERGEEric Fischer49-168/+382
Change-Id: Iab45cb6beb91770c53ca6a8c0947f9e7ab838bf4
2012-03-07Dynamically determine key preview backing view heightTadashi G. Takaoka8-14/+54
Bug: 6023947 Change-Id: I53a5c0eb99100a0dfe3e025808f5dc55747d1287
2012-03-07Fix duplicate flag value in KeyTadashi G. Takaoka1-2/+2
Change-Id: I98e77e5432a228e4455998bf09a2cc671b113c4e
2012-03-07Tweak vertical corrections for more keys in the "ICS" themeTadashi G. Takaoka5-0/+9
Bug: 6129435 Change-Id: I3800a7a6926967c456e1b9b0dead94717063039a
2012-03-07Recompute suggestions on language change.Jean Chalard1-0/+8
Bug: 6106407 Change-Id: I43d9c89610a9ed7a9f6825bd90334d7b343df52c
2012-03-07Fix a bug with successive manual picksJean Chalard2-1/+34
Bug: 6121571 Change-Id: Ib16fbef1087da3b7da5539901ec57156f242f089
2012-03-07Add readable unicode point namesTadashi G. Takaoka3-5/+15
Change-Id: I5689711429526a2bad409f235b6825a7ed4c7bc2
2012-03-07Remove a useless class (B4)Jean Chalard2-78/+0
\o/ Bug: 5975068 Change-Id: Ia18b55af6d555e7ee7af1cdd7c6227fc1ee6786b
2012-03-07Remove stuff that's not used any more (B3)Jean Chalard1-7/+0
Change-Id: Ie86675ff2facd37430051bf129ddd930fb933dc9
2012-03-07Use the simple auto-correction status (B2)Jean Chalard1-2/+2
Change-Id: I9d2f053b6f7bad20fc6afe5f5086a965e5014a5c
2012-03-07Remember auto-correction status simply (B1)Jean Chalard1-0/+3
This duplicates the functionality in ComposingStateManager at a fraction of the cost. It's not used yet. Change-Id: Ica2607fb2f7c41e11189fcb566e253db8f62596f
2012-03-07Add language switch key only to the phone layoutsTadashi G. Takaoka22-21/+206
Bug: 5759092 Change-Id: Ic7d7d4812976654c0e85fecabd1128eadfc52c5c
2012-03-06Make the keyboardswitcher and the subtypeswitcher final.Jean Chalard1-5/+8
Change-Id: Ifcc79357adcc53f93b190b6e98d5569f42f74655
2012-03-06Resolve a todoJean Chalard2-11/+17
This exports some voiceproxy complexity to voiceproxy rather than keeping it in latinime Change-Id: I0b3523e77af4104cc3ed28417956059c734c8bfe
2012-03-06Touch up the header formatJean Chalard1-22/+22
Change-Id: Id2a65e8b74228eba18bbaaf3794cd0e9b7cd470d
2012-03-06Add a variable-length header region to the binary format.Jean Chalard5-19/+50
Also bump up the format version to 2. Bug: 5686638 Change-Id: I3aafdd7e42c422202122998ec093280051aa8e07
2012-03-06Update the magic number in makedictJean Chalard1-16/+36
Update makedict to write the magic number to the format expected by LatinIME starting with I3aafdd7e Bug: 5686638 Change-Id: I78c6befc3347f689a8520b450d589eabefc413d6
2012-03-06Fix coordinates sent to native codesatok2-10/+16
Change-Id: I2c8b093b59ad36ffe860c3c4d360d87251d101c4
2012-03-06Make some debug aid functions to inlineTadashi G. Takaoka1-5/+4
Change-Id: I973f9d4a3989f3d2b797ad26f9d006c0f2c613b5
2012-03-06Integrate the logic to calculate the proximitiessatok10-86/+83
Bug: 4343280 Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76
2012-03-06Correct special space handling of punctuationJean Chalard4-5/+16
This fixes two defects: - One where some separators should promote a phantom space to a real space. This bug had a unit test but wasn't tracked. - One where French punctuations would behave incorrectly. Tracked Bug: 6113693 Change-Id: Ia7f86fc960e00141757632ab2c9bce9168dd6966
2012-03-06Fix a testJean Chalard1-0/+4
To some extent, the test was wrong here. After space is typed in this case, we wait a small delay before updating the suggestion strip so that we can display bigram predictions without introducing delays. The suggestion strip is not displayed until then. The test was bypassing this by simulating a press on the suggestion strip, but for LatinIME it was not displayed yet, hence the bug. The new code waits for the delay, makes sure the suggestion strip is actually displaying punctuation marks, then press the mark and do the intended test on space. Change-Id: I18f82da1bc0a8e584e9b1bac59ff48823d78ec12
2012-03-05Import translations. DO NOT MERGEEric Fischer49-68/+205
Change-Id: If76e0272d3a4b1ec294ce905accf7bd0280b96dd
2012-03-05Fix LatinIME's ProGuard config for support libs using flags copied from ↵alanv1-0/+6
Email app. Bug: 5829051 Change-Id: Ie1784d1ba1a4515ab492a06d7adc10c7d54a64c5
2012-03-05Make SuggestedWords immutable completelyTadashi G. Takaoka4-66/+88
Change-Id: I1b0f7b857e89307c987187c1969a2846aa97fdcc
2012-03-05Make SuggestedWords partially immutableTadashi G. Takaoka4-23/+17
Change-Id: I72a2f71d7f6565a30c06e563b0a64f496542cde9
2012-03-05Remove unused codesatok1-7/+0
Change-Id: I894c0850e803bdfc7b590a62ddd4076a3a4e4658
2012-03-05Revert "Make SuggestedWords immutable"Tadashi Takaoka5-50/+43
This reverts commit c208f4dfb7abe1b7a83c725d515edb3615d5d927
2012-03-05RefactoringJean Chalard1-4/+3
Change-Id: I2f92c01fa1ff6b318128d387f26942b5d47de3e0
2012-03-05Refactor to suppress null worningsatok1-27/+26
Change-Id: I4b4dc6f86d659491d8b9a74ed120092eab964345