Commit Graph

17504 Commits (864ee881bd2f4a5dbde8f31c68e7f89522c67db6)

Author SHA1 Message Date
Keisuke Kuroyanagi 864ee881bd Merge "Fix UserHistoryDictionaryTests." 2013-10-03 12:02:34 +00:00
Keisuke Kuroyanagi 11f7cae094 Fix UserHistoryDictionaryTests.
Bug: 6669677
Bug: 10667710

Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
2013-10-03 20:55:34 +09:00
Yuichiro Hanada 3dd77a6d66 Add SparseTableContentWriter to Ver4DictEncoder.
Bug: 10920165
Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b
2013-10-03 20:31:01 +09:00
Yuichiro Hanada d6e307a4b7 Add DictUpdater.
Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
2013-10-03 20:16:34 +09:00
Keisuke Kuroyanagi 7e6e97014d Merge "Fix: Native crash when an empty attribute is written." 2013-10-03 08:42:49 +00:00
Keisuke Kuroyanagi 9cb1e78a44 Fix: Native crash when an empty attribute is written.
Bug: 10964805
Change-Id: Ia3cd891d20aee2226092f0f646d8f280901786fc
2013-10-03 17:30:54 +09:00
Satoshi Kataoka 85607c5965 Merge "Fix the subtype id of the additional subtypes" 2013-10-03 07:45:24 +00:00
Satoshi Kataoka 9ecdb831db Fix the subtype id of the additional subtypes
Bug: 11032428
Change-Id: I5d422f1c15a582015770ef9a652348ca6eb8ab85
2013-10-03 16:41:13 +09:00
Satoshi Kataoka c7f8d54d6e Merge "Prepare for changing text color for functional keys" 2013-10-03 07:15:03 +00:00
Satoshi Kataoka 194e004e81 Prepare for changing text color for functional keys
Bug: 10786040

Change-Id: I0de7d4923ea13b44adcf1f4ea456796cd02ef27b
2013-10-03 15:54:46 +09:00
Baligh Uddin 1bbd493376 Import translations. DO NOT MERGE
Change-Id: I4fe48281caf9d3cf83effb19933d8f168967f950
Auto-generated-cl: translation import
2013-10-02 21:46:19 -07:00
Keisuke Kuroyanagi 3d92954120 Fix build.
Change-Id: Ib33b27214e67378646e44f5b45bda298f960524f
2013-10-02 23:02:42 +09:00
Keisuke Kuroyanagi d25cd26f1a Merge "Try decaying user history at hourly intervals." 2013-10-02 09:44:03 +00:00
Keisuke Kuroyanagi ba9dc0860f Merge "Use probability table for decaying dictionaries." 2013-10-02 09:42:38 +00:00
Ken Wakasa 596a565ae7 Merge "Remove some unused variables." 2013-10-02 09:38:00 +00:00
Keisuke Kuroyanagi 21ce9c4a89 Merge "Stochastic decay." 2013-10-02 09:37:56 +00:00
Yuichiro Hanada 3aa8977cb2 Remove some unused variables.
Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef
2013-10-02 18:26:03 +09:00
Keisuke Kuroyanagi f36a97ab3a Try decaying user history at hourly intervals.
Bug: 6669677

Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803
2013-10-02 18:06:08 +09:00
Keisuke Kuroyanagi 7c4dcf1e91 Use probability table for decaying dictionaries.
Bug: 6669677
Change-Id: Ib5994a2e343dfcdaf23755e523f52846709b1c6c
2013-10-02 18:01:47 +09:00
Keisuke Kuroyanagi c76bbceedc Stochastic decay.
Bug: 6669677
Change-Id: Ib2d9228b951c77dab7a8675ce9db60677e87e771
2013-10-02 17:51:12 +09:00
Ken Wakasa 2dcb63375d Merge "Make SparseTable have multiple content tables." 2013-10-02 08:32:55 +00:00
Jean Chalard cd7422f4df Merge "Fix a pernicious bug with caps." 2013-10-02 07:59:08 +00:00
Jean Chalard f735117d36 Fix a pernicious bug with caps.
What's happening here is, setAlphabetKeyboard sets the
keyboard to AUTOMATIC_SHIFTED and updates the keyboard, then
restoring the keyboard old state sets it back to UNSHIFTED without
updating it. When we finally know what the correct value is,
we try to set it to UNSHIFTED, but since that's already the currently
recorded state, it skips updating the keyboard forever.

The solution is to avoid setting the shift state without updating the
keyboard.

Bug: 10948582
Change-Id: Ic8670401e378f8284e851281f91a9ad93eac8e90
2013-10-02 16:57:36 +09:00
Keisuke Kuroyanagi 52c20927a9 Merge "Change name of DecayingUtils." 2013-10-02 07:54:53 +00:00
Satoshi Kataoka c5182c9a4a Correspond to the security related API change for PreferenceActivity
Bug: 10118761
Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f
2013-10-02 16:25:07 +09:00
Keisuke Kuroyanagi 13d5dc914a Change name of DecayingUtils.
Bug: 6669677
Change-Id: I97839b2184b95ae1659c55a9b31d22e2d601cba1
2013-10-02 16:23:44 +09:00
Yuichiro Hanada 4284e9aae7 Make SparseTable have multiple content tables.
Bug: 10920165
Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e
2013-10-02 15:36:13 +09:00
Jean Chalard a8b838b473 Merge "Fix a test and crash with a better error message when reading" 2013-10-02 06:28:06 +00:00
Satoshi Kataoka 77144a645f Merge "Retain Emoji Keyboard after rotation" 2013-10-02 06:14:14 +00:00
Keisuke Kuroyanagi e95262a875 am 847fdcf7: (-s ours) am 2f14418c: am e628cd3c: (-s ours) Use reentrant lock for main dictionaries. DO NOT MERGE
* commit '847fdcf7089941c6ded7635c6e3a508d092a0557':
2013-10-01 23:10:25 -07:00
Yuichiro Hanada 4b540703fe am 2913ce41: am a0c9846f: am ceb364c0: Fix PrioritizedSerialExecutor.
* commit '2913ce4141be93962ed488495ff3cbcdb74f7cb7':
2013-10-01 23:10:24 -07:00
Keisuke Kuroyanagi b924b2bb1d am 83d1648b: (-s ours) am cecb793f: am ef63947f: (-s ours) Add boundary checking for PtNode Array reading. DO NOT MERGE
* commit '83d1648b2c0132715f4fbc623cc922afe4719bcd':
2013-10-01 23:10:23 -07:00
Keisuke Kuroyanagi 847fdcf708 am 2f14418c: am e628cd3c: (-s ours) Use reentrant lock for main dictionaries. DO NOT MERGE
* commit '2f14418c3176caa09d646d95e5556c11e3b86549':
2013-10-01 22:22:04 -07:00
Yuichiro Hanada 2913ce4141 am a0c9846f: am ceb364c0: Fix PrioritizedSerialExecutor.
* commit 'a0c9846fb99b65a6a4a578eba38f3d4b66056fed':
2013-10-01 22:22:03 -07:00
Keisuke Kuroyanagi 83d1648b2c am cecb793f: am ef63947f: (-s ours) Add boundary checking for PtNode Array reading. DO NOT MERGE
* commit 'cecb793ff36539f5938db764cad73d88fa399192':
2013-10-01 22:22:02 -07:00
Keisuke Kuroyanagi 5e375d428c am 1e113c13: (-s ours) am e628cd3c: Use reentrant lock for main dictionaries. DO NOT MERGE
* commit '1e113c1325de5cc5e1f0956e60652eefd88b2813':
2013-10-01 20:59:24 -07:00
Yuichiro Hanada 6bbaf2f812 am 1ef00b28: am ceb364c0: Fix PrioritizedSerialExecutor.
* commit '1ef00b28a58fe175c721f4b4c04aa903d6e45280':
2013-10-01 20:59:23 -07:00
Keisuke Kuroyanagi 6ed5527804 am 3b3cb4fe: (-s ours) am ef63947f: Add boundary checking for PtNode Array reading. DO NOT MERGE
* commit '3b3cb4fe56e3d9feb9d21952658ec898843e1e47':
2013-10-01 20:59:22 -07:00
Keisuke Kuroyanagi 49410adb1b am dd8ea0a3: (-s ours) am 10fa6a2e: Stop reading dictionary while regenerating. (DO NOT MERGE)
* commit 'dd8ea0a33a768f579d90489f67dbba31e75167c5':
2013-10-01 20:59:21 -07:00
Jean Chalard fa946d4a0f Fix a test and crash with a better error message when reading
When there are too many bigrams, we stop reading the file,
so the file pointer is in an inconsistent place. This means we
have no idea what's going to happen next. It's better to crash
right away.

Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3
2013-10-02 11:48:47 +09:00
Keisuke Kuroyanagi 9b9d17f99c am e628cd3c: (-s ours) Use reentrant lock for main dictionaries. DO NOT MERGE
* commit 'e628cd3c325d97243d4ef1c991f07c084d0cbaac':
  Use reentrant lock for main dictionaries. DO NOT MERGE
2013-10-01 18:45:36 -07:00
Yuichiro Hanada f9ba073d3b am ceb364c0: Fix PrioritizedSerialExecutor.
* commit 'ceb364c0411dbcb38f2bd94f1d2b54eef3b985c1':
  Fix PrioritizedSerialExecutor.
2013-10-01 18:44:42 -07:00
Keisuke Kuroyanagi a609536512 am ef63947f: (-s ours) Add boundary checking for PtNode Array reading. DO NOT MERGE
* commit 'ef63947f7d10bcbb3237661ad480b430d4208833':
  Add boundary checking for PtNode Array reading. DO NOT MERGE
2013-10-01 18:44:41 -07:00
Satoshi Kataoka 5ceae026e0 Retain Emoji Keyboard after rotation
Bug: 10612450
Change-Id: Ie0ae953958d2b0a0a4da651584f1e28b0ba38ae3
2013-10-01 22:59:02 +09:00
Keisuke Kuroyanagi 1e113c1325 am e628cd3c: Use reentrant lock for main dictionaries. DO NOT MERGE
* commit 'e628cd3c325d97243d4ef1c991f07c084d0cbaac':
  Use reentrant lock for main dictionaries. DO NOT MERGE
2013-10-01 05:23:17 -07:00
Yuichiro Hanada 1ef00b28a5 am ceb364c0: Fix PrioritizedSerialExecutor.
* commit 'ceb364c0411dbcb38f2bd94f1d2b54eef3b985c1':
  Fix PrioritizedSerialExecutor.
2013-10-01 05:23:13 -07:00
Keisuke Kuroyanagi 3b3cb4fe56 am ef63947f: Add boundary checking for PtNode Array reading. DO NOT MERGE
* commit 'ef63947f7d10bcbb3237661ad480b430d4208833':
  Add boundary checking for PtNode Array reading. DO NOT MERGE
2013-10-01 05:23:12 -07:00
Satoshi Kataoka 9d76391058 Merge "Unfortunately, hide some broken "emoji"s" 2013-10-01 12:18:13 +00:00
Jean Chalard 74577bedb3 Merge "Implement the heuristic for auto-commit." 2013-10-01 12:10:57 +00:00
Jean Chalard ff9476f10a Merge "Fix typos" 2013-10-01 12:10:37 +00:00