Commit graph

17948 commits

Author SHA1 Message Date
Keisuke Kuroyanagi
03cb8f751a Quit blocking getSuggestion during GC.
Bug: 10831272

Change-Id: I995c619dc18a9120a47f547d31045cb73a9353ec
2013-10-01 12:04:06 +09:00
Baligh Uddin
3efc5b6b99 Import translations. DO NOT MERGE
Change-Id: I8f0db70d71967d115f0684a7661888aa31e751d4
Auto-generated-cl: translation import
2013-09-30 19:06:56 -07:00
Keisuke Kuroyanagi
2f14418c31 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-09-30 18:02:52 -07:00
Yuichiro Hanada
a0c9846fb9 am ceb364c0: Fix PrioritizedSerialExecutor.
* commit 'ceb364c0411dbcb38f2bd94f1d2b54eef3b985c1':
  Fix PrioritizedSerialExecutor.
2013-09-30 18:02:49 -07:00
Keisuke Kuroyanagi
cecb793ff3 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-09-30 18:02:48 -07:00
Keisuke Kuroyanagi
dd8ea0a33a am 10fa6a2e: Stop reading dictionary while regenerating. (DO NOT MERGE)
* commit '10fa6a2e51ff29b81ffaf33d6bc4e3d78bae83e6':
  Stop reading dictionary while regenerating. (DO NOT MERGE)
2013-09-30 17:07:55 -07:00
Keisuke Kuroyanagi
2c1faeda2c am 10fa6a2e: (-s ours) Stop reading dictionary while regenerating. (DO NOT MERGE)
* commit '10fa6a2e51ff29b81ffaf33d6bc4e3d78bae83e6':
  Stop reading dictionary while regenerating. (DO NOT MERGE)
2013-09-30 14:14:17 -07:00
Alan Viverette
458fb52b98 Merge "Speak auto-corrections for accessibility" 2013-09-30 18:14:13 +00:00
Keisuke Kuroyanagi
e628cd3c32 Use reentrant lock for main dictionaries. DO NOT MERGE
cherrypick of Iaa9b79fc770d8ae2ec9d7c362c90c28bc9f65ea8

Bug: 10964805
Change-Id: Id5e67b00bf9594be0591c87407a78146297e0e78
2013-10-01 02:15:05 +09:00
Jean Chalard
bf1beefd08 Merge "Surface the distance after first word for autocommit." 2013-09-30 14:06:02 +00:00
Jean Chalard
da06e385f5 Surface the distance after first word for autocommit.
Bug: 9059617
Change-Id: Ie9b4cc8148ae8e0ff437b3337ab6c1bde95500f5
2013-09-30 23:02:04 +09:00
Keisuke Kuroyanagi
65330d2820 Merge "Implement simple dictionary decay." 2013-09-30 11:56:15 +00:00
Keisuke Kuroyanagi
fd02b2d6ee Implement simple dictionary decay.
Groundwork and implement simple decay.
Increment probability when typed and decrement probability
at GC.

Bug: 6669677

Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe
2013-09-30 20:53:35 +09:00
Keisuke Kuroyanagi
ef084229f6 Merge "Use reentrant lock for main dictionaries." 2013-09-30 09:25:54 +00:00
Keisuke Kuroyanagi
3e6275634b Use reentrant lock for main dictionaries.
Bug: 10964805
Change-Id: Iaa9b79fc770d8ae2ec9d7c362c90c28bc9f65ea8
2013-09-30 18:16:29 +09:00
Jean Chalard
42941dd2fd Merge "Update dictionaries" 2013-09-30 08:36:35 +00:00
Ken Wakasa
25f4782853 Merge "Separate bigram entries from the trie file." 2013-09-30 08:00:01 +00:00
Yuichiro Hanada
fd46e87da2 Separate bigram entries from the trie file.
Bug: 10920165
Change-Id: I42eb7f228994a56c2f31a1c83904c8c360b6d088
2013-09-30 16:42:42 +09:00
Ken Wakasa
d40a931a4d Merge "Change scopes of some methods in DynamicBinaryDictIOUtils." 2013-09-30 07:17:38 +00:00
Jean Chalard
a267ebed5a Update dictionaries
Add KitKat to all dictionaries.
Version
da, fi, pl : 29 → 40
cs, de, hr, it, lt, lv, nb, nl, sl, sr, sv, tr : 35 → 40
es : 36 → 40
en_gb, en_us, en, fr, pt_br, pt_pt : 39 → 40

Bug: 10958192
Change-Id: I14436616285ced5eb3b70b8c44b9243da94eed4f
2013-09-30 07:12:03 +00:00
Jean Chalard
16a6b2a941 Merge "Make dicttool read the compressed combined format." 2013-09-30 06:15:48 +00:00
Yuichiro Hanada
48e01ec111 Make dicttool read the compressed combined format.
Change-Id: Ib39fa110402895a655f4e705caae53397ace9259
2013-09-30 14:59:19 +09:00
Keisuke Kuroyanagi
b698e9c1fa Fix build.
Change-Id: If7c76ca5f7030ba2003228ed1877bdb948b4b99d
2013-09-30 14:21:48 +09:00
Keisuke Kuroyanagi
c18510049a Prepare dictionary decay.
Bug: 6669677
Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
2013-09-30 13:57:54 +09:00
Yuichiro Hanada
dc4f357f6b Change scopes of some methods in DynamicBinaryDictIOUtils.
Change-Id: I1371d41760b38834d1d5ff40e682ac0a6fc9f2e9
2013-09-30 11:32:07 +09:00
Keisuke Kuroyanagi
1cf4789ba6 Merge "Set header attributes for ExpandableBinaryDictionary." 2013-09-29 05:14:22 +00:00
Yuichiro Hanada
ceb364c041 Fix PrioritizedSerialExecutor.
It was possible that fetchNextTasks() would be called by multiple
threads concurrently.
If it happens, some tasks in the task queues might be ignored.

cherrypick of Idc81c43c45e382da3850cc55b9a42c281548d2a8

bug: 10957075
Change-Id: I41bf90dda15306ee879350f96a791d940ea31da1
2013-09-29 11:41:13 +09:00
Keisuke Kuroyanagi
ef63947f7d Add boundary checking for PtNode Array reading. DO NOT MERGE
cheery-pick of Iea5e19d98d2fc26f137046dd5f8e339239672351

Bug: 10957075
Change-Id: I3f1806c32fe480f2e7422d3a945932b9cc0cd98b
2013-09-29 11:39:09 +09:00
Satoshi Kataoka
b0c5ddb9c7 Merge "Stop vibration while repeating delete key in emoji view" 2013-09-28 10:37:57 +00:00
Satoshi Kataoka
d0df68e6cb Stop vibration while repeating delete key in emoji view
Bug: 10960355
Change-Id: Ic1fdecdbcab4082c5383623c1f2575e3976ebe27
2013-09-28 17:02:58 +09:00
Keisuke Kuroyanagi
5ed30a7660 Set header attributes for ExpandableBinaryDictionary.
Bug: 6669677

Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
2013-09-28 12:50:09 +09:00
Alan Viverette
67319f92f3 Speak auto-corrections for accessibility
BUG: 8669376
Change-Id: Id71b2c2835daa7a8c9d6c92c57a7e302551c289d
2013-09-27 14:15:53 -07:00
Satoshi Kataoka
a6e2ec53b6 Merge "Reduce Emoji size" 2013-09-27 17:24:58 +00:00
Satoshi Kataoka
b44efbdcc0 Reduce Emoji size
Change-Id: Ie9dec82c0edde70a75fffeb7c86c14e05f468207
2013-09-28 02:02:47 +09:00
Satoshi Kataoka
4dc2b9131f Merge "Fix possible NPE in KeyboardSwitcher" 2013-09-27 16:52:32 +00:00
Satoshi Kataoka
adbb979b56 Fix possible NPE in KeyboardSwitcher
Bug: 10964306
Change-Id: Ibcea76da746f6cac92c8d91425d25d04ade62af0
2013-09-28 01:19:18 +09:00
Keisuke Kuroyanagi
10fa6a2e51 Stop reading dictionary while regenerating. (DO NOT MERGE)
Cherrypick of Iead7268a9371b48d729a5f65074ccbc05f3185db

Bug: 10831272
Change-Id: Ib6f314ac68696616532ff9c05c7f35813137bf9f
2013-09-28 00:36:39 +09:00
Keisuke Kuroyanagi
68bc4ba5c2 Merge "Add boundary checking for PtNode Array reading." 2013-09-27 14:25:24 +00:00
Keisuke Kuroyanagi
8b580819a5 Merge "Add unigram/bigram counting." 2013-09-27 14:14:49 +00:00
Keisuke Kuroyanagi
31097a57cc Add unigram/bigram counting.
Bug: 6669677
Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
2013-09-27 23:12:12 +09:00
Keisuke Kuroyanagi
67cb282b64 Add boundary checking for PtNode Array reading.
Bug: 6669677
Change-Id: Iea5e19d98d2fc26f137046dd5f8e339239672351
2013-09-27 22:28:54 +09:00
Keisuke Kuroyanagi
e74d4a184b Stop reading dictionary while regenerating.
Bug: 10831272

Change-Id: Iead7268a9371b48d729a5f65074ccbc05f3185db
2013-09-27 21:44:26 +09:00
Jean Chalard
b7dfacd31e Merge "Send backspace as an event when TYPE_NULL." 2013-09-27 08:00:43 +00:00
Jean Chalard
de814ec0ec Send backspace as an event when TYPE_NULL.
This is not enough to really fix behavior with TYPE_NULL,
but it does make things a bit better.

Bug: 10949594
Change-Id: Ia359f781cdd76a2e2c5a4c9f166025d81b931174
2013-09-27 16:55:12 +09:00
Yuichiro Hanada
a328f538c3 Fix PrioritizedSerialExecutor.
It was possible that fetchNextTasks() would be called by multiple
threads concurrently.
If it happens, some tasks in the task queues might be ignored.

Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8
2013-09-27 16:46:34 +09:00
Yuichiro Hanada
781feb748c Remove unused methods.
Change-Id: I542db0c717c0bc05c8baa08f1e9db0a05946a99b
2013-09-27 12:34:38 +09:00
Baligh Uddin
45de3925d8 Merge "Import translations. DO NOT MERGE" 2013-09-26 15:02:33 +00:00
Baligh Uddin
15da61b7b1 am cd2923a6: keep history after reset to jb-ub-latinimegoogle-bayo
* commit 'cd2923a68198a19618bb8b0f483f5b5d95c22d04':
2013-09-26 07:51:10 -07:00
Baligh Uddin
bca73335a8 am 2aea83a4: (-s ours) keep history after reset to jb-ub-latinimegoogle-bayo
* commit '2aea83a4f99646cb24221cf16c2a9f7bc059a30e':
2013-09-26 07:51:08 -07:00
Satoshi Kataoka
9903f41904 am 6f9d9e9b: am 27add2a2: am 175d4e55: am a7885e52: am 3d12edab: am e1829730: am 14175662: am b949db38: am 51c0380f: am d7c3c523: am 7a3bc77b: am b980adab: am a9ef902c: am 70747ad6: am 97a3ce02: Merge "Refactor"
* commit '6f9d9e9bb734051e3d3bd7301a6a6957b0624b40':
2013-09-26 06:25:27 -07:00