aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove BuildCompatUtils.VERSION_CODES_LXX"Yohei Yukawa2014-10-226-15/+10
|\
| * Remove BuildCompatUtils.VERSION_CODES_LXXYohei Yukawa2014-10-226-15/+10
| | | | | | | | | | | | Finally it is turned out to be a XXL-size Lollipop. Change-Id: Icbd22506be9de514eba287cdd8d97fbfd070ac09
* | Add @Override for a method that is overriding a new L APIYohei Yukawa2014-10-221-2/+3
|/ | | | | | | Now all the downstream builds have switched to API Level 21. Hence putting @Override to new APIs no longer makes javac unhappy. Change-Id: Ib3324a5d06b17d298beacab8c8802bb14e5be968
* Merge "Fix some compiler warnings"Tadashi G. Takaoka2014-10-2179-716/+721
|\
| * Fix some compiler warningsTadashi G. Takaoka2014-10-2179-716/+721
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "FIx potential NPE"Tadashi G. Takaoka2014-10-211-2/+2
|\ \ | |/ |/|
| * FIx potential NPETadashi G. Takaoka2014-10-211-2/+2
| | | | | | | | | | Bug: 18052047 Change-Id: I9097d0a504b8a1d875cf66e44bb65eb6ecc8908e
* | Renaming "blacklist" flag to "possibly offensive"Adrian Velicu2014-10-219-27/+31
|/ | | | | | | | | No behaviour changes. Unified the overloaded FusionDictionary::add method to always take an isPossiblyOffensive argument. Bug: 11031090 Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
* Refactor CustomInputStyleSettingsFragmentTadashi G. Takaoka2014-10-202-387/+420
| | | | | Bug: 18003991 Change-Id: Ib005dd394faf546e4faed89ff2018ce49858a06e
* Change entry count limit.Keisuke Kuroyanagi2014-10-202-9/+3
| | | | | | Unigram 10K, Bigram 30K, Trigram 30K. Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
* fix buildNick Kralevich2014-10-181-1/+1
| | | | Change-Id: Iedbf01e1c6191350aed8d31c2638b2430e67a36f
* fix buildNick Kralevich2014-10-181-1/+1
| | | | Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894
* Merge "Enforce a length limit to auto-correction for some languages"Jean Chalard2014-10-171-2/+58
|\
| * Enforce a length limit to auto-correction for some languagesJean Chalard2014-10-171-2/+58
| | | | | | | | | | Bug: 15379262 Change-Id: I27fad12f468b5bc6ad1a0876aac72e5f5ca5760a
* | Bring back long press timeout settingsTadashi G. Takaoka2014-10-175-45/+43
|/ | | | | Bug: 18025209 Change-Id: Id8dbb051e04270f6892cae12a443103bd0d32dcb
* Merge "[ML27.1] Allow adding additional features to other settings"Jean Chalard2014-10-162-0/+2
|\
| * [ML27.1] Allow adding additional features to other settingsJean Chalard2014-10-162-0/+2
| | | | | | | | | | | | | | | | | | We may want to add additional features from some of the other screens. Bug: 11230254 Bug: 17966252 Change-Id: I1bb877e5cbdd74f2ffa8010b5bc6af35fe77279a
* | [ML29] Reinitialize the subtype at input startJean Chalard2014-10-162-1/+6
|/ | | | | | Bug: 11230254 Bug: 17994347 Change-Id: I3476909c4b371d6e94a0d4c35d91e109d639b8d5
* [ML25] Add an hasDict method.Jean Chalard2014-10-162-3/+24
| | | | | | | | | We used to have separate methods for existence of dicts according to whether it's a file or a resource. This unifies both. Bug: 11230254 Bug: 17979623 Change-Id: I728773461f3465f756d06297c3f3bee34390c3e6
* am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug ↵Jean Chalard2014-10-152-4/+7
|\ | | | | | | | | | | | | with no suggestions flag * commit '8435acd789bd4f9c1322a73b9e0567c2dee7b336': Fix a bug with no suggestions flag
| * Fix a bug with no suggestions flagJean Chalard2014-10-152-4/+7
| | | | | | | | | | | | | | | | We should reset the composition state when moving the cursor inside the word after a gesture when the text field specifies no suggestions. Bug: 17959921 Change-Id: I977fea775f7b7e145e343636f0fb94266a40953a
| * (DO NOT MERGE) Fix checking a11y status just before calling an a11y methodTadashi G. Takaoka2014-10-144-9/+15
| | | | | | | | | | | | Cherry picked from Master, commit 04cd8794e04b14c2b7e7eed036b83075792134a1 Bug: 17035860 Change-Id: I9627d525a570ced085281b4db93fe6896081e818
* | Move sync policy related code out of account settingsSandeep Siddhartha2014-10-141-45/+10
| | | | | | | | | | | | Bug: 17981687 Bug: 17464069 Change-Id: I0ae3400564fd346cc84af74dfef65f01cc1ce6a8
* | Merge "Add JSR305 annotation to LeakGuardHandlerWrapper"Tadashi G. Takaoka2014-10-146-11/+20
|\ \
| * | Add JSR305 annotation to LeakGuardHandlerWrapperTadashi G. Takaoka2014-10-146-11/+20
| | | | | | | | | | | | Change-Id: I7456200af739db4510c5549b7bc894fb48749455
* | | Merge "[ML24] Add facilities to read the script of a subtype"Jean Chalard2014-10-143-21/+72
|\ \ \
| * | | [ML24] Add facilities to read the script of a subtypeJean Chalard2014-10-143-21/+72
| |/ / | | | | | | | | | | | | | | | | | | | | | ...or more exactly, the script of the keyboard layout set associated with a given subtype. Bug: 11230254 Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
* | | Merge "Remove shouldBlockAutoCorrectionBySafetyNet"Keisuke Kuroyanagi2014-10-143-54/+1
|\ \ \ | |/ / |/| |
| * | Remove shouldBlockAutoCorrectionBySafetyNetKeisuke Kuroyanagi2014-10-143-54/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Performance fix for multiple language subtypes"Ken Wakasa2014-10-143-16/+19
|\ \ \
| * | | Performance fix for multiple language subtypesJean Chalard2014-10-143-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code would iterate all enabled subtypes each time getCurrentSubtype() is called, which is really quite frequent. Bug: 11230254 Change-Id: I91feb36de6eca84967e848fc585aae04b350be89
* | | | Merge "Fix an NPE."Jean Chalard2014-10-141-1/+2
|\ \ \ \
| * | | | Fix an NPE.Jean Chalard2014-10-141-1/+2
| |/ / / | | | | | | | | | | | | | | | | Bug: 17958289 Change-Id: I5c9ea668ff75b38c7ddebd767c36a950835c0c9f
* | | | Merge "Don't restore debug preferences"Sandeep Siddhartha2014-10-143-12/+35
|\ \ \ \ | |/ / / |/| | |
| * | | Don't restore debug preferencesSandeep Siddhartha2014-10-133-12/+35
| | | | | | | | | | | | | | | | | | | | Bug: 17942814 Change-Id: I0bbef716dff47ed8eb880209d448629ad853b904
* | | | Cleanup LoginAccountUtilsSandeep Siddhartha2014-10-131-10/+16
|/ / / | | | | | | | | | | | | Bug: 17464068 Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c
* | | Set up a sync preference and policy for syncing [2]Sandeep Siddhartha2014-10-103-68/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Don't restore device specific preferencesSandeep Siddhartha2014-10-106-30/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Fixing keyboard theme selection"Tadashi G. Takaoka2014-10-101-8/+10
|\ \ \
| * | | Fixing keyboard theme selectionTadashi G. Takaoka2014-10-101-8/+10
| | | | | | | | | | | | | | | | | | | | Bug: 17937287 Change-Id: I476045980843c5897820cd544daea06fa991acb5
* | | | [ML23] Introduce a different accuracy/performance tradeoffJean Chalard2014-10-102-1/+9
|/ / / | | | | | | | | | | | | Bug: 11230254 Change-Id: Ic09518c818ae7b68942b1c63160dd462e5922cb5
* | | [ML22] Improve the language on spacebar for SLSJean Chalard2014-10-101-2/+10
| | | | | | | | | | | | | | | Bug: 11230254 Change-Id: Ib54be1a2a77b6e80cdff1af89a7b4203ea859716
* | | Merge "Make SuggestionWordInfo non-final for testabilty"Jatin Matani2014-10-101-1/+2
|\ \ \
| * | | Make SuggestionWordInfo non-final for testabiltyJatin Matani2014-10-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Needed for ag/563043 Bug:17731683 Change-Id: I4d19e512a311547204f7e8d7885fc886757a18b7
* | | | Remove UsedForTesting tags from BlockingHttpClientSandeep Siddhartha2014-10-091-16/+11
| | | | | | | | | | | | | | | | | | | | Bug: 17464069 Change-Id: I45aa6da0e339ffb56de613c2a0a43fe37fb2defd
* | | | Merge "Changes related Sync Engine library that communicates to cloud server"Jatin Matani2014-10-094-24/+125
|\ \ \ \
| * | | | Changes related Sync Engine library that communicates to cloud serverJatin Matani2014-10-094-24/+125
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Always show the typed word in recorrections.Jean Chalard2014-10-096-60/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
* | | | Merge "Rename updateCounter to updateEntriesForWordWithNgramContext."Keisuke Kuroyanagi2014-10-091-3/+2
|\ \ \ \
| * | | | Rename updateCounter to updateEntriesForWordWithNgramContext.Keisuke Kuroyanagi2014-10-091-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Id9b0dd7e32c711ed4292981517c3febd5fe9e897