aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Move language on spacebar parameters to LatinKeyboardView attributesTadashi G. Takaoka2012-03-132-26/+27
|/ | | | Change-Id: I06e5d7d158a9b14b00df34e68b12cd012faf17d1
* Merge "Use Animator to draw language name on spacebar"Tadashi G. Takaoka2012-03-123-71/+49
|\
| * Use Animator to draw language name on spacebarTadashi G. Takaoka2012-03-133-71/+49
| | | | | | | | | | | | | | Note that Animator class exists in framework only on Honeycomb or later. Change-Id: Ie3392dbf8acc1547ebb2d16e04086c911d961aed
* | Kill methods with side-effects, take 2Jean Chalard2012-03-132-20/+16
| | | | | | | | | | | | ...working this time Change-Id: I80e377e6250d3817f1e067a551bca2a557740764
* | Revert "Kill methods with side-effects"Jean Chalard2012-03-122-14/+18
| | | | | | This reverts commit ca0e04868891c461a3e6f30bf15d209d622c8349
* | Kill methods with side-effectsJean Chalard2012-03-122-18/+14
|/ | | | Change-Id: I42baeec68eb2540e7d8f8538ae2dceeef5594391
* Merge "Consolidate words into SuggestedWordInfo"Jean Chalard2012-03-122-34/+37
|\
| * Consolidate words into SuggestedWordInfoJean Chalard2012-03-122-34/+37
| | | | | | | | | | | | | | | | | | | | 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
* | Merge "Support disableAdditionalMoreKeys and disableKeyLabelHint"Tadashi G. Takaoka2012-03-122-6/+38
|\ \ | |/ |/|
| * Support disableAdditionalMoreKeys and disableKeyLabelHintTadashi G. Takaoka2012-03-122-6/+38
| | | | | | | | Change-Id: Idfa586417acd4a223380d52f044e3a86eb780b21
* | Merge "Fix an OOB"Jean Chalard2012-03-121-1/+1
|\ \ | |/ |/|
| * Fix an OOBJean Chalard2012-03-121-1/+1
| | | | | | | | | | | | | | | | | | The combination of I6b0262fe which removes the internal size() > 1 test in the safety net calculation and I642a5893 which assumed DBG means there is at least one suggestion. This change writes the test correctly. Change-Id: Ib63bce4e163a785f408dd145c23d64cd58fa8c90
* | Merge "Rename keyboard XML files"Tadashi G. Takaoka2012-03-121-0/+2
|\ \ | |/ |/|
| * Rename keyboard XML filesTadashi G. Takaoka2012-03-121-0/+2
| | | | | | | | | | | | | | | | | | * Slavic to East Slavic * Serbian to South Slavic * Scandinavian to Nordic Bug: 6150183 Change-Id: I8f5641aa07b83cbb225f5fd73e351a6f8abe0784
* | Merge "Make a method accessible for tests"Jean Chalard2012-03-121-1/+2
|\ \
| * | Make a method accessible for testsJean Chalard2012-03-121-1/+2
| |/ | | | | | | | | | | | | | | Tests are using a wrapper method that's going to disappear soon. The method that becomes package-visible now is destined to be removed too a little later. Change-Id: If99b1c77ed52e050b47216cc7afab5f35c4bbb38
* / Make a method staticJean Chalard2012-03-122-4/+10
|/ | | | Change-Id: Ie1d460562d38105abe91ae2da17cafd49e2cd394
* Fix an obvious bug in handleLanguageSwitchKey()Ken Wakasa2012-03-111-1/+1
| | | | | | bug: 5759092 Change-Id: I8c7b2ef024cbab399d96f6b3ec553da4e9d2fb18
* Entirely remove safety net memory.Jean Chalard2012-03-091-8/+4
| | | | | | | mHasAutoCorrectionCandidate now includes the fact that this did not get caught by the safety net. This is more intuitive. Change-Id: I6502bbf1ca64a0a6d64f55d723305cf78352a656
* Make the safety net memory privateJean Chalard2012-03-092-4/+4
| | | | Change-Id: I10959d47c980d2e8f2ea995955acf02193e3ff7b
* Recompute safety net in debug cases instead of memorizingJean Chalard2012-03-091-1/+5
| | | | Change-Id: I67f3a31db081afa4871ec441dd461c56e098c668
* Make access to the safety net calculation easierJean Chalard2012-03-091-10/+7
| | | | Change-Id: If33897b38af94ae81b05e5ef140a542724b9f34a
* Extract a condition from a methodJean Chalard2012-03-091-11/+4
| | | | Change-Id: I6b0262fe7cb3f7a31cc19d724c301467be932640
* Remove a useless argumentJean Chalard2012-03-091-2/+2
| | | | Change-Id: I713433a3225193489fad5bdafcf302b529903116
* Remove a useless escapeJean Chalard2012-03-092-7/+4
| | | | Change-Id: I1ef0685cc9888c9cef9f60015d32b66dde75ef9b
* Remove a useless testJean Chalard2012-03-091-3/+0
| | | | | | If we are not composing a word here, we have already returned Change-Id: I63281abace777e3658286d4df6781d2cd5a29c33
* Don't use an intermediate object with a different meaningJean Chalard2012-03-091-3/+4
| | | | Change-Id: Ie89916b49c852a51385ffd61cb596a58f23a46a0
* Move some auto-correction logic to where it belongsJean Chalard2012-03-092-17/+20
| | | | Change-Id: I897c5ec3a630a4a6bfc593906df4d3fc7b244482
* 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