Commit Graph

8665 Commits (3977cc97528df0851d9b671578181d64c6b7a210)

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
Baligh Uddin 985e6d7fc9 Import translations. DO NOT MERGE
Change-Id: I01400792a62f3f5bb11794b32930e788fa0af045
Auto-generated-cl: translation import
2013-09-30 19:01:45 -07:00
Alan Viverette 1e2543f125 am 458fb52b: Merge "Speak auto-corrections for accessibility"
* commit '458fb52b985d9c4f37b82689b573d42f95487a32':
  Speak auto-corrections for accessibility
2013-09-30 11:16:36 -07:00
Alan Viverette 458fb52b98 Merge "Speak auto-corrections for accessibility" 2013-09-30 18:14:13 +00:00
Keisuke Kuroyanagi 12d3bd228d am 65330d28: Merge "Implement simple dictionary decay."
* commit '65330d2820f61aaad6094db6738017aa77a64581':
  Implement simple dictionary decay.
2013-09-30 05:01:49 -07: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 a4c73066d7 am ef084229: Merge "Use reentrant lock for main dictionaries."
* commit 'ef084229f646853cff4eef55e2069eb4b93f14e6':
  Use reentrant lock for main dictionaries.
2013-09-30 02:27:16 -07: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 90f74e23f7 am 42941dd2: Merge "Update dictionaries"
* commit '42941dd2fd2a6b3a89cbb7ab733980465b4895a6':
  Update dictionaries
2013-09-30 01:38:38 -07:00
Jean Chalard 42941dd2fd Merge "Update dictionaries" 2013-09-30 08:36:35 +00:00
Ken Wakasa af5511c830 am 25f47828: Merge "Separate bigram entries from the trie file."
* commit '25f47828539f4af34b081afb4553e9e56fbcdbf3':
  Separate bigram entries from the trie file.
2013-09-30 01:02:30 -07: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 2b73561cd7 am d40a931a: Merge "Change scopes of some methods in DynamicBinaryDictIOUtils."
* commit 'd40a931a4d9ab6e49e6d8689f2087937ea168147':
  Change scopes of some methods in DynamicBinaryDictIOUtils.
2013-09-30 00:18:59 -07: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
Keisuke Kuroyanagi 0aaf42b4ca am c1851004: Prepare dictionary decay.
* commit 'c18510049a3422c88ed3ab3bbc64944c94a611fd':
  Prepare dictionary decay.
2013-09-29 22:18:00 -07: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 f2800fc6f4 am 1cf4789b: Merge "Set header attributes for ExpandableBinaryDictionary."
* commit '1cf4789ba6abb5855392d542bb075c12d2d9b6a0':
  Set header attributes for ExpandableBinaryDictionary.
2013-09-28 22:16:07 -07:00
Keisuke Kuroyanagi 1cf4789ba6 Merge "Set header attributes for ExpandableBinaryDictionary." 2013-09-29 05:14:22 +00:00
Satoshi Kataoka 9c6e7e233e am b0c5ddb9: Merge "Stop vibration while repeating delete key in emoji view"
* commit 'b0c5ddb9c7a27f71ab63ec3362a476ec052f5bd0':
  Stop vibration while repeating delete key in emoji view
2013-09-28 03:40:24 -07: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
Baligh Uddin 12d095eae8 Import translations. DO NOT MERGE
Change-Id: I4def1991a7133c4ea653882044bf6c7a49dcbcfd
Auto-generated-cl: translation import
2013-09-27 15:37:59 -07:00
Alan Viverette 67319f92f3 Speak auto-corrections for accessibility
BUG: 8669376
Change-Id: Id71b2c2835daa7a8c9d6c92c57a7e302551c289d
2013-09-27 14:15:53 -07:00
Satoshi Kataoka 6f855d0629 am a6e2ec53: Merge "Reduce Emoji size"
* commit 'a6e2ec53b6f46491bd23bda6a0d734b820fd8a01':
  Reduce Emoji size
2013-09-27 10:26:47 -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 36301d555f am 4dc2b913: Merge "Fix possible NPE in KeyboardSwitcher"
* commit '4dc2b9131f48df86e071e5ecfc8db7cd408b154e':
  Fix possible NPE in KeyboardSwitcher
2013-09-27 09:54:38 -07: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 de12fcb0f2 am 8b580819: Merge "Add unigram/bigram counting."
* commit '8b580819a580527418ba96f1a7cda699bff772ba':
  Add unigram/bigram counting.
2013-09-27 07:17:37 -07: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 be6076b050 am e74d4a18: Stop reading dictionary while regenerating.
* commit 'e74d4a184bbd06ddb607f81147ed827b9dd1ba17':
  Stop reading dictionary while regenerating.
2013-09-27 06:01:38 -07:00
Keisuke Kuroyanagi e74d4a184b Stop reading dictionary while regenerating.
Bug: 10831272

Change-Id: Iead7268a9371b48d729a5f65074ccbc05f3185db
2013-09-27 21:44:26 +09:00
Jean Chalard 4ac33aca69 am b7dfacd3: Merge "Send backspace as an event when TYPE_NULL."
* commit 'b7dfacd31e894247ee2523f250dbadc06dd0bf4b':
  Send backspace as an event when TYPE_NULL.
2013-09-27 01:02:01 -07:00
Jean Chalard b7dfacd31e Merge "Send backspace as an event when TYPE_NULL." 2013-09-27 08:00:43 +00:00
Yuichiro Hanada 1e886ac5b6 am a328f538: Fix PrioritizedSerialExecutor.
* commit 'a328f538c34ad2dafdfa53642085cb1072224d80':
  Fix PrioritizedSerialExecutor.
2013-09-27 00:58:49 -07: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 704ab0f6ae am 781feb74: Remove unused methods.
* commit '781feb748cc59d3d34e9b52553cac192f1699dce':
  Remove unused methods.
2013-09-26 21:00:24 -07: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
Jean Chalard bf3e508ddd am 2fc0c422: Merge "Update dictionaries"
* commit '2fc0c4224bad805e85d09fedea8a9a4719523477':
  Update dictionaries
2013-09-26 05:57:54 -07:00
Keisuke Kuroyanagi 0ae51a5e62 am e3e10317: Merge "Create empty dictionary file in native code."
* commit 'e3e10317b0e5c02ea95eea0100ab696e9c928f36':
  Create empty dictionary file in native code.
2013-09-26 05:57:48 -07:00
Yuichiro Hanada 11cccb569f am d188af70: Add SparseTable.
* commit 'd188af70227ae7003fa410ccf4038a57825ae385':
  Add SparseTable.
2013-09-26 05:57:46 -07:00
Ken Wakasa 84f6b2c0ee am 5f8eba02: Merge "Revert inconsistent assets"
* commit '5f8eba02d0c42a8e6e3dbc272d2a6156c6a74d3b':
  Revert inconsistent assets
2013-09-26 05:57:38 -07:00
Jean Chalard 2fc0c4224b Merge "Update dictionaries" 2013-09-26 09:05:00 +00:00
Jean Chalard 50b36e2a4b Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1374721653 <=> 1380099152
  version : 36 <=> 39
Body :
Freq changed: gay 127 -> 10
Added: draft 138

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1374721654 <=> 1380099152
  version : 36 <=> 39
Body :
Freq changed: gay 127 -> 10

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1374721663 <=> 1380099172
  version : 36 <=> 39
Body :
Freq changed: gay 127 -> 10

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1376888819 <=> 1380099153
  version : 37 <=> 39
Body :
Added: septembre 150

>>> dictionaries/pt_BR_wordlist.combined.gz
Header :
  date : 1376884524 <=> 1380099168
  version : 37 <=> 39
Body :
Freq changed: atras 87 -> 0
Not a word: atras false -> true
Shortcut added: atras atrás 15
Shortcut added: cade cadê 15
Shortcut added: cafe café 15
Shortcut added: ferias férias 15
Shortcut added: musica música 15
Shortcut added: musicas músicas 15

>>> dictionaries/pt_PT_wordlist.combined.gz
Header :
  date : 1376884536 <=> 1380099168
  version : 37 <=> 39
Body :
Shortcut added: atras atrás 15
Shortcut added: cade cadê 15
Shortcut added: ferias férias 15
Shortcut added: musica música 15
Shortcut added: musicas músicas 15
Added: cafe 0

>>> java/res/raw/main_en.dict
Header :
  date : 1374721663 <=> 1380099172
  version : 36 <=> 39
Body :
Freq changed: gay 127 -> 10

>>> java/res/raw/main_fr.dict
Header :
  date : 1376888819 <=> 1380099153
  version : 37 <=> 39
Body :
Added: septembre 150

>>> java/res/raw/main_pt_br.dict
Header :
  date : 1376884524 <=> 1380099168
  version : 37 <=> 39
Body :
Freq changed: atras 87 -> 0
Not a word: atras false -> true
Shortcut added: atras atrás 15
Shortcut added: cade cadê 15
Shortcut added: cafe café 15
Shortcut added: ferias férias 15
Shortcut added: musica música 15
Shortcut added: musicas músicas 15

Bug: 10504313
Bug: 10507536
Bug: 10561100
Change-Id: I4267c76cf0de221a703523d5f2dd2befbaf020a0
2013-09-26 08:34:53 +00:00
Keisuke Kuroyanagi e3e10317b0 Merge "Create empty dictionary file in native code." 2013-09-26 08:03:38 +00:00
Baligh Uddin f13b168c22 Import translations. DO NOT MERGE
Change-Id: I98ca117f651330bfa7eafbf7f7196cf3780c4ef1
Auto-generated-cl: translation import
2013-09-26 00:57:28 -07:00
Yuichiro Hanada d188af7022 Add SparseTable.
Bug: 10920165
Change-Id: I749dd0269e788799e30b10beb2671813d40ce15f
2013-09-26 16:16:30 +09:00
Ken Wakasa 5f8eba02d0 Merge "Revert inconsistent assets" 2013-09-26 06:10:46 +00:00
Satoshi Kataoka d4cae4fab3 Revert inconsistent assets
Bug: 10786040

Change-Id: Ic9ead001879d7b5ff0b85529dd0c9afdbe2f7478
2013-09-26 14:52:52 +09:00
Keisuke Kuroyanagi 5ef6209656 Create empty dictionary file in native code.
Bug: 6669677
Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
2013-09-26 12:59:02 +09:00
Ken Wakasa 6c0e48b1ad am 4350a93a: Merge "Fix the offdevice regression test build"
* commit '4350a93aa5447f92304bea3f8bbf00bbf6c35498':
  Fix the offdevice regression test build
2013-09-25 08:10:08 -07:00
Keisuke Kuroyanagi a2174bad22 am 5fa96540: Merge "Clear traverse sessions when closing."
* commit '5fa96540456f172b6dbbefe45061738916915cbb':
  Clear traverse sessions when closing.
2013-09-25 08:10:07 -07:00
Satoshi Kataoka c536d27c69 am 6e41d9a4: Merge "Input delete onUpKey"
* commit '6e41d9a4795574ce33b944d953b517394697f2ff':
  Input delete onUpKey
2013-09-25 08:10:05 -07:00
Ken Wakasa b2956ef5cf am 399422f4: Merge "Make Ver4DictEncoder write an address table of terminal nodes."
* commit '399422f4b9f06c6692f18318c84f17c61ae83f9a':
  Make Ver4DictEncoder write an address table of terminal nodes.
2013-09-25 08:10:03 -07:00
Satoshi Kataoka 5512b300ef am 1e69f3e6: Fix emoji page
* commit '1e69f3e637238407492aab536760644aca33f38d':
  Fix emoji page
2013-09-25 08:10:02 -07:00
Satoshi Kataoka 400ec7c5a6 am 0938fb69: Allow gesture from the delete key
* commit '0938fb6913c10d32f0a870210fc208c7bbfe282c':
  Allow gesture from the delete key
2013-09-25 08:10:00 -07:00
Satoshi Kataoka daa9eac90d am 9c3b2dbe: Fix emoji state
* commit '9c3b2dbe3434fbe5117b66fa4911c8de0ea6bde6':
  Fix emoji state
2013-09-25 08:09:58 -07:00
Ken Wakasa 4350a93aa5 Merge "Fix the offdevice regression test build" 2013-09-25 10:30:18 +00:00
Ken Wakasa f56b82f809 Fix the offdevice regression test build
Followup to If4e44eca3cdc5bb02cf2e0c8c44ecd4bf27fae57

bug: 10622489
Change-Id: If98b2c75725f8692f0c2b41c33e448086404479b
2013-09-25 19:13:47 +09:00
Keisuke Kuroyanagi 5fa9654045 Merge "Clear traverse sessions when closing." 2013-09-25 10:06:33 +00:00
Satoshi Kataoka 6e41d9a479 Merge "Input delete onUpKey" 2013-09-25 10:02:24 +00:00
Satoshi Kataoka a456e3f659 Input delete onUpKey
to avoid deletion when the user starts gesture from the delete key

Bug: 7303982
Change-Id: If4b3e6287ceee1cf9f72a1d92f2a6789065da454
2013-09-25 18:55:57 +09:00
Keisuke Kuroyanagi 6142068a33 Clear traverse sessions when closing.
Bug: 6669677
Change-Id: I859be934f0c60485e04cdc4cab288a18242fa04e
2013-09-25 18:32:40 +09:00
Ken Wakasa 399422f4b9 Merge "Make Ver4DictEncoder write an address table of terminal nodes." 2013-09-25 08:45:39 +00:00
Satoshi Kataoka 1e69f3e637 Fix emoji page
Bug: 10538430
Change-Id: If4d5ebb26e7ead259e8f370462ccf4c9dbf734f8
2013-09-25 17:20:27 +09:00
Yuichiro Hanada 22c5c450fe Make Ver4DictEncoder write an address table of terminal nodes.
Bug: 10920165
Change-Id: I86017456ea9fa5d6e12b57172c34f5ed4f88ef94
2013-09-25 17:03:54 +09:00
Satoshi Kataoka 0938fb6913 Allow gesture from the delete key
And inputting unexpected word while repeating the gesture
Bug: 7303982
Change-Id: I17bb6a689397500fa0e26706d6e07e427ea0b4d7
2013-09-25 14:15:43 +09:00
Baligh Uddin 6460cc71cd Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-09-25 04:11:12 +00:00
Baligh Uddin 6ba9fcfc49 Import translations. DO NOT MERGE
Change-Id: Ia8d7ae751f258874103dc0e79ef46928d51ac026
Auto-generated-cl: translation import
2013-09-24 21:07:22 -07:00
Satoshi Kataoka 9c3b2dbe34 Fix emoji state
Bug: 10919260
Change-Id: I85e897b2de10f147bba40dd2147e041e26f5b8ad
2013-09-25 11:59:21 +09:00
Satoshi Kataoka 0f75a055bc am 431158c9: Turn off emoji palette on JB-MR2
* commit '431158c9395bfd2b527c049d05e6d4e9f9134cf9':
  Turn off emoji palette on JB-MR2
2013-09-24 19:46:25 -07:00
Satoshi Kataoka 431158c939 Turn off emoji palette on JB-MR2
Bug: 10919260

Change-Id: Ie5a0342386baae61285412786162e74746272538
2013-09-25 11:41:46 +09:00
Baligh Uddin 46fdc6fd23 Merge "Import translations. DO NOT MERGE" 2013-09-24 22:18:27 +00:00
Baligh Uddin 0f6eca4af4 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-09-24 22:18:19 +00:00
Keisuke Kuroyanagi f05aeb64d9 am 2e58670d: Quit using ExpandableDictionary.
* commit '2e58670da9687fd1fd28c322e03343957d11568c':
  Quit using ExpandableDictionary.
2013-09-24 07:08:08 -07:00
Keisuke Kuroyanagi 2e58670da9 Quit using ExpandableDictionary.
Bug: 6669677
Change-Id: Ie90417fa9b726454fe729a665fcd549efabb9e94
2013-09-24 22:57:15 +09:00
Satoshi Kataoka 8d7365d4c0 am d1ae0304: Fix OOBE in JB backword
* commit 'd1ae03046c1b502117129831286ed4ea0828740f':
  Fix OOBE in JB backword
2013-09-24 05:20:10 -07:00
Satoshi Kataoka d1ae03046c Fix OOBE in JB backword
Bug: 10905948
Change-Id: I4e953296ce3067d05fc5759375f40513580484a6
2013-09-24 21:14:48 +09:00
Satoshi Kataoka 947592496f am f068c6e6: Merge "Low memory mode in UserHistory"
* commit 'f068c6e656fae4516b6ac09b4e9cb8a7371a14c7':
  Low memory mode in UserHistory
2013-09-24 04:40:18 -07:00
Satoshi Kataoka f068c6e656 Merge "Low memory mode in UserHistory" 2013-09-24 11:37:39 +00:00
Satoshi Kataoka 97485273d7 Low memory mode in UserHistory
Bug: 8967766
Change-Id: Id40f54f4d9f43d1f796377983a5fc0ca3417e133
2013-09-24 20:36:31 +09:00
Jean Chalard 1a46424dd5 am f6009233: Merge "Tweak for armenian periods and commas."
* commit 'f600923376afab0295b25451887450edaffeda7c':
  Tweak for armenian periods and commas.
2013-09-24 04:28:42 -07:00
Jean Chalard f600923376 Merge "Tweak for armenian periods and commas." 2013-09-24 11:20:04 +00:00
Satoshi Kataoka 0f3e55dcfc am 445ba578: Merge "Add a utility of isLowRamDevice"
* commit '445ba57814213c5bc897dbd9b43a4b0b231124ab':
  Add a utility of isLowRamDevice
2013-09-24 03:56:26 -07:00
Satoshi Kataoka 445ba57814 Merge "Add a utility of isLowRamDevice" 2013-09-24 10:55:11 +00:00
Satoshi Kataoka 03e55efe03 Add a utility of isLowRamDevice
Bug: 8967766

Change-Id: Id7132d1155bb3489bdab72d613289335945808e8
2013-09-24 19:53:35 +09:00
Jean Chalard 933cc808d9 Tweak for armenian periods and commas.
Bug: 7963631
Change-Id: I2eb110949f3d3b7817dbd9448654954fdee39ac2
2013-09-24 19:48:17 +09:00
Ken Wakasa 3d77934ec1 am 55e7b360: Merge "More tweaks for Armenian layouts"
* commit '55e7b3606bdff801543e21d0cef13b97ab0d5aaa':
  More tweaks for Armenian layouts
2013-09-24 03:35:05 -07:00
Ken Wakasa 55e7b3606b Merge "More tweaks for Armenian layouts" 2013-09-24 10:33:21 +00:00