Commit graph

12650 commits

Author SHA1 Message Date
Jean Chalard
4beeb9253a Move StringUtils under common.
Bug: 18108776
Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
2014-10-28 22:44:30 +09:00
Jean Chalard
da555ca164 am ca724ef7: Reduce StringUtils dependency on the Android libs
* commit 'ca724ef71f70044f48e2360e2627922be8ca24d5':
  Reduce StringUtils dependency on the Android libs
2014-10-28 13:11:20 +00:00
Jean Chalard
ca724ef71f Reduce StringUtils dependency on the Android libs
Bug: 18108776
Change-Id: I43feb25d79f89276d44462ba71788a14c4583277
2014-10-28 22:03:18 +09:00
Tadashi G. Takaoka
2c966bcd4d am 12903991: Merge "Fix Serbian Latin subtype handling"
* commit '1290399123e515d0068e0d8604e87972890178c0':
  Fix Serbian Latin subtype handling
2014-10-28 09:42:40 +00:00
Tadashi G. Takaoka
fec5219974 Fix Serbian Latin subtype handling
This CL also adds unit tests for Hinglish and Serbian Latin.

Bug: 9687668
Bug: 17169632
Change-Id: Ib9aa1bcdf5b390a9d8c61f07165beacf850e2692
2014-10-28 18:36:16 +09:00
Tadashi G. Takaoka
dccf4f2a41 Clean up UserDictionaryCompatUtils
Change-Id: I1b22c82930af4f30db4237335850fb34b66f9299
2014-10-28 17:42:17 +09:00
Tadashi G. Takaoka
e1c1aabc87 am 395009c0: Fix NPE in AppearanceSettingsFragment
* commit '395009c03eeda42b2b2114d005c3ed8d7e4bfd4b':
  Fix NPE in AppearanceSettingsFragment
2014-10-28 06:25:00 +00:00
Tadashi G. Takaoka
395009c03e Fix NPE in AppearanceSettingsFragment
Bug: 18147440
Change-Id: I7a7a47b3484e54146d34d11b5bd9c1305421d829
2014-10-28 15:02:31 +09:00
Jean Chalard
67527f847e [CS8] Add explanations
Bug: 13238601
Change-Id: I72a78be5848485f7fd77f5586573692529c7547b
2014-10-28 13:41:00 +09:00
Tadashi G. Takaoka
d2bca0257d am d5455fea: Merge "Add null analysis annotation to CollectionUtils"
* commit 'd5455fea4ad710e4b31890affe8efab948fe586e':
  Add null analysis annotation to CollectionUtils
2014-10-27 09:48:00 +00:00
Tadashi G. Takaoka
d5455fea4a Merge "Add null analysis annotation to CollectionUtils" 2014-10-27 09:43:22 +00:00
Tadashi G. Takaoka
7c8a4232d0 am f6a63710: Refactor CoordinateUtils
* commit 'f6a637109636f39fbcf932bab1709ff247690da8':
  Refactor CoordinateUtils
2014-10-27 09:34:58 +00:00
Tadashi G. Takaoka
7a3de4dca9 Add null analysis annotation to CollectionUtils
Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d
2014-10-27 18:30:29 +09:00
Tadashi G. Takaoka
f6a6371096 Refactor CoordinateUtils
Change-Id: I607b803273a4d7983e9e25a81b6941a3b59194c6
2014-10-27 18:02:33 +09:00
Tadashi G. Takaoka
09ccfe6ad3 am 5547b49b: Merge "Remove device checking of Emoji physical key"
* commit '5547b49b17572bfeaba90bf4e85e505182720a29':
  Remove device checking of Emoji physical key
2014-10-27 07:34:39 +00:00
Tadashi G. Takaoka
f7e01e866f Remove device checking of Emoji physical key
This CL also adds a settings option to enable/disable an Emoji-ALT
physical key.

Bug: 18122464
Change-Id: Iee1d97efec979a902b0492071d5e511ca1792ff0
2014-10-27 16:26:22 +09:00
Ken Wakasa
c9d38441ec am 53b01038: Remove an unused import
* commit '53b010384e7e883b532d3f65a5e90a0889d315e0':
  Remove an unused import
2014-10-24 13:16:18 +00:00
Ken Wakasa
53b010384e Remove an unused import
Follow up to I2b81450f99d7b4493ba0fc5e502f4333b8db48cd

Change-Id: I3d106db076e8181b65ce6843b801d12c6ca0adb1
2014-10-24 21:36:24 +09:00
Ken Wakasa
2998ad77b1 am 23a357d7: Small cleanup
* commit '23a357d71d5d1a404975375fd376618a4fd2a596':
  Small cleanup
2014-10-24 11:14:31 +00:00
Ken Wakasa
23a357d71d Small cleanup
Change-Id: I2b81450f99d7b4493ba0fc5e502f4333b8db48cd
2014-10-24 19:47:26 +09:00
Tadashi G. Takaoka
ffd9d64f3d am dd5737b0: Merge "Fix unit test breakage"
* commit 'dd5737b0fa3bf68f90534457ed8d23437caf5420':
  Fix unit test breakage
2014-10-24 09:12:55 +00:00
Tadashi G. Takaoka
067d8cdf56 Fix unit test breakage
Change-Id: I538288054a58eb2c81ce3cbe5c9bef900fb653a5
2014-10-24 16:48:46 +09:00
Keisuke Kuroyanagi
e5f5687710 am aad188d4: Merge "Height of the keyboard for spellchecker is too large."
* commit 'aad188d40ad90f688c1967eea8189a8857d333e2':
  Height of the keyboard for spellchecker is too large.
2014-10-24 06:34:32 +00:00
Keisuke Kuroyanagi
aad188d40a Merge "Height of the keyboard for spellchecker is too large." 2014-10-24 06:29:10 +00:00
Keisuke Kuroyanagi
6cc318bd6a Height of the keyboard for spellchecker is too large.
Bug: 18109041
Change-Id: I0eb98a66290058c28e20c86f36395af4f763952e
2014-10-24 14:59:52 +09:00
Ken Wakasa
d11e3fa95c am 7e88eae6: Add missing header
* commit '7e88eae623e990ca541ad5cf6f7365a0fa0758e6':
  Add missing header
2014-10-24 03:18:40 +00:00
Ken Wakasa
7e88eae623 Add missing header
Change-Id: I1befc2f1288674b4d871b27bdc5251b2b95e8bb7
2014-10-24 12:00:26 +09:00
Ken Wakasa
ee2cbb22b5 am 2c6aaa7c: Merge "Move Constants.java to the latin.common package"
* commit '2c6aaa7c3ce4e2cf959ce940f764dc3306c82dba':
  Move Constants.java to the latin.common package
2014-10-24 02:54:57 +00:00
Ken Wakasa
2c6aaa7c3c Merge "Move Constants.java to the latin.common package" 2014-10-24 02:50:07 +00:00
Keisuke Kuroyanagi
1d947b3ff7 am 989699a6: Fix unit tests (InputLogicTestsDeadKeys).
* commit '989699a69003e1af89309692eb88b7611ebe071f':
  Fix unit tests (InputLogicTestsDeadKeys).
2014-10-23 13:22:52 +00:00
Keisuke Kuroyanagi
989699a690 Fix unit tests (InputLogicTestsDeadKeys).
Change-Id: I9a3191548aa0a4e674d736bc10845b952fc9a1e8
2014-10-23 22:09:08 +09:00
Ken Wakasa
9342484e8d 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
2014-10-23 20:27:37 +09:00
Jean Chalard
f3864708d9 am b224594a: Merge "Fix a concurrency bug that ends up in a crash."
* commit 'b224594aca568be0353404a26e101dd5f7f23f8b':
  Fix a concurrency bug that ends up in a crash.
2014-10-23 09:19:07 +00:00
Jean Chalard
b224594aca Merge "Fix a concurrency bug that ends up in a crash." 2014-10-23 08:02:37 +00:00
Keisuke Kuroyanagi
ab33628b36 am ade5ad1d: Merge "Use trigrams for personalization dict."
* commit 'ade5ad1dae715081e0131e9ebd266e1e36409f1d':
  Use trigrams for personalization dict.
2014-10-23 07:54:38 +00:00
Ken Wakasa
2fbb11ee1b am b11fc7d4: Move annotations classes to latiime-common
* commit 'b11fc7d423667f1cd949b50ddea3761e72d16a2c':
  Move annotations classes to latiime-common
2014-10-23 07:54:37 +00:00
Tadashi G. Takaoka
77e6afd1f2 am d3a4c513: Fix Javadoc and null analysis related warnings
* commit 'd3a4c5132422b189c8dbb94dbbe84a9b9761b0a8':
  Fix Javadoc and null analysis related warnings
2014-10-23 07:54:35 +00:00
Tadashi G. Takaoka
3af7fd0a91 am 924b8fd0: Merge "Enable preliminary subtypes for F-release"
* commit '924b8fd0fa456a084358ce916ac2b637b915946e':
  Enable preliminary subtypes for F-release
2014-10-23 07:54:33 +00:00
Keisuke Kuroyanagi
ade5ad1dae Merge "Use trigrams for personalization dict." 2014-10-23 05:42:38 +00:00
Keisuke Kuroyanagi
16cc3992d7 Use trigrams for personalization dict.
5Bug: 14425059
Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
2014-10-23 14:32:45 +09:00
Ken Wakasa
b11fc7d423 Move annotations classes to latiime-common
Move Constants.java too.

Change-Id: I55e8cf06f61c0a37746a7328834a52a5306cf0f2
2014-10-23 13:00:46 +09:00
Jean Chalard
4097a20b36 Fix a concurrency bug that ends up in a crash.
Bug: 18085768
Change-Id: I016bec997787839526ddfc521ebb99d0c7b05189
2014-10-23 12:36:42 +09:00
Tadashi G. Takaoka
d3a4c51324 Fix Javadoc and null analysis related warnings
This CL also adds @SuppressWarning("unused" to java-overridable package.

Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
2014-10-23 09:58:42 +09:00
Tadashi G. Takaoka
924b8fd0fa Merge "Enable preliminary subtypes for F-release" 2014-10-23 00:19:03 +00:00
Geoff Mendal
2e30c86c84 Import translations. DO NOT MERGE
Change-Id: Ia95e94fb8246f5b44753b8091fca45c3e650f732
Auto-generated-cl: translation import
2014-10-22 13:26:03 -07:00
Geoff Mendal
b94a97e44f Import translations. DO NOT MERGE
Change-Id: I0c8fdb002d26b553dd1b18cd00efa0ed030207fc
Auto-generated-cl: translation import
2014-10-22 13:25:11 -07:00
Ken Wakasa
f6d392842b am d42df512: Merge "Add latinime-common local lib"
* commit 'd42df5125dbf4747efdab6238444b5cf3b3bbec3':
  Add latinime-common local lib
2014-10-22 10:32:53 +00:00
Ken Wakasa
d42df5125d Merge "Add latinime-common local lib" 2014-10-22 10:28:19 +00:00
Ken Wakasa
54a1b8ec54 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
2014-10-22 19:26:21 +09:00
Tadashi G. Takaoka
45c917e238 Enable preliminary subtypes for F-release
Bug: 17743363
Change-Id: I098ae6e21a7f2a1ceed1d206740a2d12e1ef7d99
2014-10-22 18:52:53 +09:00
Keisuke Kuroyanagi
2b40a6e9f5 am 010909d4: Merge "Support dumping ngram entries."
* commit '010909d443984f4a847f7caafe1ff82da90e8d0c':
  Support dumping ngram entries.
2014-10-22 09:41:15 +00:00
Keisuke Kuroyanagi
b5ef884fbb Support dumping ngram entries.
Bug: 14425059
Change-Id: Ib03a0c3d166ed6f1e60c67127b28006d55143b6b
2014-10-22 18:15:53 +09:00
Yohei Yukawa
1588956f7c am baecaa54: Merge "Remove BuildCompatUtils.VERSION_CODES_LXX"
* commit 'baecaa54114300dd2b3aceff480895bf1e42746f':
  Remove BuildCompatUtils.VERSION_CODES_LXX
2014-10-22 02:08:04 +00:00
Yohei Yukawa
baecaa5411 Merge "Remove BuildCompatUtils.VERSION_CODES_LXX" 2014-10-22 02:01:32 +00:00
Yohei Yukawa
f9c8a44bbe am 63cbdf49: Add @Override for a method that is overriding a new L API
* commit '63cbdf49b91d2b588de71538afd20d1d34fc1746':
  Add @Override for a method that is overriding a new L API
2014-10-21 16:37:54 +00:00
Yohei Yukawa
66d30a4b22 Remove BuildCompatUtils.VERSION_CODES_LXX
Finally it is turned out to be a XXL-size Lollipop.

Change-Id: Icbd22506be9de514eba287cdd8d97fbfd070ac09
2014-10-22 01:29:58 +09:00
Yohei Yukawa
63cbdf49b9 Add @Override for a method that is overriding a new L API
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
2014-10-22 01:28:10 +09:00
Tadashi G. Takaoka
d94645097a am 46a00726: Merge "Fix some compiler warnings"
* commit '46a007261fcbfbe887e22ecdf16307f95b1e4024':
  Fix some compiler warnings
2014-10-21 15:10:07 +00:00
Tadashi G. Takaoka
46a007261f Merge "Fix some compiler warnings" 2014-10-21 15:06:55 +00:00
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