aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/LooperCompatUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-12-16Passing account info to dictionaryFacilitator•••Attempt to use dictionary facilitor without invoking preference manager. Instead use account from settings only when things are being reset/changed. Discussion forked from ag/591663 Overall, the idea here is to maintain an account information inside dictionary groups. Reset the dictionary groups if account changes (the way we do for locale). Since only user history dictionary is currently affected, the check to reset user history dictionary also includes the check to verify the account. For other things remain the same. SettingsValues holds the current account (and is updated if prefs change due to change in account settings). The updated settings are then propagated to dictionary facilitator via LatinIME#loadSettings. Bug:18104749,18469539 Change-Id: I553e776e7ea125d0fb7a1fe70a4c7eb0b2277fb8 Jatin Matani14-116/+190
2014-12-15Import translations. DO NOT MERGE•••Change-Id: I2f30e1c0c9956747c80906e31bfb2ddd9bda9587 Auto-generated-cl: translation import Geoff Mendal73-0/+540
2014-12-15Remove needless include.•••Bug: 18725954 Change-Id: I3c823fda1b7daf41d82b118d9495f5f2356a1a5e Keisuke Kuroyanagi1-1/+0
2014-12-15Add missing error check in TrieMap.•••Bug: 18725954 Change-Id: I8fcb0d15dda3f823a4575fe707bcdec57ff5e89b Keisuke Kuroyanagi1-0/+6
2014-12-15Remove dependency on jni.h from WordProperty.•••Bug: 18725954 Change-Id: Ic97d3a56b036ff042322c9f794504064046fd7d7 Keisuke Kuroyanagi6-121/+101
2014-12-11Disable multiple language input•••Bug: 18705799 Change-Id: I73730ccf59e2697acfb3fe436c01b94c40307f2f Jean Chalard1-3/+1
2014-12-11Make LanguageOnSpacebarHelper as utility class•••Change-Id: I546f3b1943999a41803222bd14f9ddd23aa87a51 Tadashi G. Takaoka5-53/+49
2014-12-11Add NetworkConnectivityUtils class•••Change-Id: I7bd71f1d4ef0fc0fe21ddfd9f3e11463f53ac4e7 Tadashi G. Takaoka4-33/+121
2014-12-10Import translations. DO NOT MERGE•••Change-Id: I5f13df7f8a2052eec3fec476e0ff4799700ead5d Auto-generated-cl: translation import Geoff Mendal2-2/+2
2014-12-10Import translations. DO NOT MERGE•••Change-Id: I20a64560aae11adc1f83c65d04a8904a7ddd72e1 Auto-generated-cl: translation import Geoff Mendal2-15/+15
2014-12-10Import translations. DO NOT MERGE•••Change-Id: I06b39554ebf48a8082729ba74b9171bedd83cd5a Auto-generated-cl: translation import Geoff Mendal1-1/+1
2014-12-10Import translations. DO NOT MERGE•••Change-Id: If4395624b57330bb22be0d00e17b0fb44bfc271a Auto-generated-cl: translation import Geoff Mendal2-38/+38
2014-12-10Import translations. DO NOT MERGE•••Change-Id: I0e97e34676f52202305373738d3871bc46f31eec Auto-generated-cl: translation import Geoff Mendal2-32/+32
2014-12-09Provide a preference to delete data from cloud.•••For now, it is a debug preference, but we may make this a proper user setting in the future. Thus note that the messaging is not final. Pref looks like : 1. https://screenshot.googleplex.com/OLxW0myWD9.png 2. https://screenshot.googleplex.com/YeqWYXGstw.png Bug: 18106936 Change-Id: I88bbc1a2ee0c23a48ff3972a91d57c218b10bb65 Jatin Matani4-2/+57
2014-12-09Quit auto-correct explicit accented letters to base letters.•••Bug: 7677193 Change-Id: I66eddbf27a9db8682c0347a1be19922792a3bea7 Keisuke Kuroyanagi7-8/+39
2014-12-09Revert "Add keyboard margin options to place the keyboard dynamically."•••This reverts commit 8584db1461d286f8eb966c40eb0bc76e8c9df76a. Bug: 18675223 Bug: 18675476 Change-Id: I4e25d87ac261c44b1943df832115f8cca690103a Tadashi G. Takaoka14-143/+29
2014-12-08Rename variable name to remove ambiguity•••Change-Id: If95c34c9eab09cbc941bef5ee3d34b9048bf3bf9 Jatin Matani1-3/+3
2014-12-09Remove unnecessary cast and import•••Change-Id: I9bcd6c9c48ad51aa0f95937869eb6757e4dd4511 Tadashi G. Takaoka1-3/+1
2014-12-08Import translations. DO NOT MERGE•••Change-Id: I9e432c23844da1ba6a745db16db6c27a9133cf20 Auto-generated-cl: translation import Geoff Mendal2-2/+2
2014-12-08Import translations. DO NOT MERGE•••Change-Id: Ibdf218d10fa731a075557225ad5238d369468850 Auto-generated-cl: translation import Geoff Mendal4-19/+19
2014-12-08Import translations. DO NOT MERGE•••Change-Id: I404dfae96be21a461336e281471cdcd586bed59c Auto-generated-cl: translation import Geoff Mendal1-1/+1
2014-12-08Import translations. DO NOT MERGE•••Change-Id: I8eb628866c7e2e229454b6704376e4564365eae3 Auto-generated-cl: translation import Geoff Mendal4-41/+41
2014-12-08Import translations. DO NOT MERGE•••Change-Id: Iff7a78dd511dfe6b4eae2fbf13eced968fb80d80 Auto-generated-cl: translation import Geoff Mendal2-32/+32
2014-12-05Add keyboard margin options to place the keyboard dynamically.•••Keyboard location and location can now be set in the debug options section. Change-Id: I87c5a1d679489e12dccf26632c399af28087629e Andy Wang14-29/+145
2014-12-03Import translations. DO NOT MERGE•••Change-Id: I7d62a0ae1381400f738f3c412099b7cc6b29b235 Auto-generated-cl: translation import Geoff Mendal2-2/+2
2014-12-03Import translations. DO NOT MERGE•••Change-Id: I89edde7e6211e021080f483bdb29ba2bc4a45569 Auto-generated-cl: translation import Geoff Mendal3-17/+17
2014-12-03Import translations. DO NOT MERGE•••Change-Id: I34449c93e9983c00f27a05bac7aaa63fd884aadf Auto-generated-cl: translation import Geoff Mendal1-1/+1
2014-12-03Import translations. DO NOT MERGE•••Change-Id: I095f173fadbd9d950f4e88b4df8e8c373bcbd2f1 Auto-generated-cl: translation import Geoff Mendal3-39/+39
2014-12-03Import translations. DO NOT MERGE•••Change-Id: If617d908d39c28f08a9da6b56fcaa848b0bb097e Auto-generated-cl: translation import Geoff Mendal2-32/+32
2014-12-02Cancel interval alarm for dictionary decaying in onDestroy.•••Bug: 18528171 Change-Id: I6e12c006bd9eff15f3fa9cfd335bdd9fa081be61 Keisuke Kuroyanagi3-8/+32
2014-12-02Stop passing through keyPrefs as it's already available.•••Change-Id: I43a56beba0cf0fdf5f93c5c764edbd279ee033b2 Andy Wang3-6/+5
2014-12-02Fix a misspelled method name•••Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc Adrian Velicu3-3/+3
2014-12-01Import translations. DO NOT MERGE•••Change-Id: I18ee0107ad0292a8b19bbda3fe875b6d1757d6b4 Auto-generated-cl: translation import Geoff Mendal1-1/+1
2014-12-01Fix comment•••Change-Id: Ia07839c1a01b4d2a82a49017410637266ea1eb96 Tadashi G. Takaoka2-2/+2
2014-12-01Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher•••Change-Id: I5661a7926cf5a404788516c542b25cc0707bb417 Tadashi G. Takaoka4-40/+34
2014-11-28Be always confident in the current language when only one•••Change-Id: I7ea289f7e78aa33562c7737e91024a25c02333b6 Jean Chalard1-0/+3
2014-11-28Fix comment•••Change-Id: Ic0db304f213c9f4fdcea263a91d14ad62b98eb70 Tadashi G. Takaoka1-1/+1
2014-11-28Remove unused import and local variable•••Change-Id: I256d1c6bf96c07b10d2d063d7935e20e0ab8ea17 Tadashi G. Takaoka4-6/+0
2014-11-27Remove unnecessary code of CustomInputStylePreference•••Change-Id: I68d2c85139e01684d5f0705f621ba223fc5e4425 Tadashi G. Takaoka1-20/+0
2014-11-27Fix crash while settings custom input style•••Bug: 18515346 Change-Id: I3a893333762233cd6c8716755793f6ffaf22bb9a Tadashi G. Takaoka3-4/+60
2014-11-27Fix settings keys on tablet•••Bug: 18531491 Change-Id: Id374932b71674177abddd6d249ba6e712cbb5d25 Tadashi G. Takaoka3-13/+3
2014-11-27Refactor KeysCache to UniqueKeysCache•••Change-Id: I8e3c4705c705a1c6e05e9112211d7012912d7e41 Tadashi G. Takaoka6-92/+99
2014-11-27Add null analysis annotations to keyboard package•••Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8 Tadashi G. Takaoka17-100/+219
2014-11-26Hook for fetching sync content from UserHistoryDict•••Add API to ExpandableBinaryDictionary to dump content from a given dictionary. We use this for dumping data for sync process. Refactored UserHistoryDictionaryTests to scrap out the util methods for testing. These utility methods would be used for testing sync + user dictionary code in LatinIMEGoogleTests Bug:18106539 Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b Jatin Matani4-107/+213
2014-11-26Import translations. DO NOT MERGE•••Change-Id: I6edc9f4285ac08e1d97360a0b6d489c5f809c363 Auto-generated-cl: translation import Geoff Mendal1-1/+1
2014-11-26Allow whitelist changes when no close word•••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 Jean Chalard7-46/+108
2014-11-26Use confidence to fix whitelist•••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 Jean Chalard2-4/+29
2014-11-26Remove obsolete comment•••Change-Id: I9e606fd573a60d12482b12e0e9adaecd552f66a7 Tadashi G. Takaoka1-1/+0
2014-11-25Enable Quadgram for personalized dicts.•••Before: Total words: 1134659, Success Num: 944709, Success Percentage: 83.259% 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): 28013, F-C Percentage: 2.469% Max Keystrokes: 6072844, Min Keystrokes: 3347332, Keystroke Saving Percentage:44.880% After: Total words: 1134665, Success Num: 945026, Success Percentage: 83.287% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1271, Bad Failure Percentage: 0.112% Failures, with auto-correction (F-C): 27756, F-C Percentage: 2.446% Max Keystrokes: 6072850, Min Keystrokes: 3290996, Keystroke Saving Percentage:45.808% Change-Id: I16af52a3e9c371b95fd6f0741f45ee6b2443bea6 Keisuke Kuroyanagi7-10/+13
2014-11-25Use enum to specify ngram type.•••Change-Id: Ie28768ceadcd7a2d940c57eb30be7d4c364e509f Keisuke Kuroyanagi14-251/+218