Commit Graph

12591 Commits (076daf59cc1fd4c4dca1740ba3c98298b34bd0de)

Author SHA1 Message Date
Tadashi G. Takaoka 5f00fe09e9 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
2014-10-21 19:28:37 +09:00
Tadashi G. Takaoka cfab30306c am 2105aa3e: Merge "FIx potential NPE"
* commit '2105aa3ea64ddf9cb0428d2bc717ff6fce12733e':
  FIx potential NPE
2014-10-21 09:19:25 +00:00
Tadashi G. Takaoka 2105aa3ea6 Merge "FIx potential NPE" 2014-10-21 08:14:46 +00:00
Adrian Velicu e5e722210e am c51b9b5b: Merge "Renaming "blacklist" flag to "possibly offensive""
* commit 'c51b9b5b3f9b9b80d07186691ddfa09502fd4659':
  Renaming "blacklist" flag to "possibly offensive"
2014-10-21 07:42:26 +00:00
Tadashi G. Takaoka 097bcdcde8 FIx potential NPE
Bug: 18052047
Change-Id: I9097d0a504b8a1d875cf66e44bb65eb6ecc8908e
2014-10-21 14:13:27 +09:00
Adrian Velicu 05172bf1a5 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
2014-10-21 11:51:47 +09:00
Geoff Mendal 9ba36f29cc Merge "Import translations. DO NOT MERGE" 2014-10-20 23:40:57 +00:00
Geoff Mendal 052f2a434a Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-20 23:40:46 +00:00
Geoff Mendal 39bda3389e Merge "Import translations. DO NOT MERGE" 2014-10-20 23:40:15 +00:00
Geoff Mendal 5df9f333a1 Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:48 +00:00
Geoff Mendal e7cb59a97f Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:25 +00:00
Geoff Mendal f422245ca2 Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:16 +00:00
Geoff Mendal f459d3bb3b Import translations. DO NOT MERGE
Change-Id: Idcaf9d1a640e52e64957db9ae1b6d24beabc5bfc
Auto-generated-cl: translation import
2014-10-20 16:27:32 -07:00
Geoff Mendal 82a0afe629 Import translations. DO NOT MERGE
Change-Id: I7cba6073f94f23aa5df47e9117ff744270a5dcdb
Auto-generated-cl: translation import
2014-10-20 16:26:32 -07:00
Geoff Mendal 0e4f83485c Import translations. DO NOT MERGE
Change-Id: I1f98c40acd696c8791dd0e3850d3dcff6b51722b
Auto-generated-cl: translation import
2014-10-20 16:22:19 -07:00
Geoff Mendal 59048cbcfd Import translations. DO NOT MERGE
Change-Id: I0725425d834b9479f59f0ca1908d234589d6813b
Auto-generated-cl: translation import
2014-10-20 16:18:30 -07:00
Geoff Mendal c9dcc13a54 Import translations. DO NOT MERGE
Change-Id: Ic0556705ea72f60c0f66ed1c516636fc0f8c98ba
Auto-generated-cl: translation import
2014-10-20 16:15:42 -07:00
Geoff Mendal ceb27e0d8e Import translations. DO NOT MERGE
Change-Id: Ief1756f262798b3ababa8ccc57c386c2d08d4e68
Auto-generated-cl: translation import
2014-10-20 16:14:26 -07:00
Geoff Mendal efdb314d6a Import translations. DO NOT MERGE
Change-Id: I2b2849dd412ec9cc7330d882d8d1546932e753a4
Auto-generated-cl: translation import
2014-10-20 16:13:10 -07:00
Geoff Mendal 319d0a2e36 Import translations. DO NOT MERGE
Change-Id: Ie1921e02997556ddcff58bd492879a5b755536a9
Auto-generated-cl: translation import
2014-10-20 16:11:12 -07:00
Tadashi G. Takaoka 0b07ddc10c am b0ccf3a0: Refactor CustomInputStyleSettingsFragment
* commit 'b0ccf3a0a2d8bad1762ed7f3e0654b888d61114c':
  Refactor CustomInputStyleSettingsFragment
2014-10-20 09:30:40 +00:00
Tadashi G. Takaoka b0ccf3a0a2 Refactor CustomInputStyleSettingsFragment
Bug: 18003991
Change-Id: Ib005dd394faf546e4faed89ff2018ce49858a06e
2014-10-20 17:12:33 +09:00
Keisuke Kuroyanagi 6297a5f952 am 1085fef8: Change entry count limit.
* commit '1085fef8d040a6788f2185e7b03ab6b6032f321d':
  Change entry count limit.
2014-10-20 06:22:47 +00:00
Keisuke Kuroyanagi 1085fef8d0 Change entry count limit.
Unigram 10K, Bigram 30K, Trigram 30K.

Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
2014-10-20 15:01:49 +09:00
Nick Kralevich fcb208ae16 am 01acdac1: fix build
* commit '01acdac11ee9ccb42e953a24d3bc5c851c434afa':
  fix build
2014-10-18 14:41:58 +00:00
Nick Kralevich 01acdac11e fix build
Change-Id: Iedbf01e1c6191350aed8d31c2638b2430e67a36f
2014-10-18 07:37:46 -07:00
Nick Kralevich 0366239a70 am 237f6ca7: fix build
* commit '237f6ca799981a53532424d72f49c3eabf6e40b4':
  fix build
2014-10-18 13:54:43 +00:00
Nick Kralevich 237f6ca799 fix build
Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894
2014-10-18 06:50:03 -07:00
Tadashi G. Takaoka 58fab48bbc am f9a4b20c: Merge "Fix missing Telugu letters"
* commit 'f9a4b20c9660aff868f76d56504d0ff5631aae42':
  Fix missing Telugu letters
2014-10-17 17:03:48 +00:00
Tadashi G. Takaoka f9a4b20c96 Merge "Fix missing Telugu letters" 2014-10-17 16:59:49 +00:00
Jean Chalard 0f5566e6c7 am ea32e8fb: Merge "Enforce a length limit to auto-correction for some languages"
* commit 'ea32e8fb04a227add248ab216c540b213c63c43a':
  Enforce a length limit to auto-correction for some languages
2014-10-17 13:15:27 +00:00
Jean Chalard ea32e8fb04 Merge "Enforce a length limit to auto-correction for some languages" 2014-10-17 13:11:39 +00:00
Jean Chalard 8fc872762f Enforce a length limit to auto-correction for some languages
Bug: 15379262
Change-Id: I27fad12f468b5bc6ad1a0876aac72e5f5ca5760a
2014-10-17 22:05:05 +09:00
Tadashi G. Takaoka a97bae4e8b 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
2014-10-17 19:21:59 +09:00
Tadashi G. Takaoka fb8c21f65a am ad2f6950: Bring back long press timeout settings
* commit 'ad2f695083ce8495f99ab52bfc6abf17e1e3b5dd':
  Bring back long press timeout settings
2014-10-17 09:45:36 +00:00
Tadashi G. Takaoka ad2f695083 Bring back long press timeout settings
Bug: 18025209
Change-Id: Id8dbb051e04270f6892cae12a443103bd0d32dcb
2014-10-17 18:20:43 +09:00
Jean Chalard 5930e47190 am bd4693cd: Merge "[ML27.1] Allow adding additional features to other settings"
* commit 'bd4693cd3fffcca2b73953fc05df4bc1a9b0a1bc':
  [ML27.1] Allow adding additional features to other settings
2014-10-16 11:10:33 +00:00
Jean Chalard bd4693cd3f Merge "[ML27.1] Allow adding additional features to other settings" 2014-10-16 11:08:37 +00:00
Jean Chalard bdf70af177 [ML27.1] Allow adding additional features to other settings
We may want to add additional features from some of the
other screens.

Bug: 11230254
Bug: 17966252
Change-Id: I1bb877e5cbdd74f2ffa8010b5bc6af35fe77279a
2014-10-16 19:32:00 +09:00
Jean Chalard 63ccc79aad am eaa7efd1: [ML29] Reinitialize the subtype at input start
* commit 'eaa7efd136473c8f7aaf1b930c4c810316cf4595':
  [ML29] Reinitialize the subtype at input start
2014-10-16 10:06:19 +00:00
Jean Chalard eaa7efd136 [ML29] Reinitialize the subtype at input start
Bug: 11230254
Bug: 17994347
Change-Id: I3476909c4b371d6e94a0d4c35d91e109d639b8d5
2014-10-16 18:43:14 +09:00
Jean Chalard ffe2c54cc5 am 544da4a2: Merge "[ML25] Add an hasDict method."
* commit '544da4a2ea4ce9dbad24f8ed55c29276033d47b2':
  [ML25] Add an hasDict method.
2014-10-16 09:23:16 +00:00
Jean Chalard 544da4a2ea Merge "[ML25] Add an hasDict method." 2014-10-16 08:39:34 +00:00
Jean Chalard f13487dfbf [ML25] Add an hasDict method.
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
2014-10-16 17:09:27 +09:00
Geoff Mendal 62ef21054c Merge "Import translations. DO NOT MERGE" 2014-10-16 00:01:17 +00:00
Geoff Mendal 5cd52cd83e Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-16 00:01:09 +00:00
Geoff Mendal 4437a8ecfc Merge "Import translations. DO NOT MERGE" 2014-10-16 00:00:40 +00:00
Geoff Mendal 2b28100aef Merge "Import translations. DO NOT MERGE" 2014-10-16 00:00:16 +00:00
Geoff Mendal e1b4330bc6 Import translations. DO NOT MERGE
Change-Id: Ia6d999f2c93c0b4d288c216a26eddfb747aee312
Auto-generated-cl: translation import
2014-10-15 16:47:48 -07:00
Geoff Mendal b4a6a7f7ee Import translations. DO NOT MERGE
Change-Id: I2dab7c4f972647bc810af1be2213307e3c72b3e0
Auto-generated-cl: translation import
2014-10-15 16:46:52 -07:00
Geoff Mendal e935f7f508 Import translations. DO NOT MERGE
Change-Id: I6ee0f684acdcdc10e8e8b2ff149daa8a18ebd3d6
Auto-generated-cl: translation import
2014-10-15 16:42:11 -07:00
Geoff Mendal c5141e6b0f Import translations. DO NOT MERGE
Change-Id: I8921717374f9837a262e54799224eeb3d9c19049
Auto-generated-cl: translation import
2014-10-15 16:39:36 -07:00
Geoff Mendal 3323775643 Import translations. DO NOT MERGE
Change-Id: I33451673b84614bfa15117dcdaaf337969a29ab2
Auto-generated-cl: translation import
2014-10-15 16:36:42 -07:00
Geoff Mendal 58ecffbd54 Merge "Import translations. DO NOT MERGE" 2014-10-15 23:36:24 +00:00
Geoff Mendal 6105d48756 Import translations. DO NOT MERGE
Change-Id: Ib6cfb0fa6996a91a3c17cd3b541ebdeecc30bc92
Auto-generated-cl: translation import
2014-10-15 16:34:39 -07:00
Geoff Mendal 7aa6786785 Import translations. DO NOT MERGE
Change-Id: Iaaa9b9d17d23653ebd9a04357bd5aafd3904a375
Auto-generated-cl: translation import
2014-10-15 16:32:56 -07:00
Jean Chalard e63780ecba am 17100ad8: am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit '17100ad8eacc3d4905a8239c57e5661339f4c91d':
  Fix a bug with no suggestions flag
2014-10-15 07:55:20 +00:00
Jean Chalard 17100ad8ea am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit '8435acd789bd4f9c1322a73b9e0567c2dee7b336':
  Fix a bug with no suggestions flag
2014-10-15 07:52:58 +00:00
Jean Chalard 6456af0e1c am ecea8551: Fix a bug with no suggestions flag
* commit 'ecea8551c39a497e036be5c010d7ddb6b51a36bc':
  Fix a bug with no suggestions flag
2014-10-15 07:35:46 +00:00
Jean Chalard ecea8551c3 Fix a bug with no suggestions flag
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
2014-10-15 06:15:02 +00:00
Tadashi G. Takaoka 2da7336536 am ae3ad8eb: (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
* commit 'ae3ad8ebdd1a3239e17fd14e50a8e9670cb5b61a':
  (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
2014-10-15 00:32:23 +00:00
Sandeep Siddhartha c112440d41 am b17a3bc4: Move sync policy related code out of account settings
* commit 'b17a3bc4e8a77905ca567f3876c4e37191d7aae5':
  Move sync policy related code out of account settings
2014-10-14 22:03:41 +00:00
Sandeep Siddhartha b17a3bc4e8 Move sync policy related code out of account settings
Bug: 17981687
Bug: 17464069
Change-Id: I0ae3400564fd346cc84af74dfef65f01cc1ce6a8
2014-10-14 13:39:28 -07:00
Tadashi G. Takaoka 59bf6872b9 am 296b1150: Merge "Add JSR305 annotation to LeakGuardHandlerWrapper"
* commit '296b11503e1dbdaceface6cfa0d5507e66792d6a':
  Add JSR305 annotation to LeakGuardHandlerWrapper
2014-10-14 12:32:49 +00:00
Tadashi G. Takaoka 296b11503e Merge "Add JSR305 annotation to LeakGuardHandlerWrapper" 2014-10-14 12:30:12 +00:00
Jean Chalard 97b986f670 am 10ac9403: Merge "[ML24] Add facilities to read the script of a subtype"
* commit '10ac9403125aa6e56f2eb81724500d0946499c95':
  [ML24] Add facilities to read the script of a subtype
2014-10-14 11:29:20 +00:00
Jean Chalard 10ac940312 Merge "[ML24] Add facilities to read the script of a subtype" 2014-10-14 11:26:07 +00:00
Jean Chalard b256bb5791 [ML24] Add facilities to read the script of a subtype
...or more exactly, the script of the keyboard layout set associated
with a given subtype.

Bug: 11230254
Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
2014-10-14 20:19:15 +09:00
Keisuke Kuroyanagi fb09fa1b22 am d1471ee0: Merge "Remove shouldBlockAutoCorrectionBySafetyNet"
* commit 'd1471ee053a788dd68729d0a8a603c17444f7cb3':
  Remove shouldBlockAutoCorrectionBySafetyNet
2014-10-14 10:57:16 +00:00
Keisuke Kuroyanagi d1471ee053 Merge "Remove shouldBlockAutoCorrectionBySafetyNet" 2014-10-14 10:52:32 +00:00
Tadashi G. Takaoka c4ffa235e5 Add JSR305 annotation to LeakGuardHandlerWrapper
Change-Id: I7456200af739db4510c5549b7bc894fb48749455
2014-10-14 18:19:22 +09:00
Ken Wakasa cbffb79584 am 95f100ba: Merge "Performance fix for multiple language subtypes"
* commit '95f100ba404c3f905739db628ec71b7c1b7b5ace':
  Performance fix for multiple language subtypes
2014-10-14 06:45:26 +00:00
Ken Wakasa 95f100ba40 Merge "Performance fix for multiple language subtypes" 2014-10-14 06:42:14 +00:00
Jean Chalard d15f6e8c98 Performance fix for multiple language subtypes
The code would iterate all enabled subtypes each time
getCurrentSubtype() is called, which is really quite frequent.

Bug: 11230254
Change-Id: I91feb36de6eca84967e848fc585aae04b350be89
2014-10-14 15:13:35 +09:00
Jean Chalard 5f8823c1ce am 9959140f: Merge "Fix an NPE."
* commit '9959140f15edcb32c21406e3cff80ad6856e83c9':
  Fix an NPE.
2014-10-14 02:57:23 +00:00
Jean Chalard 9959140f15 Merge "Fix an NPE." 2014-10-14 02:51:16 +00:00
Jean Chalard 7d74594123 Fix an NPE.
Bug: 17958289
Change-Id: I5c9ea668ff75b38c7ddebd767c36a950835c0c9f
2014-10-14 11:42:43 +09:00
Sandeep Siddhartha 390fe20fde am cbd59e02: Merge "Don\'t restore debug preferences"
* commit 'cbd59e02a97dac53ec97f59c1a638bc421ba4a52':
  Don't restore debug preferences
2014-10-14 02:32:58 +00:00
Sandeep Siddhartha cbd59e02a9 Merge "Don't restore debug preferences" 2014-10-14 02:28:50 +00:00
Keisuke Kuroyanagi 29b4f7aa67 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
2014-10-14 11:20:33 +09:00
Sandeep Siddhartha 06a438d3a5 Don't restore debug preferences
Bug: 17942814
Change-Id: I0bbef716dff47ed8eb880209d448629ad853b904
2014-10-13 18:59:48 -07:00
Tadashi G. Takaoka ae3ad8ebdd (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
Cherry picked from Master, commit 04cd8794e0

Bug: 17035860
Change-Id: I9627d525a570ced085281b4db93fe6896081e818
2014-10-14 01:40:27 +00:00
Sandeep Siddhartha 6998ff4b8e am 59f5988a: Merge "Cleanup LoginAccountUtils"
* commit '59f5988a16bfd979f748ecd356b528f0b933a42c':
  Cleanup LoginAccountUtils
2014-10-14 00:10:18 +00:00
Sandeep Siddhartha 59f5988a16 Merge "Cleanup LoginAccountUtils" 2014-10-14 00:06:52 +00:00
Sandeep Siddhartha 19084d076a Cleanup LoginAccountUtils
Bug: 17464068
Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c
2014-10-13 12:23:22 -07:00
Geoff Mendal 164a49969e Merge "Import translations. DO NOT MERGE" 2014-10-13 18:32:43 +00:00
Geoff Mendal 6c6371427b Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-13 18:32:34 +00:00
Geoff Mendal 3c68a82ae8 Merge "Import translations. DO NOT MERGE" 2014-10-13 18:27:20 +00:00
Geoff Mendal e995d5ea0e Merge "Import translations. DO NOT MERGE" 2014-10-13 18:25:12 +00:00
Geoff Mendal 38b624cd04 Merge "Import translations. DO NOT MERGE" 2014-10-13 18:24:40 +00:00
Geoff Mendal fd6bec7dee Import translations. DO NOT MERGE
Change-Id: Ie47de03c285de6dcaa6dc9b86dcf027f1c55825f
Auto-generated-cl: translation import
2014-10-13 11:04:13 -07:00
Geoff Mendal 2fd41677eb Import translations. DO NOT MERGE
Change-Id: I6c78be329b4ac88d1a74c814aa2a23ad0f608adc
Auto-generated-cl: translation import
2014-10-13 11:02:54 -07:00
Geoff Mendal c471349789 Import translations. DO NOT MERGE
Change-Id: I7dbac96009086e57a4f3199f86aa6340022e44cc
Auto-generated-cl: translation import
2014-10-13 10:56:50 -07:00
Geoff Mendal 32f3921bad Import translations. DO NOT MERGE
Change-Id: I274ecd1d6c5c26aaa75abff4129b0e082369d5c7
Auto-generated-cl: translation import
2014-10-13 10:53:17 -07:00
Geoff Mendal 4a77b6bf11 Import translations. DO NOT MERGE
Change-Id: I64b846864646430dccaf5f58f788b5c5cb485970
Auto-generated-cl: translation import
2014-10-13 10:50:20 -07:00
Geoff Mendal f3802c566b Import translations. DO NOT MERGE
Change-Id: I0f02b34c3de602cc6ebe04e1859b31d08b0e95a3
Auto-generated-cl: translation import
2014-10-13 10:48:09 -07:00
Geoff Mendal 1bcf5873ac Import translations. DO NOT MERGE
Change-Id: Ic263dcea659b3133f5ebd7666f7d1c702a4ebddc
Auto-generated-cl: translation import
2014-10-13 10:46:23 -07:00
Sandeep Siddhartha c11c9d262d am d9015233: Set up a sync preference and policy for syncing [2]
* commit 'd9015233f50724294bb408f1c56715a581dc4bed':
  Set up a sync preference and policy for syncing [2]
2014-10-10 23:18:32 +00:00
Sandeep Siddhartha d9015233f5 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
2014-10-10 16:03:54 -07:00
Sandeep Siddhartha 2c7a1c91c9 am 1e10d29b: Don\'t restore device specific preferences
* commit '1e10d29bc8975ea45ca5e3bdf1936aa418161bcb':
  Don't restore device specific preferences
2014-10-10 18:19:05 +00:00