aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SynchronouslyLoadedUserBinaryDictionary.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-10-04Do not merge. Revert emoji key position to JB-mr2•••Cherry pick of Ie2033b2f5253b2e2 Bug: 10954182 Change-Id: I9cc61e27a207055d5a43fe3da6fd1ec63bae49fd Satoshi Kataoka4-4/+26
2013-10-03Fix: Native crash when an empty attribute is written. DO NOT MERGE•••Bug: 10964805 Change-Id: I862a6b920a7a09eac4e012bfe75f087b2d7b4fe6 Keisuke Kuroyanagi1-0/+3
2013-10-02Fix 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 Jean Chalard2-0/+3
2013-10-02Correspond to the security related API change for PreferenceActivity•••Bug: 10118761 Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f Satoshi Kataoka4-2/+30
2013-10-02Change name of DecayingUtils.•••Bug: 6669677 Change-Id: I97839b2184b95ae1659c55a9b31d22e2d601cba1 Keisuke Kuroyanagi7-46/+49
2013-10-02Make SparseTable have multiple content tables.•••Bug: 10920165 Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e Yuichiro Hanada4-89/+157
2013-10-02Fix 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 Jean Chalard3-3/+7
2013-10-01Retain Emoji Keyboard after rotation•••Bug: 10612450 Change-Id: Ie0ae953958d2b0a0a4da651584f1e28b0ba38ae3 Satoshi Kataoka2-4/+2
2013-10-01Fix typos•••I think I may pass out from the sheer ugliness Change-Id: I1e709f03ef47ec713552d41fd9e37e01b810ae88 Jean Chalard6-19/+19
2013-10-01Unfortunately, hide some broken "emoji"s•••Bug: 10923117 Change-Id: I27ba38e5f388cc15ae331fd05d63db4e4a41cbbf Satoshi Kataoka3-26/+56
2013-10-01Implement the heuristic for auto-commit.•••Bug: 9059617 Change-Id: I066abf018df5aaeabf415425dd822ebe233e6008 Jean Chalard6-21/+90
2013-10-01Fix a bug where gesture would delay update.•••Change-Id: I94c394f45f2717bc1a4b95692a5757c1e7179152 Jean Chalard1-2/+4
2013-10-01Cleanup and remove redundant more keys on phones•••Change-Id: I419c3c119eb1e4d2e877c8c00564e46f40b6abc2 Ken Wakasa8-28/+115
2013-10-01Swap keys: exclamation, question, period, comma.•••bug: 11003945 Change-Id: If9ff0487ebbb1c25c8b13eaa55615255921c61c6 Ken Wakasa3-20/+20
2013-10-01Separate "GC" and "GC with decay".•••Bug: 6669677 Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467 Keisuke Kuroyanagi13-32/+77
2013-10-01Tentatively revert inconsistent assets•••Change-Id: I90f0ffed57f0efa9f01adb969fd499e2dcd2a0dc Satoshi Kataoka5-0/+1
2013-10-01Add skipPtNode to DictDecoders.•••Change-Id: I042ff041b68572182c87dc87db6a6aa2bbbefc6c Yuichiro Hanada4-0/+50
2013-10-01Hide indication bar if only one page•••Bug: 10923117 Change-Id: If81bf07ba2e7c4fff44a8832f98b4a393c15edc7 Satoshi Kataoka1-2/+3
2013-10-01Create the wiring for auto-commit confidence computation.•••Bug: 9059617 Change-Id: I7e4e05ffa8c68cfebbe362a977fd176555cad12a Jean Chalard8-13/+38
2013-10-01Quit blocking getSuggestion during GC.•••Bug: 10831272 Change-Id: I995c619dc18a9120a47f547d31045cb73a9353ec Keisuke Kuroyanagi2-12/+21
2013-09-30Import translations. DO NOT MERGE•••Change-Id: I8f0db70d71967d115f0684a7661888aa31e751d4 Auto-generated-cl: translation import Baligh Uddin57-3/+231
2013-09-30Import translations. DO NOT MERGE•••Change-Id: I01400792a62f3f5bb11794b32930e788fa0af045 Auto-generated-cl: translation import Baligh Uddin51-0/+204
2013-10-01Use reentrant lock for main dictionaries. DO NOT MERGE•••cherrypick of Iaa9b79fc770d8ae2ec9d7c362c90c28bc9f65ea8 Bug: 10964805 Change-Id: Id5e67b00bf9594be0591c87407a78146297e0e78 Keisuke Kuroyanagi2-16/+135
2013-09-30Surface the distance after first word for autocommit.•••Bug: 9059617 Change-Id: Ie9b4cc8148ae8e0ff437b3337ab6c1bde95500f5 Jean Chalard6-10/+51
2013-09-30Implement simple dictionary decay.•••Groundwork and implement simple decay. Increment probability when typed and decrement probability at GC. Bug: 6669677 Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe Keisuke Kuroyanagi13-39/+572
2013-09-30Use reentrant lock for main dictionaries.•••Bug: 10964805 Change-Id: Iaa9b79fc770d8ae2ec9d7c362c90c28bc9f65ea8 Keisuke Kuroyanagi2-16/+135
2013-09-30Separate bigram entries from the trie file.•••Bug: 10920165 Change-Id: I42eb7f228994a56c2f31a1c83904c8c360b6d088 Yuichiro Hanada5-31/+143
2013-09-30Update 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 Jean Chalard28-0/+0
2013-09-30Make dicttool read the compressed combined format.•••Change-Id: Ib39fa110402895a655f4e705caae53397ace9259 Yuichiro Hanada3-18/+20
2013-09-30Fix build.•••Change-Id: If7c76ca5f7030ba2003228ed1877bdb948b4b99d Keisuke Kuroyanagi1-1/+1
2013-09-30Prepare dictionary decay.•••Bug: 6669677 Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7 Keisuke Kuroyanagi16-47/+62
2013-09-30Change scopes of some methods in DynamicBinaryDictIOUtils.•••Change-Id: I1371d41760b38834d1d5ff40e682ac0a6fc9f2e9 Yuichiro Hanada1-3/+3
2013-09-29Fix 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 Yuichiro Hanada4-47/+46
2013-09-29Add boundary checking for PtNode Array reading. DO NOT MERGE•••cheery-pick of Iea5e19d98d2fc26f137046dd5f8e339239672351 Bug: 10957075 Change-Id: I3f1806c32fe480f2e7422d3a945932b9cc0cd98b Keisuke Kuroyanagi3-1/+21
2013-09-28Stop vibration while repeating delete key in emoji view•••Bug: 10960355 Change-Id: Ic1fdecdbcab4082c5383623c1f2575e3976ebe27 Satoshi Kataoka1-4/+6
2013-09-28Set header attributes for ExpandableBinaryDictionary.•••Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523 Keisuke Kuroyanagi14-77/+82
2013-09-27Import translations. DO NOT MERGE•••Change-Id: I594dd10bc1faf60c39c0357961f9ac1bde87df7a Auto-generated-cl: translation import Baligh Uddin2-2/+2
2013-09-27Import translations. DO NOT MERGE•••Change-Id: I5bd23631db3ec46db31fedfe2ac2a3f2244be110 Auto-generated-cl: translation import Baligh Uddin7-2/+137
2013-09-27Import translations. DO NOT MERGE•••Change-Id: I4def1991a7133c4ea653882044bf6c7a49dcbcfd Auto-generated-cl: translation import Baligh Uddin2-2/+2
2013-09-27Speak auto-corrections for accessibility•••BUG: 8669376 Change-Id: Id71b2c2835daa7a8c9d6c92c57a7e302551c289d Alan Viverette4-2/+73
2013-09-28Reduce Emoji size•••Change-Id: Ie9dec82c0edde70a75fffeb7c86c14e05f468207 Satoshi Kataoka6-6/+6
2013-09-28Fix possible NPE in KeyboardSwitcher•••Bug: 10964306 Change-Id: Ibcea76da746f6cac92c8d91425d25d04ade62af0 Satoshi Kataoka1-1/+1
2013-09-28Stop reading dictionary while regenerating. (DO NOT MERGE)•••Cherrypick of Iead7268a9371b48d729a5f65074ccbc05f3185db Bug: 10831272 Change-Id: Ib6f314ac68696616532ff9c05c7f35813137bf9f Keisuke Kuroyanagi1-62/+88
2013-09-27Add unigram/bigram counting.•••Bug: 6669677 Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c Keisuke Kuroyanagi20-101/+339
2013-09-27Add boundary checking for PtNode Array reading.•••Bug: 6669677 Change-Id: Iea5e19d98d2fc26f137046dd5f8e339239672351 Keisuke Kuroyanagi3-1/+21
2013-09-27Stop reading dictionary while regenerating.•••Bug: 10831272 Change-Id: Iead7268a9371b48d729a5f65074ccbc05f3185db Keisuke Kuroyanagi1-62/+88
2013-09-27Send 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 Jean Chalard2-9/+17
2013-09-27Fix 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 Yuichiro Hanada4-47/+46
2013-09-27Remove unused methods.•••Change-Id: I542db0c717c0bc05c8baa08f1e9db0a05946a99b Yuichiro Hanada1-41/+0
2013-09-26Update 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 Jean Chalard9-0/+0