aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix NPE in AppearanceSettingsFragment•••Bug: 18147440 Change-Id: I7a7a47b3484e54146d34d11b5bd9c1305421d829 Tadashi G. Takaoka2014-10-282-9/+5
* Add null analysis annotation to CollectionUtils•••Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d Tadashi G. Takaoka2014-10-271-1/+0
* Fix: deleted PtNode handling in v403.•••If a word is once deleted, the word never gets into the personalized dictionaries due to this bug. Change-Id: Ife4e3fe1ba0615b4135e6291d2151b0db7d3f940 Keisuke Kuroyanagi2014-10-271-1/+6
* Merge "Add tests for type through recorrection"Jean Chalard2014-10-242-31/+95
|\
| * Add tests for type through recorrection•••Also introduce some helper methods Change-Id: I0f99733a4b7f0318b2b07217b614c19ea98859fc Jean Chalard2014-10-222-31/+95
* | Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-2346-46/+58
* | Remove unused import and method•••Bug: 18003991 Change-Id: Id6b67bf66b397301e5186826dba2b60df9cb4c65 Tadashi G. Takaoka2014-10-232-2/+0
* | Use trigrams for personalization dict.•••5Bug: 14425059 Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02 Keisuke Kuroyanagi2014-10-233-61/+67
* | Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-235-12/+7
* | Merge "Enable preliminary subtypes for F-release"Tadashi G. Takaoka2014-10-239-18/+18
|\ \
| * | Enable preliminary subtypes for F-release•••Bug: 17743363 Change-Id: I098ae6e21a7f2a1ceed1d206740a2d12e1ef7d99 Tadashi G. Takaoka2014-10-229-18/+18
| |/
* / Add latinime-common local lib•••This is just a placeholder in this CL. It will be shared by LatinIME, dicttool, and tests. Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023 Ken Wakasa2014-10-226-105/+5
|/
* Merge "Support ngram entry migration."Keisuke Kuroyanagi2014-10-221-0/+15
|\
| * Support ngram entry migration.•••Bug: 14425059 Change-Id: I98cb9fa303af2d93a0a3512e8732231c564e3c5d Keisuke Kuroyanagi2014-10-221-0/+15
* | Remove BuildCompatUtils.VERSION_CODES_LXX•••Finally it is turned out to be a XXL-size Lollipop. Change-Id: Icbd22506be9de514eba287cdd8d97fbfd070ac09 Yohei Yukawa2014-10-221-8/+8
* | Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-2129-178/+171
|/
* Renaming "blacklist" flag to "possibly offensive"•••No behaviour changes. Unified the overloaded FusionDictionary::add method to always take an isPossiblyOffensive argument. Bug: 11031090 Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78 Adrian Velicu2014-10-2110-78/+74
* Change entry count limit.•••Unigram 10K, Bigram 30K, Trigram 30K. Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a Keisuke Kuroyanagi2014-10-202-15/+55
* Fix missing Telugu letters•••This CL adds missing the following Telugu letters - U+0C4A: TELUGU VOWEL SIGN O - U+0C1E: TELUGU LETTER NYA And also reorganizes some letter reasonably. Bug: 10028759 Change-Id: If7fd3854ffab8484dbe6ced0ff2ed52be838e44d Tadashi G. Takaoka2014-10-171-10/+13
* Merge "Update useless n-gram entry detection logic during GC."Keisuke Kuroyanagi2014-10-151-1/+60
|\
| * Update useless n-gram entry detection logic during GC.•••Bug: 14425059 Change-Id: Ib939deae5b60167751dee07965bb1ef1a43c4625 Keisuke Kuroyanagi2014-10-151-1/+60
* | Add the first gesture unit tests.•••At last I found a simple way to do it ! Bug: 8845843 Change-Id: I4dd3bf987b58e29a44cf0d7389d294657a33abe1 Jean Chalard2014-10-157-32/+98
* | Move sync policy related code out of account settings•••Bug: 17981687 Bug: 17464069 Change-Id: I0ae3400564fd346cc84af74dfef65f01cc1ce6a8 Sandeep Siddhartha2014-10-141-70/+0
* | Merge "Remove shouldBlockAutoCorrectionBySafetyNet"Keisuke Kuroyanagi2014-10-141-99/+0
|\ \ | |/ |/|
| * Remove shouldBlockAutoCorrectionBySafetyNet•••Bug: 13756409 [Category diff] +1 27 -1 0 +2 0 -2 0 +3 0 -3 1 +4 11 -4 0 +5 51 -5 0 +6 0 -6 38 +7 0 -7 50 [Weighted category diff] +1 28 -1 0 +2 0 -2 0 +3 0 -3 1 +4 11 -4 0 +5 51 -5 0 +6 0 -6 39 +7 0 -7 50 show diff for ./en_user_log_phones_2011_08.csv +1 4 +4 5 +5 7 -6 9 -7 7 The increase of false positives comes from the spaceless typing test cases that are synthetic data. Change-Id: I4ea77aa56ebfaa5518c71107169e1d2332de6327 Keisuke Kuroyanagi2014-10-141-99/+0
* | Cleanup LoginAccountUtils•••Bug: 17464068 Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c Sandeep Siddhartha2014-10-131-5/+8
* | Set up a sync preference and policy for syncing [2]•••- Adds a preference for enabling sync, which controls the sync behavior - Make the ProductionFlags depend on appropriate flags to guarantee that we don't mess things when flipping some flags - Preferences now control the "syncable" property of the provider thereby controlling the policy and when this entry shows up in system settings. Bug: 17464069 Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427 Sandeep Siddhartha2014-10-101-0/+67
* | Don't restore device specific preferences•••There are two categories of preferences: 1. That are part of the default shared preference They were all getting backed up and restored. Added a blacklist to not restore some of these. e.g. current account 2. That are in a non-default shared preference file. These are not getting backed up currently, but added a specific local preference file for all such preferences. Bug: 17288591 Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8 Sandeep Siddhartha2014-10-101-5/+6
* | Fixing keyboard theme selection•••Bug: 17937287 Change-Id: I476045980843c5897820cd544daea06fa991acb5 Tadashi G. Takaoka2014-10-101-0/+26
* | Merge "Changes related Sync Engine library that communicates to cloud server"Jatin Matani2014-10-092-44/+47
|\ \
| * | Changes related Sync Engine library that communicates to cloud server•••This change updates some of the code that the library uses to communicate with the cloud server Specifically : - Update BlockingHttpClient to use template ResponseProcessor - Update HttpUrlConnectionBuilder to setAuthToken for HttpUrlConnection Bug: 17464069 Bug: 17464805 Change-Id: I7d7b58dff594b920162f799d102e8582ff9fe6a4 Jatin Matani2014-10-092-44/+47
| |/
* | Always show the typed word in recorrections.•••Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179 Jean Chalard2014-10-091-37/+8
* | [ML19] Actually switch the language when appropriate•••That is, when auto-correcting or when manually picking. This is not great, but it's a good starting point. Bug: 11230254 Change-Id: I07627f48e2de1c28053d6572c7c72625808ec79c Jean Chalard2014-10-091-1/+7
|/
* [ML16] Remove DictionaryFacilitator.getLocale()•••Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9 Jean Chalard2014-10-071-3/+3
* Merge "Postponing memory deallocation after onFinishInputView"Adrian Velicu2014-10-062-0/+52
|\
| * Postponing memory deallocation after onFinishInputView•••Bug: 17559789 Change-Id: I1d4b1524028164d27ec4eadd3960b567148f2b84 Adrian Velicu2014-10-062-0/+52
* | Merge "Add a utility method to SuggestionSpanUtils"Yohei Yukawa2014-10-061-0/+26
|\ \
| * | Add a utility method to SuggestionSpanUtils•••This is a ground work for subsequent CLs. BUG: 16995261 Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904 Yohei Yukawa2014-10-061-0/+26
* | | Remove preliminary subtypes from E-MR1 release•••Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have been unexpectedly @suppressed. Bug: 17743363 Change-Id: I4076a61adbf2d4aee58417d0c354b8ef4a938668 Tadashi G. Takaoka2014-10-0611-42/+73
* | | Merge "[ML14] Forward the locale list to relevant places, again"Jean Chalard2014-10-064-20/+37
|\ \ \
| * | | [ML14] Forward the locale list to relevant places, again•••Diff: +++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java @@ -735,7 +735,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> { private boolean matchLocaleCodes(TypedArray caseAttr, final Locale[] locales) { // TODO: adujst this for multilingual input - return matchString(caseAttr, R.styleable.Keyboard_Case_languageCode, locales[0].toString()); + return matchString(caseAttr, R.styleable.Keyboard_Case_localeCode, locales[0].toString()); } private boolean matchLanguageCodes(TypedArray caseAttr, Locale[] locales) { Change-Id: Icefac18dd6d5fea97f591177cf8df1ba6de7f4f0 Jean Chalard2014-10-064-20/+37
* | | | Merge "Revert "Remove preliminary subtypes from E-MR1 release""Ken Wakasa2014-10-068-16/+16
|\ \ \ \ | |_|_|/ |/| | |
| * | | Revert "Remove preliminary subtypes from E-MR1 release"•••This reverts commit 704db5f003eabaee8dcd80838e563865083b73a9. Bug: 17743363 Reverting due to unit test breakage.. Change-Id: Ie7c1e86e50af2a05b4b7877092122dc4f026aa54 Ken Wakasa2014-10-068-16/+16
* | | | Merge "Make sure to suppress BoS prediction until input twice."Keisuke Kuroyanagi2014-10-061-1/+4
|\ \ \ \
| * | | | Make sure to suppress BoS prediction until input twice.•••Change-Id: I98d91f264d5d1d3f5bcda1fd9ec885779ba2f746 Keisuke Kuroyanagi2014-10-061-1/+4
* | | | | Merge "Remove preliminary subtypes from E-MR1 release"Tadashi G. Takaoka2014-10-068-16/+16
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | / Remove preliminary subtypes from E-MR1 release•••Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have been unexpectedly @suppressed. Bug: 17743363 Change-Id: I5f4b6fd8cbb8fa4e31df9ac602847c681655fd02Tadashi G. Takaoka2014-10-068-16/+16
| | |/ | |/|
* / | Fix: BoS prediction is shown after inputting just once.•••Change-Id: Ibba209f47cb5b1a4b08281689d607711b8dcfad4 Keisuke Kuroyanagi2014-10-061-0/+3
|/ /
* | Merge "Add unittest for SuggestionSpanUtils"Yohei Yukawa2014-10-061-0/+181
|\ \
| * | Add unittest for SuggestionSpanUtils•••This adds unittest for SuggestionSpanUtils for subsequent CLs. No behavior change is intended in this CL. BUG: 16995261 Change-Id: I90d1591cab893a1421ca633963b7c8f00a5fe4b4 Yohei Yukawa2014-10-061-0/+181
| |/