aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-08Add more_keys_for_* declarations for the Swedish keyboard.Fredrik Roubert1-14/+51
This adds all those popup keys that were included in commit b1cb13292f482627e64ccb35be905b7f3154d4ff when the Swedish keyboard was first added. Many of these definitions were later removed by commit 79b965e04f81ac5c49c84a386566a1aa68752af6 but most likely by mistake, as that commit log message doesn't mention anything about removing these. To help making this file more maintainable, this commit also moves a few definitions around so that all definitions now appear in alphabetical order. Change-Id: Iadef9e3dd1dc7b39fe87b2fc75210d0697b24361
2013-10-08Reduce memory of emoji paletteSatoshi Kataoka3-5/+34
Bug: 10902556 Change-Id: I3c8da35a601de2bfb248292c7b59235fc1120988
2013-10-08Update dictionariesJean Chalard6-0/+0
>>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1381130519 <=> 1381226409 version : 41 <=> 42 Body : Added: haha 45 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1380293342 <=> 1381226409 version : 40 <=> 42 Body : Added: haha 45 >>> dictionaries/en_wordlist.combined.gz Header : date : 1380293363 <=> 1381226429 version : 40 <=> 42 Body : Added: haha 45 >>> dictionaries/fr_wordlist.combined.gz Header : date : 1380519383 <=> 1381226409 version : 40 <=> 42 Body : Freq changed: haha 0 -> 30 >>> java/res/raw/main_en.dict Header : date : 1380293363 <=> 1381226429 version : 40 <=> 42 Body : Added: haha 45 >>> java/res/raw/main_fr.dict Header : date : 1380519383 <=> 1381226409 version : 40 <=> 42 Body : Freq changed: haha 0 -> 30 Bug: 11114205 Change-Id: I39d429d24d93ee07a70d8613ce0752432b26acc4
2013-10-08Fix memory leak in EmojiPaletteViewSatoshi Kataoka1-3/+6
Bug: 10902556 Change-Id: I3a8c1e08d6f953b462d914acd1f411c36f9d80f2
2013-10-08Prep for RAM footprint optimization for Emoji palettesKen Wakasa3-10/+15
bug: 10902556 Change-Id: I313948c73b60cd33c437cf02e8d3fb61c288a240
2013-10-08Show more messages when reading a compressed combined format file.Yuichiro Hanada1-1/+5
Change-Id: I51a1b9454fcfe656e0fcf762dcfd9ecbadde86c3
2013-10-08Show the keyboard earlier when rotating.Jean Chalard1-4/+5
Bug: 11107229 Change-Id: I0b36341d60b634a860eb13fafd0dc69fe734bdeb
2013-10-08Fix offdevice test build.Keisuke Kuroyanagi1-2/+2
Change-Id: I42143bdc4f6f5aa4f55530de84819ab722a22f72
2013-10-08Make the sentence separator a resource.Jean Chalard7-62/+73
This will help handing correctly the armenian full stop. Bug: 10082781 Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
2013-10-08Add Ime language switching test.Keisuke Kuroyanagi3-1/+102
Change-Id: I6a96dc5fdd533899353d537382608c2759faff1c
2013-10-08Fix a bug: wrong parent position is written when moving.Keisuke Kuroyanagi1-1/+2
Change-Id: I93d33ba9105eb85327108cca5706d8db3399de6a
2013-10-08Add a large test adding bigrams for decaying dictionary.Keisuke Kuroyanagi1-1/+73
Bug: 10197478 Change-Id: I34d3c21bd7f70885a3031ce91a4d4c4ba3564856
2013-10-07Extend hitbox of emoji keysSatoshi Kataoka1-13/+23
Bug: 11105065 Change-Id: I5e90ba55cf708bf7be27d7d101cbc0719ac583c8
2013-10-07Fix a possible IOOBJean Chalard1-2/+3
We want to use StringUtils here, but it's full of references to stuff not accessible host-side like JsonReader and TextUtils and SettingsValues :/ Bug: 11061476 Change-Id: I3c0194979833ede283b4f9190335dba5376fe6fc
2013-10-07Call loadKeyboard later if it can't be called right awayJean Chalard2-6/+15
Since loadKeyboard relies on the input connection being available to give it the auto-caps state, but also can't be called twice in a row because it needs to save and restore its state and invalidates it after the restore, we need to wait until we know we have a valid input connection to call it. Bug: 11107229 Change-Id: I1c7baf3215682df6f6ceb357bd37254f9e7418c7
2013-10-07Clear the cache of subtypes in onStartInputViewInternalSatoshi Kataoka1-1/+1
Bug: 11077905 Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59
2013-10-07Don't auto-correct to non-whitelist shortcutsJean Chalard2-3/+5
Bug: 11076722 Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
2013-10-07Set the shortcut frequency correctly.Jean Chalard11-31/+92
14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
2013-10-07Update en_GB dictionaryJean Chalard1-0/+0
Header : date : 1380293342 <=> 1381130519 version : 40 <=> 41 Body : Added: filter 115 Bug: 11076171 Change-Id: I4e88b38b61b794c58b645f7b39e28524d979caba
2013-10-07Fix bug and Add large test for decaying dictionary.Keisuke Kuroyanagi9-4/+82
- GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
2013-10-07Remove suggestions when string contains a periodJean Chalard2-13/+43
This is not the right way to do it, but it's simple and will kill the regression. We should investigate why the return values are wrong in this case. Bug: 10780091 Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
2013-10-07Enter -> Alpha keyboard switcher in Emoji palette viewSatoshi Kataoka2-6/+6
Bug: 11103091 Change-Id: I0c5384e9f148566d1ac1d178a8227eb913d59908
2013-10-07Show Emoji key by longpressing the enter keySatoshi Kataoka2-21/+86
Bug: 11074625 Change-Id: I5fc57a2b68d7dcfb8dbebf5821b76b0895a947f9
2013-10-07Add navigateEmojiSatoshi Kataoka4-1/+99
Bug: 11074625 Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733
2013-10-07Fix buildSatoshi Kataoka1-1/+1
Change-Id: I61341aa7b1ceb311aaa5faa5888ba31e463a95d5
2013-10-07Parameter optimization.Keisuke Kuroyanagi1-3/+3
[Category diff] +1 194 -1 21 +2 15 -2 1 +3 1 -3 15 +4 152 -4 90 +5 108 -5 197 +6 94 -6 136 +7 28 -7 132 [Weighted category diff] +1 230 -1 23 +2 15 -2 1 +3 1 -3 15 +4 180 -4 106 +5 122 -5 224 +6 107 -6 158 +7 29 -7 157 show diff for ./en_user_log_phones_2011_08.csv +1 171 -1 9 +2 7 -2 1 +3 1 -3 7 +4 123 -4 76 +5 84 -5 157 +6 66 -6 119 +7 20 -7 103 Before ---- count ---- Count(1):75.64%, 177913 Count(2):1.06%, 2510 Count(3):0.56%, 1319 Count(4):6.63%, 15612 Count(5):9.87%, 23223 Count(6):2.79%, 6580 Count(7):3.41%, 8038 ---- weight ---- Weight(1):96.88%, 2009907 Weight(2):0.24%, 5157 Weight(3):0.09%, 2025 Weight(4):0.77%, 16095 Weight(5):1.11%, 23077 Weight(6):0.39%, 8172 Weight(7):0.48%, 10146 ---- score ---- Conservative score = 66.406 Normal score = 81.512 Agressive score = 89.064 Insane score = 92.841 After ---- count ---- Count(1):75.71%, 178087 Count(2):1.07%, 2524 Count(3):0.55%, 1305 Count(4):6.66%, 15677 Count(5):9.83%, 23133 Count(6):2.78%, 6539 Count(7):3.37%, 7930 ---- weight ---- Weight(1):96.89%, 2010118 Weight(2):0.24%, 5171 Weight(3):0.09%, 2011 Weight(4):0.78%, 16184 Weight(5):1.1%, 22972 Weight(6):0.39%, 8109 Weight(7):0.48%, 10014 ---- score ---- Conservative score = 66.431 Normal score = 81.531 Agressive score = 89.08 Insane score = 92.855 No diffs for 10+ freq user log. Change-Id: Ica4a7604507a2c91aaa7daf5bacf4fce4039f547
2013-10-07Rename EmojiKeyboardView -> EmojiPalettesViewSatoshi Kataoka9-44/+50
Change-Id: I226bb8e21fd2b2b6639896a1cc433d19f3f431c2
2013-10-04Import translations. DO NOT MERGEBaligh Uddin57-118/+176
Change-Id: I15036545751abe751f2768daef7f3f1605a5457e Auto-generated-cl: translation import
2013-10-04Import translations. DO NOT MERGEBaligh Uddin61-214/+1735
Change-Id: I6f88694633aa9f39c6b1731ea7634b80d3e3bf69 Auto-generated-cl: translation import
2013-10-04Import translations. DO NOT MERGEBaligh Uddin26-104/+52
Change-Id: I04aed3599ff9570197b408a5d16ea48422294f97 Auto-generated-cl: translation import
2013-10-04Import translations. DO NOT MERGEBaligh Uddin63-120/+1849
Change-Id: I50e530351c75746759fefc4113c4f881755405ec Auto-generated-cl: translation import
2013-10-04Fallback on empty locales.Jean Chalard1-2/+18
This is a very rare corner case. Bug: 11072132 Change-Id: Iad2aa69511f7dc99105284a049c63f2f997b8ef0
2013-10-04Accept double-space-period after emoji.Jean Chalard2-10/+28
This also includes a fix that allows this code to read surrogate pairs in this processing. Bug: 11070482 Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
2013-10-04Fix emojiSatoshi Kataoka7-7/+7
Bug: 10538430 Change-Id: Ib11e29794216b54001806ab12fe440d157243dc1
2013-10-04Fix emoji recent key behaviorSatoshi Kataoka2-3/+38
Bug: 10538430 Change-Id: I91e03a8e7914628cdc8e57c124c95e5e6e8ea2a6
2013-10-04Suppress exceptions that have always been happening.Ken Wakasa2-7/+12
Change-Id: I5f85a7a0f94ea9ecbe0c4a8caebcf551fa9c9669
2013-10-04Tentatively revert assetsSatoshi Kataoka4-0/+0
Change-Id: I403fc24a407fdd3b433d5820f1b46e6985cbe83e
2013-10-04Add Ver4DictUpdater.Yuichiro Hanada5-2/+65
Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
2013-10-04Make BinaryDictionaryTests use current time as a seed.Keisuke Kuroyanagi1-54/+60
Bug: 10197478 Change-Id: Ib79cd3a81b01b16259df29b36e1df6b8f0affca8
2013-10-04Do not merge. Revert emoji key position to JB-mr2Satoshi Kataoka4-4/+26
Cherry pick of Ie2033b2f5253b2e2 Bug: 10954182 Change-Id: I9cc61e27a207055d5a43fe3da6fd1ec63bae49fd
2013-10-04Check the elapsed time for decaying.Keisuke Kuroyanagi12-59/+113
Bug: 6669677 Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9
2013-10-04Refactor BinaryDictIOUtilsTests.Yuichiro Hanada3-25/+63
Change-Id: I2208378b33038771b460abb33f9a690872e998e2
2013-10-04Add AbstractDictDecoder.Yuichiro Hanada5-186/+226
Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7
2013-10-03Optimize the parameters for the typing algorithmXiaojun Bi1-24/+24
The new set of parameters are optimized for both keystroke savings and regression test scores. This change is corresponding to the patch 6 of Change-Id: Ib8439a85de26cbbba58837344717f0acbfcf0ab0 in the regression test repository. Here is the link to the doc analyzing the “nnow → know” case: https://docs.google.com/a/google.com/document/d/1XIHfAHLlP1f3F8R-u7yxPGWcP58tokygzN_lQKXFFgM/edit Here is the link to the spreadsheet showing the diff of the words with frequencies >= 10 in en_user_log_phones_2011_08.csv. https://docs.google.com/a/google.com/spreadsheet/ccc?key=0Am_RQlV4zC6SdFFVTlhJT0RLUENCWWZOZ3JQTUpMQ2c&usp=drive_web#gid=0 Updated TRT Results for this change: [Category diff] +1 783 -1 717 +2 20 -2 34 +3 34 -3 20 +4 575 -4 777 +5 765 -5 755 +6 785 -6 666 +7 479 -7 472 [Weighted category diff] +1 999 -1 965 +2 21 -2 35 +3 35 -3 21 +4 804 -4 980 +5 970 -5 971 +6 954 -6 831 +7 645 -7 625 Bug: 10613502 Change-Id: I5cd447673a196ad5af641a2118602bec879bdefb
2013-10-04Revert emoji key position to JB-mr2Satoshi Kataoka4-4/+26
Bug: 10538430 Change-Id: Ie2033b2f5253b2e2fc2229ba6c95568e7b2a58fa
2013-10-04Separate shortcut targets from the trie file.Yuichiro Hanada5-37/+107
Bug: 10920165 Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8
2013-10-03Fix UserHistoryDictionaryTests.Keisuke Kuroyanagi4-54/+70
Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
2013-10-03Add SparseTableContentWriter to Ver4DictEncoder.Yuichiro Hanada3-52/+119
Bug: 10920165 Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b
2013-10-03Add DictUpdater.Yuichiro Hanada7-135/+188
Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
2013-10-03Fix: Native crash when an empty attribute is written. DO NOT MERGEKeisuke Kuroyanagi1-0/+3
Bug: 10964805 Change-Id: I862a6b920a7a09eac4e012bfe75f087b2d7b4fe6