Commit graph

17494 commits

Author SHA1 Message Date
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
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
Jean Chalard
3e954347e3 Fix typos
I think I may pass out from the sheer ugliness

Change-Id: I1e709f03ef47ec713552d41fd9e37e01b810ae88
2013-10-01 21:08:14 +09:00
Satoshi Kataoka
c7e6f3dbc3 Unfortunately, hide some broken "emoji"s
Bug: 10923117
Change-Id: I27ba38e5f388cc15ae331fd05d63db4e4a41cbbf
2013-10-01 21:02:59 +09:00
Jean Chalard
459cd6f8ef Implement the heuristic for auto-commit.
Bug: 9059617
Change-Id: I066abf018df5aaeabf415425dd822ebe233e6008
2013-10-01 21:00:40 +09:00
Jean Chalard
2afa0e621e Merge "Fix a bug where gesture would delay update." 2013-10-01 11:21:59 +00:00
Jean Chalard
b1e6eeea57 Fix a bug where gesture would delay update.
Change-Id: I94c394f45f2717bc1a4b95692a5757c1e7179152
2013-10-01 20:06:36 +09:00
Ken Wakasa
382094a784 Merge "Cleanup and remove redundant more keys on phones" 2013-10-01 10:29:15 +00:00
Ken Wakasa
194c636055 Merge "Swap keys: exclamation, question, period, comma." 2013-10-01 10:03:08 +00:00
Ken Wakasa
e56c2f979f Cleanup and remove redundant more keys on phones
Change-Id: I419c3c119eb1e4d2e877c8c00564e46f40b6abc2
2013-10-01 19:02:09 +09:00
Ken Wakasa
b23a67529b Swap keys: exclamation, question, period, comma.
bug: 11003945
Change-Id: If9ff0487ebbb1c25c8b13eaa55615255921c61c6
2013-10-01 18:35:41 +09:00
Keisuke Kuroyanagi
e89a179b10 Merge "Separate "GC" and "GC with decay"." 2013-10-01 09:22:00 +00:00