Commit graph

32042 commits

Author SHA1 Message Date
Jean Chalard
dc06ee85ef A simplification.
This does the same thing, but simpler and faster.
Was noticed while investigating bug#12164555

Change-Id: If9926e4da8a53a65489da55197ac87122c44fe7c
2013-12-16 21:38:31 +09:00
Keisuke Kuroyanagi
d98a0813a1 Merge "Align block sizes for ver4 format to java side." 2013-12-16 12:06:02 +00:00
Keisuke Kuroyanagi
c1163c8518 Align block sizes for ver4 format to java side.
Bug: 11073222
Change-Id: I09646cbc81529576d5e34dcfa7bc29083a64076f
2013-12-16 20:42:32 +09:00
Keisuke Kuroyanagi
769eb083ef Merge "Add option to enable personalization dictionaries." 2013-12-16 10:33:40 +00:00
Keisuke Kuroyanagi
d4bb7df412 Add option to enable personalization dictionaries.
Bug: 11757851

Change-Id: I4872c10793d4fd55c0bd9e5bc4650925de6d2c1d
2013-12-16 19:17:31 +09:00
Tadashi G. Takaoka
f3b92fb952 Merge "Fix IllegalStateException of ViewGroup" 2013-12-16 08:36:45 +00:00
Tadashi G. Takaoka
7f8345d59a Fix IllegalStateException of ViewGroup
Bug: 10629042
Change-Id: I111d092fb2f7dca47328127a155c981aa1c55906
2013-12-16 17:06:23 +09:00
Keisuke Kuroyanagi
b6a19229ba Merge "Make required binary dictionary version use FormatSpec.*" 2013-12-16 07:56:58 +00:00
Keisuke Kuroyanagi
c837767819 Make required binary dictionary version use FormatSpec.*
Change-Id: Ifb17d6551bc5071553e32a5640dd166c39374461
2013-12-16 16:50:28 +09:00
Jean Chalard
5590e9d040 Merge "Make the bad header a checked exception and fix dicttool test" 2013-12-16 07:18:44 +00:00
Jean Chalard
3df617323e Make the bad header a checked exception and fix dicttool test
Change-Id: If780a2a1cb722aee83d910904c0a6315add9552d
2013-12-16 15:40:45 +09:00
Tadashi G. Takaoka
1b5b0a3ebc Cancel long press shift key while chording input
Bug: 12123508
Change-Id: I693caad1f8ee47ebeb14419603d1fc29f6263a75
2013-12-16 15:30:41 +09:00
Tadashi G. Takaoka
3f6c983adc Merge "Don't use fullscreen mode on large phone" 2013-12-16 05:56:09 +00:00
Jean Chalard
b868375763 Fix failing tests
- Version 3 is not supported
- Now passing the right string to open v4 dicts. Fix the tests for this.

Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab
2013-12-16 14:32:19 +09:00
Tadashi G. Takaoka
d75d77200f Don't use fullscreen mode on large phone
Bug: 11920652
Change-Id: Icc26c20c881bc586c800c31c90a45281dc408d2a
2013-12-16 13:09:13 +09:00
Ken Wakasa
2c25c7c9e1 Fix locale names in the make-keyboard-text tool
Change-Id: I33c3fafcff124bb94e395cc604ce264daad55d2d
2013-12-14 18:50:57 +09:00
Jean Chalard
330d2720bb Instead of ignoring PARAGRAPH spans, fix them.
I don't know what or when this flag is set, but it's only bad
news. Luckily, we can just remove it.

Bug: 12119393
Change-Id: I2952138c8ce517535b91e0fe25d2cf4960e02862
2013-12-13 23:42:31 +09:00
Jean Chalard
7a904514fb Merge "Don't use the previous word after a non-whitespace separator" 2013-12-13 11:53:30 +00:00
Jean Chalard
0b51fac907 Merge "Only update shift state if left in auto mode." 2013-12-13 11:52:13 +00:00
Jean Chalard
fae1ba767c Don't use the previous word after a non-whitespace separator
Bug: 12101276
Change-Id: Icf36d55ec171194e5561b946021bcf648782ddd4
2013-12-13 20:51:28 +09:00
Jean Chalard
28bd6e2297 Only update shift state if left in auto mode.
Bug: 12100417
Change-Id: I7bc2b19332e142a257b0399f2e5d128caf01fc7c
2013-12-13 20:47:25 +09:00
Jean Chalard
f3d281b775 Merge "Fix a bug where recapitalize prevents going to more syms" 2013-12-13 10:38:18 +00:00
Jean Chalard
5d98e1d82e Fix a bug where recapitalize prevents going to more syms
Bug: 11004973
Change-Id: I97ee9df6e8464e2149beb41c688cbfbd83ac3d8c
2013-12-13 19:21:49 +09:00
Jean Chalard
f08b1ea41a Merge "Remove references to the v3 dictionary." 2013-12-13 10:08:12 +00:00
Tadashi G. Takaoka
bf7503ae6b Merge "Fix key top letter color in shifted layout" 2013-12-13 09:55:19 +00:00
Jean Chalard
1dc7eca114 Remove references to the v3 dictionary.
Change-Id: I811c8c923ad67a6d9bfdd11bdef8991eb7135c27
2013-12-13 18:53:41 +09:00
Keisuke Kuroyanagi
3e81d9c39f Merge "Remove code for forgetting curve in Java side." 2013-12-13 09:44:16 +00:00
Keisuke Kuroyanagi
cc8c544ee2 Remove code for forgetting curve in Java side.
Change-Id: I294ed179c642ff52452b5884326c1083477e1bce
2013-12-13 18:40:58 +09:00
Tadashi G. Takaoka
815a339201 Fix key top letter color in shifted layout
There is a chance to have an empty hint label even though
keyLabelFlags has hasShiftedLetterHint flag.

Change-Id: I63b9fcc42a40391d5902814cae4c75abb61e4b94
2013-12-13 18:34:30 +09:00
Jean Chalard
a245d15da5 Have dicttool use the native library to generate v4 dicts.
Yay !

Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
2013-12-13 18:18:20 +09:00
Jean Chalard
af0c222a5e Merge "Remove flags from Java side." 2013-12-13 09:17:10 +00:00
Jean Chalard
7b55cd3e2b Remove flags from Java side.
This simplifies the code quite a bit.
- GERMAN_UMLAUTS are now handled through a key-value attribute.
  The dictionary generator does not need to know about it any more.
- FRENCH_LIGATURES are deprecated as we handle them with shortcuts now.
- CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied
  regardless of this flag.

Bug: 11281748
Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1
2013-12-13 18:15:05 +09:00
Tadashi G. Takaoka
a5b196e939 [FIX] Separate form factor dependent config resources
This is a cherry-pick of I668b55a514.

Change-Id: I00e9a74812d622c12af0337ba50e1b2f1d675cf1
2013-12-13 18:01:01 +09:00
Keisuke Kuroyanagi
7345059fa6 Merge "Make ExpandableBinaryDictionary usable for offdevice tests." 2013-12-13 08:54:15 +00:00
Ken Wakasa
2fa3693c26 Reset to 9bd6dac470
The bulk merge from -bayo to klp-dev should not have been merged to master.

Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
2013-12-13 17:13:32 +09:00
Keisuke Kuroyanagi
9642286c01 Make ExpandableBinaryDictionary usable for offdevice tests.
Bug: 11956652
Change-Id: If5a503ef161781818f2efceba542be5a61be6bd1
2013-12-13 14:48:43 +09:00
Satoshi Kataoka
18d033405c Merge branch 'master' of https://googleplex-android.googlesource.com/_direct/platform/packages/inputmethods/LatinIME 2013-12-13 04:15:33 +00:00
Satoshi Kataoka
95050f54e9 am 4d0fd045: am 6c8487ef: am efa3ef17: am 26a97909: am 3977cc97: am c7f8d54d: Merge "Prepare for changing text color for functional keys"
* commit '4d0fd04534243058d45cc95b903b19c0c1ee0e8c':
2013-12-13 04:15:28 +00:00
Baligh Uddin
0ba7f3b8d5 am 63f08cdf: (-s ours) am a1228301: (-s ours) am 2512314d: (-s ours) am 9eea9b07: (-s ours) am 38d169b3: (-s ours) am 1bbd4933: (-s ours) Import translations. DO NOT MERGE
* commit '63f08cdf91e56de6e562f5b936da7e85cb9c5636':
2013-12-13 04:15:23 +00:00
Baligh Uddin
e51cd4ad00 am 1489a305: (-s ours) am 65d60a19: (-s ours) am 73fd6c75: (-s ours) am 159e970c: (-s ours) am e1e6819a: (-s ours) Import translations. DO NOT MERGE
* commit '1489a305cce5ffff81adf76e1cafebff4dfcaf2e':
2013-12-13 04:15:17 +00:00
Keisuke Kuroyanagi
0a34702ea6 am 3abf01e9: am db3820d1: am 9ee3d14b: am 732b5e13: am 96b0f24f: am 3d929541: Fix build.
* commit '3abf01e94b47f122e1a1dac1bbb7dfd09534f827':
2013-12-13 04:15:12 +00:00
Keisuke Kuroyanagi
9777f05e14 am f44d44ac: am 20a8c2ee: am 2c79a62c: am 9115f38b: am ec5ad29a: am d25cd26f: Merge "Try decaying user history at hourly intervals."
* commit 'f44d44ac5e843c29728cb7b75ade5184b192ba73':
2013-12-13 04:15:08 +00:00
Keisuke Kuroyanagi
11c28239fc am 755d1b07: am b2936b65: am 4d8f27ad: am 3cabfcef: am 28efd918: am ba9dc086: Merge "Use probability table for decaying dictionaries."
* commit '755d1b07b6a392b506f01f770bf6e44301f650aa':
2013-12-13 04:15:02 +00:00
Ken Wakasa
f5a6d77971 am 094efdcd: am 1af73ed5: am 5ec9e14e: am aa3ae615: am 72c870f5: am 596a565a: Merge "Remove some unused variables."
* commit '094efdcdfe2376885b641bc711f75a3182f391a4':
2013-12-13 04:14:58 +00:00
Keisuke Kuroyanagi
b078832507 am 9abd7930: am ced46407: am 4ff72a62: am a544cf0a: am 879ae3aa: am 21ce9c4a: Merge "Stochastic decay."
* commit '9abd79302c36a70d987af14d8aed87355958aa1a':
2013-12-13 04:14:53 +00:00
Baligh Uddin
c95efbbd57 keep history after reset to klp-modular-dev 2013-12-12 20:14:49 -08:00
Ken Wakasa
20d25d5e4e am 219087ad: am f513e7bf: am fce7e730: am 8037b971: am da4d87ff: am 2dcb6337: Merge "Make SparseTable have multiple content tables."
* commit '219087adf0e11acfb2efe47d67129edcc6467233':
2013-12-13 04:14:48 +00:00
Jean Chalard
e6030b7c92 am 6ea5f8d7: am f08c2e18: am ff95897f: am d0b02b52: am 93c2fa8d: am cd7422f4: Merge "Fix a pernicious bug with caps."
* commit '6ea5f8d75f79e7dd3e1cb0a4f44418509f0dd2bf':
2013-12-13 04:14:43 +00:00
Keisuke Kuroyanagi
2b253559b3 am a4313507: am 36d64fc6: am 14307df8: am 8ee8178e: am 0fbad0fa: am 52c20927: Merge "Change name of DecayingUtils."
* commit 'a4313507ee04c82c6ea2422ecfad0c0de6e5c29d':
2013-12-13 04:14:37 +00:00
Satoshi Kataoka
6cfb583aac am 6269b2d2: am c4f9bec4: am 03c5029c: am 96fdbaa3: am 85eba056: am c5182c9a: Correspond to the security related API change for PreferenceActivity
* commit '6269b2d21a62a13eeeb14897fba6bf2293cee769':
2013-12-13 04:14:32 +00:00