aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a misspelled method nameAdrian Velicu2014-12-022-2/+2
| | | | Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc
* Merge "Be always confident in the current language when only one"Jean Chalard2014-11-281-0/+3
|\
| * Be always confident in the current language when only oneJean Chalard2014-11-281-0/+3
| | | | | | | | Change-Id: I7ea289f7e78aa33562c7737e91024a25c02333b6
* | Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull"Tadashi G. Takaoka2014-11-289-78/+118
|\ \
| * | Make LocaleUtils.constructLocaleFromString as @NonnullTadashi G. Takaoka2014-11-219-78/+118
| | | | | | | | | | | | Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
* | | Remove unused import and local variableTadashi G. Takaoka2014-11-281-1/+0
| | | | | | | | | | | | Change-Id: I256d1c6bf96c07b10d2d063d7935e20e0ab8ea17
* | | Remove unnecessary code of CustomInputStylePreferenceTadashi G. Takaoka2014-11-271-20/+0
| |/ |/| | | | | Change-Id: I68d2c85139e01684d5f0705f621ba223fc5e4425
* | Merge "Remove unused code from DictionaryFactory"Tadashi G. Takaoka2014-11-273-53/+16
|\ \
| * | Remove unused code from DictionaryFactoryTadashi G. Takaoka2014-11-213-53/+16
| | | | | | | | | | | | Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
* | | Allow whitelist changes when no close wordJean Chalard2014-11-266-46/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When there isn't a close word in another language of the current multi-language set, we allow whitelist entries to take force even if we are not confident in the current language. Bug: 18063142 Bug: 18130489 Bug: 18132240 Bug: 18136721 Bug: 18200415 Change-Id: I044674ba7b70aa86ab2a48d2e4d53a1c8007b62c
* | | Use confidence to fix whitelistJean Chalard2014-11-262-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this the most obvious problem is fixed. However there are two remaining items : we should still enforce whitelist when there are no close candidates at all, and we should start in confident mode when pressing the globe key. Bug: 18063142 Bug: 18130489 Bug: 18132240 Bug: 18136721 Bug: 18200415 Change-Id: Ibc0571ae35fc28f8d13760aa86b25db1163d3e31
* | | Add confidence.Jean Chalard2014-11-251-11/+21
|/ / | | | | | | | | | | | | | | | | Bug: 18063142 Bug: 18130489 Bug: 18132240 Bug: 18136721 Bug: 18200415 Change-Id: Ica09d11cb95308dd014c4e4e0d99a30dd66bfea9
* | Remove unneeded Context argumentTadashi G. Takaoka2014-11-212-6/+5
| | | | | | | | Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
* | Annotate the typed word with its source dictionaryJean Chalard2014-11-202-21/+44
|/ | | | | | | | | | | | | ...when applicable of course. This will allow for informing the language switching authorities that the typed word was a specific language, instead of leaving them in the dark. Bug: 18063142 Bug: 18130489 Bug: 18132240 Bug: 18136721 Bug: 18200415 Change-Id: Ice3e7026a68c3018f54d730ec84f6762bf55899b
* Fix an NPE.Jean Chalard2014-11-201-2/+1
| | | | Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
* Merge "Fix a NPE"Jean Chalard2014-11-201-0/+6
|\
| * Fix a NPEJean Chalard2014-11-201-0/+6
| | | | | | | | | | Bug: 18451316 Change-Id: Ia20bf388471f84c963354df050182e722d966a02
* | Make the typed word a SuggestedWordInfoJean Chalard2014-11-204-49/+56
|/ | | | | | | | That allows to carry the language information in an accurate manner. Bug: 18063142 Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
* Merge "Fix oscillations on ICS"Jean Chalard2014-11-192-11/+33
|\
| * Fix oscillations on ICSJean Chalard2014-11-192-11/+33
| | | | | | | | | | Bug: 18181427 Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a
* | Merge "Remove the other deprecated constructor to SuggestedWords"Jean Chalard2014-11-194-22/+19
|\ \
| * | Remove the other deprecated constructor to SuggestedWordsJean Chalard2014-11-174-22/+19
| |/ | | | | | | Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4
* | Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting nullTadashi G. Takaoka2014-11-191-1/+2
| | | | | | | | Change-Id: Ic5cb55e24a2d843027ccc4e8e5d6954f9391c125
* | Rename a confusing method nameJean Chalard2014-11-181-10/+12
|/ | | | | | | ...and fix a bug that happened because of it. Bug: 18417740 Change-Id: I7a33780adcb8f4e2625abcd3eec906dfee1f5dcf
* More verbosity when reporting broken dictionariesAdrian Velicu2014-11-142-1/+7
| | | | | | Also added toString for AssetFileAddress for easier debugging. Change-Id: Ie5d15d12bae46c31b28d8c67002e627f4c6690e3
* Merge "UpdateHandler to support v202 dicts."Adrian Velicu2014-11-141-2/+2
|\
| * UpdateHandler to support v202 dicts.Adrian Velicu2014-11-121-2/+2
| | | | | | | | Change-Id: Ib61a5005a82927f5e12a19c9c14f20d46572cf31
* | Merge "Implement UserHistoryDictionary for each user account."Jatin Matani2014-11-142-11/+74
|\ \
| * | Implement UserHistoryDictionary for each user account.Jatin Matani2014-11-132-11/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UserHistoryDictionary currently uses locale to determine the UserHistoryDictionary on the filesystem. With this change we use the account name as well. Thus each UserHistoryDictionary would following the following spec: UserHistoryDictionary.<locale>.<account>.dict. In case no account is selected, we default to the existing spec: UserHistoryDictionary.<locale>.dict Example UserHistoryDictionary.en_US.testaccount@example.com.dict Bug: 18104749 Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37
* | | Move isRtlLanguage method to LocaleUtilsTadashi G. Takaoka2014-11-123-22/+3
| | | | | | | | | | | | Change-Id: I485a076b81927fed0da593216fea2c740449ef4c
* | | Merge "Add RichInputMethodSubtype.getKeyboardLayoutSetName"Tadashi G. Takaoka2014-11-132-4/+5
|\ \ \
| * | | Add RichInputMethodSubtype.getKeyboardLayoutSetNameTadashi G. Takaoka2014-11-122-4/+5
| | |/ | |/| | | | | | | Change-Id: I90cc74ee882e8aa2b243885d3b994223ca3b6f44
* / | Clean SubtypeLocaleUtils a bitTadashi G. Takaoka2014-11-122-7/+3
|/ / | | | | | | Change-Id: If8b981715983e3a12867c9b7c53bfa5effaddd39
* / Move logic to determine spacebar text to LanguageOnSpacebarHelperTadashi G. Takaoka2014-11-081-17/+5
|/ | | | Change-Id: Ib9dbbb4bd4e35c15fd752c364d3012e8a7da2410
* Merge "Move current subtype management code to RichInputMethodManager"Tadashi G. Takaoka2014-11-073-44/+46
|\
| * Move current subtype management code to RichInputMethodManagerTadashi G. Takaoka2014-11-063-44/+46
| | | | | | | | Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
* | Merge "Move util classes under common"Jean Chalard2014-11-0719-420/+16
|\ \
| * | Move util classes under commonJean Chalard2014-11-0719-420/+16
| | | | | | | | | | | | | | | | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* | | Merge "Remove a deprecated constructor to SuggestedWords"Jean Chalard2014-11-072-13/+7
|\ \ \ | |/ / |/| |
| * | Remove a deprecated constructor to SuggestedWordsJean Chalard2014-11-072-13/+7
| | | | | | | | | | | | Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc
* | | Merge "Move shorcut IME related code from SubtypeSwitcher to ↵Tadashi G. Takaoka2014-11-075-130/+117
|\ \ \ | | |/ | |/| | | | RichInputMethodManager"
| * | Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManagerTadashi G. Takaoka2014-11-065-130/+117
| |/ | | | | | | Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
* | Merge "Remove dicttool dependency to NativeSuggestOptions"Jean Chalard2014-11-072-75/+4
|\ \ | |/ |/|
| * Remove dicttool dependency to NativeSuggestOptionsJean Chalard2014-11-062-75/+4
| | | | | | | | | | Bug: 18108776 Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
* | Move some methods out from SubtypeSwitcherTadashi G. Takaoka2014-11-066-122/+168
|/ | | | Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
* Fix a bug where LatinIME would recorrect with no input viewJean Chalard2014-11-051-4/+5
| | | | | Bug: 18071127 Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
* Fix MainKeyboardView visibility must be aligned with main keyboard frameTadashi G. Takaoka2014-11-041-2/+2
| | | | | Bug: 18105755 Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792
* Small comment fixesKen Wakasa2014-11-021-3/+3
| | | | Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f
* Merge "Update v4 format version from 402 to 403."Keisuke Kuroyanagi2014-10-312-4/+6
|\
| * Update v4 format version from 402 to 403.Keisuke Kuroyanagi2014-10-312-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without personalization: Total words: 1134774, Success Num: 899230, Success Percentage: 79.243% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165% Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563% Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953% Before: Total words: 1134646, Success Num: 925194, Success Percentage: 81.540% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116% Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493% Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019% After Total words: 1134659, Success Num: 944746, Success Percentage: 83.263% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111% Failures, with auto-correction (F-C): 28016, F-C Percentage: 2.469% Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222% Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f