aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge "Add helper methods to convert flags to readable text"Tadashi G. Takaoka2014-10-312-0/+39
|\ \ | |/ |/|
| * Add helper methods to convert flags to readable textTadashi G. Takaoka2014-10-312-0/+39
| | | | | | | | Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac
* | Merge "Remove Dict dependency on WordComposer and ProximityInfo"Jean Chalard2014-10-3110-78/+53
|\ \
| * | Remove Dict dependency on WordComposer and ProximityInfoJean Chalard2014-10-2910-78/+53
| | | | | | | | | | | | | | | Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
* | | Merge "Add documentation for CollectionUtils#arrayAsList"Ken Wakasa2014-10-311-1/+12
|\ \ \
| * | | Add documentation for CollectionUtils#arrayAsListDavid Faden2014-10-311-1/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This is a cherrypick of http://ag/576739) Also, modify the IllegalArgumentException to capture the values passed for start, end, and array.length to make debugging easier in the unlikely event that it is thrown. Add corresponding tests for the exceptions. Tested: tapas LatinImeGoogle LatinImeGoogleTests userdebug make -j30 && \ adb install -r \ out/target/product/generic/data/app/LatinImeGoogleTests/LatinImeGoogleTests.apk && \ adb install -r \ out/target/product/generic/system/app/LatinImeGoogle/LatinImeGoogle.apk && \ adb shell am instrument -w -e class \ com.android.inputmethod.latin.utils.CollectionUtilsTests \ com.google.android.inputmethod.latin.tests/android.support.test.runner.AndroidJUnitRunner Change-Id: I0c579ca4f4f2a9b2575aa6f8fa75e3ee4a21cf8a
* | | Update unit tests for new static dict version.Adrian Velicu2014-10-311-2/+4
| | | | | | | | | | | | | | | Bug: 11031090 Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
* | | Using "blacklist" flag as "possibly offensive"Adrian Velicu2014-10-312-4/+10
|/ / | | | | | | | | Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
* | Merge "Add a preference to resize the keyboard height."Andy Wang2014-10-306-0/+75
|\ \
| * | Add a preference to resize the keyboard height.Andy Wang2014-10-306-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | The keyboard height is controlled by a slider in the debug preferences. Without access to debug preferences, this change is a no-op. Bug: 6867494 Change-Id: I984064ed1cab752876615f5ed582818474d6041b
* | | Consolidate similar methodsTadashi G. Takaoka2014-10-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This CL consolidates similar methods in MainKeyboardView. - startWhileTypingFadeinAnimation and startWhileTypingFadeoutAnimation - showSlidingKeyInputPreview and dismissSlidingKeyInputPreview Change-Id: I607ab74683820de2456af3e75663cf8cf358ab38
* | | Merge "Remove DrawingHandler"Tadashi G. Takaoka2014-10-292-5/+7
|\ \ \
| * | | Remove DrawingHandlerTadashi G. Takaoka2014-10-292-5/+7
| | | | | | | | | | | | | | | | Change-Id: I658a5b16cca1e56f0b944009b8aef09e0a97a0db
* | | | Merge "[CS8] Add explanations"Jean Chalard2014-10-291-16/+28
|\ \ \ \ | |/ / / |/| | |