aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-10-07Call loadKeyboard later if it can't be called right away•••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 Jean Chalard2-6/+15
2013-10-07Clear the cache of subtypes in onStartInputViewInternal•••Bug: 11077905 Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59 Satoshi Kataoka1-1/+1
2013-10-07Don't auto-correct to non-whitelist shortcuts•••Bug: 11076722 Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20 Jean Chalard2-3/+5
2013-10-07Set the shortcut frequency correctly.•••14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f Jean Chalard11-31/+92
2013-10-07Update en_GB dictionary•••Header : date : 1380293342 <=> 1381130519 version : 40 <=> 41 Body : Added: filter 115 Bug: 11076171 Change-Id: I4e88b38b61b794c58b645f7b39e28524d979caba Jean Chalard1-0/+0
2013-10-07Fix bug and Add large test for decaying dictionary.•••- GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940 Keisuke Kuroyanagi9-4/+82
2013-10-07Remove suggestions when string contains a period•••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 Jean Chalard2-13/+43
2013-10-07Enter -> Alpha keyboard switcher in Emoji palette view•••Bug: 11103091 Change-Id: I0c5384e9f148566d1ac1d178a8227eb913d59908 Satoshi Kataoka2-6/+6
2013-10-07Show Emoji key by longpressing the enter key•••Bug: 11074625 Change-Id: I5fc57a2b68d7dcfb8dbebf5821b76b0895a947f9 Satoshi Kataoka2-21/+86
2013-10-07Add navigateEmoji•••Bug: 11074625 Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733 Satoshi Kataoka4-1/+99
2013-10-07Fix build•••Change-Id: I61341aa7b1ceb311aaa5faa5888ba31e463a95d5 Satoshi Kataoka1-1/+1
2013-10-07Parameter optimization.•••[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 Keisuke Kuroyanagi1-3/+3
2013-10-07Rename EmojiKeyboardView -> EmojiPalettesView•••Change-Id: I226bb8e21fd2b2b6639896a1cc433d19f3f431c2 Satoshi Kataoka9-44/+50
2013-10-04Import translations. DO NOT MERGE•••Change-Id: I15036545751abe751f2768daef7f3f1605a5457e Auto-generated-cl: translation import Baligh Uddin57-118/+176
2013-10-04Import translations. DO NOT MERGE•••Change-Id: I6f88694633aa9f39c6b1731ea7634b80d3e3bf69 Auto-generated-cl: translation import Baligh Uddin61-214/+1735
2013-10-04Import translations. DO NOT MERGE•••Change-Id: I04aed3599ff9570197b408a5d16ea48422294f97 Auto-generated-cl: translation import Baligh Uddin26-104/+52
2013-10-04Import translations. DO NOT MERGE•••Change-Id: I50e530351c75746759fefc4113c4f881755405ec Auto-generated-cl: translation import Baligh Uddin63-120/+1849
2013-10-04Fallback on empty locales.•••This is a very rare corner case. Bug: 11072132 Change-Id: Iad2aa69511f7dc99105284a049c63f2f997b8ef0 Jean Chalard1-2/+18
2013-10-04Accept double-space-period after emoji.•••This also includes a fix that allows this code to read surrogate pairs in this processing. Bug: 11070482 Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019 Jean Chalard2-10/+28
2013-10-04Fix emoji•••Bug: 10538430 Change-Id: Ib11e29794216b54001806ab12fe440d157243dc1 Satoshi Kataoka7-7/+7
2013-10-04Fix emoji recent key behavior•••Bug: 10538430 Change-Id: I91e03a8e7914628cdc8e57c124c95e5e6e8ea2a6 Satoshi Kataoka2-3/+38
2013-10-04Suppress exceptions that have always been happening.•••Change-Id: I5f85a7a0f94ea9ecbe0c4a8caebcf551fa9c9669 Ken Wakasa2-7/+12
2013-10-04Tentatively revert assets•••Change-Id: I403fc24a407fdd3b433d5820f1b46e6985cbe83e Satoshi Kataoka4-0/+0
2013-10-04Add Ver4DictUpdater.•••Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f Yuichiro Hanada5-2/+65
2013-10-04Make BinaryDictionaryTests use current time as a seed.•••Bug: 10197478 Change-Id: Ib79cd3a81b01b16259df29b36e1df6b8f0affca8 Keisuke Kuroyanagi1-54/+60
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-04Check the elapsed time for decaying.•••Bug: 6669677 Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9 Keisuke Kuroyanagi12-59/+113
2013-10-04Refactor BinaryDictIOUtilsTests.•••Change-Id: I2208378b33038771b460abb33f9a690872e998e2 Yuichiro Hanada3-25/+63
2013-10-04Add AbstractDictDecoder.•••Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7 Yuichiro Hanada5-186/+226
2013-10-03Optimize the parameters for the typing algorithm•••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 Xiaojun Bi1-24/+24
2013-10-04Revert emoji key position to JB-mr2•••Bug: 10538430 Change-Id: Ie2033b2f5253b2e2fc2229ba6c95568e7b2a58fa Satoshi Kataoka4-4/+26
2013-10-04Separate shortcut targets from the trie file.•••Bug: 10920165 Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8 Yuichiro Hanada5-37/+107
2013-10-03Fix UserHistoryDictionaryTests.•••Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c Keisuke Kuroyanagi4-54/+70
2013-10-03Add SparseTableContentWriter to Ver4DictEncoder.•••Bug: 10920165 Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b Yuichiro Hanada3-52/+119
2013-10-03Add DictUpdater.•••Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974 Yuichiro Hanada7-135/+188
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-03Fix: Native crash when an empty attribute is written.•••Bug: 10964805 Change-Id: Ia3cd891d20aee2226092f0f646d8f280901786fc Keisuke Kuroyanagi1-0/+3
2013-10-03Fix the subtype id of the additional subtypes•••Bug: 11032428 Change-Id: I5d422f1c15a582015770ef9a652348ca6eb8ab85 Satoshi Kataoka1-4/+25
2013-10-03Prepare for changing text color for functional keys•••Bug: 10786040 Change-Id: I0de7d4923ea13b44adcf1f4ea456796cd02ef27b Satoshi Kataoka5-8/+77
2013-10-02Import translations. DO NOT MERGE•••Change-Id: I4fe48281caf9d3cf83effb19933d8f168967f950 Auto-generated-cl: translation import Baligh Uddin55-220/+110
2013-10-02Import translations. DO NOT MERGE•••Change-Id: Ifee5f65e8da896db6bce982db0c8cdcbb3f49902 Auto-generated-cl: translation import Baligh Uddin49-196/+98
2013-10-02Update string comments for translation•••BUG: 11042719,11021829 Change-Id: I27c80d1a2489843a16bd2b055d2ae81797492d1c Alan Viverette1-3/+3
2013-10-02Fix build.•••Change-Id: Ib33b27214e67378646e44f5b45bda298f960524f Keisuke Kuroyanagi1-1/+0
2013-10-02Remove some unused variables.•••Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef Yuichiro Hanada9-42/+26
2013-10-02Try decaying user history at hourly intervals.•••Bug: 6669677 Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803 Keisuke Kuroyanagi6-6/+96
2013-10-02Use probability table for decaying dictionaries.•••Bug: 6669677 Change-Id: Ib5994a2e343dfcdaf23755e523f52846709b1c6c Keisuke Kuroyanagi2-18/+42
2013-10-02Stochastic decay.•••Bug: 6669677 Change-Id: Ib2d9228b951c77dab7a8675ce9db60677e87e771 Keisuke Kuroyanagi6-95/+77
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