aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-07-11Fix a wrong call to cancel downloads•••This resulted in downloads not being correctly canceled. Bug: 9715797 Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe Jean Chalard2-19/+22
2013-07-10Import translations. DO NOT MERGE•••Change-Id: I580f44f5334d0af91339646c0cfe94293f96711f Auto-generated-cl: translation import Baligh Uddin1-1/+1
2013-07-09Fix: Read lock is wrongly used for gutSuggestions.•••Bug: 9737865 Change-Id: I017f80b46c5dc48c40f2de7c4d516a042992feb4 Keisuke Kuroynagi1-2/+3
2013-07-08Make bigram dictionary and traverse session use structure policy.•••Bug: 6669677 Change-Id: I5a13290366afbb788da997b98d1c593963e92f3e Keisuke Kuroynagi6-46/+40
2013-07-05Update ExpandableDictionary.BASE_CHARS[]•••This should be the same as CharUtils::BASE_CHARS[] in the native code. Change-Id: I72ed4a43fd5c26a4439ef791b6b1cf703845c3a1 Ken Wakasa1-165/+199
2013-07-05Move TypefaceUtils and ViewUtils to utils package•••Change-Id: Iccd47c27670248c43de9a539c1951111d7733111 Tadashi G. Takaoka7-8/+12
2013-07-05Reorganize Utils class•••Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18 Tadashi G. Takaoka15-401/+438
2013-07-05Use TimeUnit instead of DateUtils for readability•••Bug: 9550800 Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215 Tadashi G. Takaoka7-23/+25
2013-07-05Remove flags from dicNodeProperties.•••Bug: 6669677 Change-Id: I6f4aef8c4e4376f078ed8375394823788aa35002 Keisuke Kuroynagi6-63/+55
2013-07-05Add a trace.•••Emit a trace when a new dictionary is copied to LatinIME successfully, not just when it fails. That will help diagnosing some problems by being able to ensure this step succeeded looking at the log. This does not happen often (like, maybe 3 times at device activation, and once every few weeks afterwards), so I think the extra line in the log is more than acceptable. Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b Jean Chalard1-0/+1
2013-07-04Fix: release lock in UserHistoryDictionary.•••Change-Id: I050c252910c6b5b0a79cd2d52c525679f2d6091d Keisuke Kuroynagi1-1/+5
2013-07-04Change how the length of the random words are chosen.•••This is much more robust and much better for testing. Change-Id: I43f900f9debc1d1ae4c3f3dd07dbe0ac85d31f52 Jean Chalard1-4/+13
2013-07-04Have random words stick to a restricted (random) charset•••Change-Id: Ib4045ebc9659f1b60183f2356e60e449d62c5be9 Jean Chalard1-14/+26
2013-07-04Add methods for dynamic updating binary dictionary.•••Bug: 6669677 Change-Id: I7e681ceec2af712214a647630350cb20be6b0354 Keisuke Kuroynagi1-4/+33
2013-07-04DictionaryWriter to abstract binary dictionary writing.•••UserHistoryDictionary should become to use ExpandableBinaryDictionary. Bug: 6669677 Change-Id: I6831c7dd2d84207d1a8f51ba15d52e0a72205d0c Keisuke Kuroynagi5-88/+254
2013-07-04Allow force auto commit when the top is long multiword.•••Bug: 9688196 Change-Id: I73ff2cd77b932bf7307b3541ea9da3fa4afa11b4 Keisuke Kuroynagi3-17/+22
2013-07-04Add a two-args constructor to BinaryDictIOTests•••Change-Id: Ie26e22754bfa5d58135349164c57007c86bd97e8 Jean Chalard1-6/+8
2013-07-04Generalize constuctors & add tests•••If there is any two-args constructor with the right arg types in a test class, use it. Also, add a test suite to dicttool test. Also, have the return value of dicttool reflect success or failure. Change-Id: I51ab2a4abb93a0a483e8d6ef3c39d1ff1bce1dbd Jean Chalard2-9/+26
2013-07-04Add Azerbaijani keyboard•••Bug: 7963448 Change-Id: I39c192b342278e82e30ac6ef12c6d150c817ae70 Tadashi G. Takaoka3-1/+114
2013-07-04Add Kazakh keyboard•••Bug: 9697273 Change-Id: Ic9943569ed60d601f093181bf135e45a25399121 Tadashi G. Takaoka6-575/+707
2013-07-03Do not output string-encoded MotionEvent.•••JsonUtils knows how to output MotionEvents into json; that mechanism should be reused for SuddenJumpingTouchEventHandler. Change-Id: Id4c36c05533a3a329bf43ba33d57c0830dc4d196 Kurt Partridge1-1/+1
2013-07-03Return NOT_A_PROBABILITY in getProbability for inalid dictionary.•••Bug: 9682742 Change-Id: Ifad4b9811bb5e1a94aed59eba7aedcdb6da5cf9c Keisuke Kuroynagi1-1/+1
2013-07-03Add missing letter THEH to Perisan keyboard layout•••With this change, the phone keyboard layout use quite similar one of the oridinal PC. The differences from the ordinal PC keyboard layout are: - Add letter JEH between letter TAH and ZAIN at 3rd row. - Move letter TCHEN from the most left of 1st row to the most left of 3rd row. The tablet keyboard layout is the same of of the phone except: - Add letter ALEF with MADDA above between letter WAW and letter TCHEN at 3rd row. This change also moves the delete key and the enter key on tablet to 1st and 2nd row respectively. Bug: 9371393 Change-Id: I964589055eb15549fe20e5ec45e02f7dc6b5686e Tadashi G. Takaoka11-316/+122
2013-07-03Add missing letter THEH to Arabic keyboard layout•••With this change, the tablet keyboard layout both 7inch and 10inch use quite similar one of the ordinal PC. The differences from the ordinal PC keyboard layout are: - Move letter THAL from the most left of digits' row to the most left of 3rd row. - Move letter DAL from the most right of 1st row to the most right of 3rd row. - Omit ligature LAM with ALEF from 3rd row and move to more keys of letter LAM on 2nd row. The phone keyboard layout is the same one of the tablet except: - Omit letter YEH with HAMZA avobe from 3rd row and move to more keys of letter ALEF MAKSURA on 3rd row. Bug: 9371393 Change-Id: I1cd164ce7c1c3a5cae67b9985f1b167aef028ca0 Tadashi G. Takaoka11-332/+125
2013-07-03Use ReentrantReadWriteLock in ExpandableBinaryDictionary.•••Bug: 6669677 Change-Id: I2acde0517d5ed5cbd7b7149709e35fc36651335d Keisuke Kuroynagi1-15/+18
2013-07-03Followup com.android.inputmethod.latin.utils change•••This is a folowup of I1c5b27c8ed. Change-Id: I12c422a26e599923cadf21c3ab24e4b901cf94cc Tadashi G. Takaoka1-1/+1
2013-07-03Disable shortcut output for multi-word suggestions.•••Bug: 9682742 Change-Id: I9e0a5acd9053d141e018c4653e4baf0f77aacb45 Keisuke Kuroynagi1-3/+8
2013-07-03Read version 3 dictionary header.•••The header structure of version 3 dictionary is same as version 2. Bug: 6669677 Change-Id: I26c8723333938fbf102de1a40f11d97444da9075 Keisuke Kuroynagi5-58/+73
2013-07-02Handling key repeat by emulating key press and code input•••This change also eliminates a reference of AudioAndHapticFeedbackManager from KeyboardSwitcher and MainKeyboard. Bug: 6522943 Change-Id: Iac42ec8ff00c66deb76a660ffc07477923a58959 Tadashi G. Takaoka11-117/+208
2013-07-02Fix: Reading invalid dictionary position.•••Bug: 6669677 Change-Id: I3f4078aaa8cf72f3b366e7851457e9c753c0102f Keisuke Kuroynagi1-4/+5
2013-07-02Fix offdevice compilation•••Change-Id: I8bccccbc51b308fddfbbc990f7bfe1c490259372 Jean Chalard4-29/+77
2013-07-01Dump binary dictionary information when opening•••Bug: 9459517 Change-Id: I122583e734936ae0284e1c7500c6c9242bc7973b Jean Chalard9-37/+177
2013-07-01Remove format version 1 related logic.•••Removed from DictionaryStructurePolicyFactory Bug: 9617181 Change-Id: Ice4b4a24e019c88b0ec129dc69176c7541f8530c Keisuke Kuroynagi1-2/+0
2013-07-01Move Range out of RichInputConnection and rename it.•••Range has grown a bit too big to stay an internal class. Change-Id: Ic3fbc48a5d10776eedd7559c4d696e5926b88288 Jean Chalard5-108/+129
2013-07-01Add args to dicttool test.•••Change-Id: I0667e0a5a6f6db3964cfcca5c8f083b9ceb41a2e Jean Chalard2-16/+66
2013-07-01Regenerate old version dictionaries using new format.•••Bug: 9617181 Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60 Keisuke Kuroynagi6-30/+13
2013-07-01Move children filtering methods to DicNodeChildrenFilter.•••Bug: 6669677 Change-Id: If18055e2da8dd5d783942ba384d3ea1d97030e3a Keisuke Kuroynagi5-94/+82
2013-07-01Fix a bug where no URL means refresh never ends•••This patch does two things: - If there is no URL to download new data from, then the Refresh button is not shown. - Even if for some reason refresh starts for a client for which there is no URL, loading correctly finishes. Bug: 9388602 Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547 Jean Chalard3-10/+29
2013-07-01Do not re-resume suggestion if it's not needed.•••This is much better interface-wise. It eliminates all blinking of the line in the practice. Bug: 8874148 Bug: 8864306 Change-Id: I87754e44784327c2e9c8b162d598d145e20668e8 Jean Chalard3-1/+133
2013-06-28Introduce patriciaTrie to abstract traversing version 2 dictionary.•••Bug: 6669677 Change-Id: Ifef72f3d7a7ba67c5232b98c7835485d72d7322d Keisuke Kuroynagi8-32/+198
2013-06-28Update dictionaries•••>>> dictionaries/cs_wordlist.combined.gz Header : date : 1355802831 <=> 1372393817 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/de_wordlist.combined.gz Header : date : 1355802835 <=> 1372393817 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1366272052 <=> 1372393817 version : 31 <=> 35 Body : Deleted: Sea 126 Added: LTE 25 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1366272093 <=> 1372393817 version : 31 <=> 35 Body : Added: LTE 25 >>> dictionaries/en_wordlist.combined.gz Header : date : 1366272977 <=> 1372393837 version : 31 <=> 35 Body : Deleted: Sea 126 Added: LTE 25 >>> dictionaries/es_wordlist.combined.gz Header : date : 1355802832 <=> 1372393817 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/fr_wordlist.combined.gz Header : date : 1366272255 <=> 1372393818 version : 31 <=> 35 Body : Deleted: R'n'B 95 Deleted: count 60 Deleted: d'Inti 34 Added: beurk 25 >>> dictionaries/hr_wordlist.combined.gz Header : date : 1355802836 <=> 1372393818 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/it_wordlist.combined.gz Header : date : 1355802836 <=> 1372393818 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/lt_wordlist.combined.gz Header : date : 1355802843 <=> 1372393818 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/lv_wordlist.combined.gz Header : date : 1355802843 <=> 1372393818 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/nb_wordlist.combined.gz Header : date : 1366003450 <=> 1372393818 version : 31 <=> 35 Body : Added: LTE 25 >>> dictionaries/nl_wordlist.combined.gz Header : date : 1355802844 <=> 1372393818 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/ru_wordlist.combined.gz Header : date : 1370244430 <=> 1372393835 version : 34 <=> 35 Body : Freq changed: связывание 93 -> 0 >>> dictionaries/sl_wordlist.combined.gz Header : date : 1355802835 <=> 1372393835 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/sr_wordlist.combined.gz Header : date : 1355802853 <=> 1372393835 version : 29 <=> 35 Body : Added: LTE 25 >>> dictionaries/sv_wordlist.combined.gz Header : date : 1366003804 <=> 1372393836 version : 31 <=> 35 Body : Added: LTE 25 >>> dictionaries/tr_wordlist.combined.gz Header : date : 1355802858 <=> 1372393837 version : 29 <=> 35 Body : Added: LTE 25 >>> java/res/raw/main_de.dict Header : date : 1355802835 <=> 1372393817 version : 29 <=> 35 Body : Added: LTE 25 >>> java/res/raw/main_en.dict Header : date : 1366272977 <=> 1372393837 version : 31 <=> 35 Body : Deleted: Sea 126 Added: LTE 25 >>> java/res/raw/main_es.dict Header : date : 1355802832 <=> 1372393817 version : 29 <=> 35 Body : Added: LTE 25 >>> java/res/raw/main_fr.dict Header : date : 1366272255 <=> 1372393818 version : 31 <=> 35 Body : Deleted: R'n'B 95 Deleted: count 60 Deleted: d'Inti 34 Added: beurk 25 >>> java/res/raw/main_it.dict Header : date : 1355802836 <=> 1372393818 version : 29 <=> 35 Body : Added: LTE 25 >>> java/res/raw/main_ru.dict Header : date : 1370244430 <=> 1372393835 version : 34 <=> 35 Body : Freq changed: связывание 93 -> 0 Bug: 9301610 Bug: 9607966 Change-Id: I1117ed85d97fbb0ee50f11bc31776f1970b56f12 Jean Chalard24-0/+0
2013-06-28Fix a bug where AOSP Latin IME would not fill dictionaries•••There is no reason not to contact the dictionary provider when we don't have internet permission or when the URL is empty. It knows how to handle both these cases. Bug: 9388602 Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89 Jean Chalard2-8/+2
2013-06-27Record number of words entered•••This change records the number of words entered in every LogUnit. This metric is helpful for determining how much multi-word gestures and spaceless tapping is used. Change-Id: I4c6d0f9d78e4ac2dd63fd53ed2ec70b368366f15 Kurt Partridge1-16/+10
2013-06-27Fix some warnings•••Mostly remove unused imports Change-Id: If8ceffdfad79b78194094527759f5c334746973e Jean Chalard7-15/+1
2013-06-27Improve the language list in the personal dictionary•••Bug: 9117704 Change-Id: I26e6f8369a3c7ffa4bb651b4b5a3e6f004121983 Satoshi Kataoka1-7/+2
2013-06-27Use internal personal dictionary settings on JBMR2 or before•••Bug: 9117704 Change-Id: I7e20b03daa23b59211235183cf48d933e32845e4 Satoshi Kataoka2-11/+44
2013-06-27Open an API in ExternalDictionaryGetterForDebug•••and extend it Change-Id: Id2ba8dd8928a6327d3b31eb35f7cc314e2d31050 Satoshi Kataoka1-4/+24
2013-06-27Use NOT_A_DICT_POS instead of 0 to express not valid ditctionary position.•••Bug: 6669677 Change-Id: I4bf2284f8221a0a2ae4534b4a06b0e59c420a5f9 Keisuke Kuroynagi3-16/+13