aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-04-17Fix bug to update last interpolated index of GestureStroke•••Bug: 8556775 Change-Id: Ie12e0dc9bfeae45f6883580801e07d44be1d1d33 Tadashi G. Takaoka1-5/+5
2013-04-16Make digraph lookups case insensitive•••Example: Be able to gesture dictionary words that start with an upper-case German umlaut (e.g., Übermensch). Bug: 8493920 Change-Id: I3253bcd236d34c0af60116e5b41e359f2715bf97 Tom Ouyang1-1/+3
2013-04-16Update SORTED_CHAR_MAP•••bug: 7873416 bug: 8493920 Change-Id: Ifddb04cad90da71df5d34dd7076850dbcf51fba4 Ken Wakasa2-10/+183
2013-04-16Don't insert automatic spaces when text looks like a URL•••This is about as ad-hoc as it gets, but then again, what we want is probably as ad-hoc as it gets. All URL boxes I know of double as search bars, and not adding automatic spaces there sucks (e.g. in Chrome URL bar). And in other boxes actually you don't want to add a space if it looks like a URL. QSB isn't even a search box, and it behaves like this. So I think this is actually the right answer to the problem. Bug: 7062925 Change-Id: Ib09472b34644fd5bf2dc84bb97cedeeba28bcd02 Jean Chalard9-7/+113
2013-04-16Add shadow to gesture preview trail•••Bug: 7167303 Change-Id: I8f76fe0aec6cb32388e7c85d04516d1dd7d28c29 Tadashi G. Takaoka6-8/+53
2013-04-16Use additional multi-word cost per language (for Russian)•••Bug: 7540133 Change-Id: I7eb7b8399746c15452ed2ed5069955e88fb546d3 Satoshi Kataoka11-65/+69
2013-04-16Small cleanup•••Change-Id: Iafdbe305712c8a571f0f5abc2032df086d7ac015 Jean Chalard1-3/+3
2013-04-16Don't recapitalize on shift while on symbol layout•••Change-Id: Ibf2cdedf510c296561bb5eeb6ff18c3414d6d6f4 Jean Chalard1-1/+6
2013-04-16Match the keyboard state to the recapitalize state.•••Bug: 7657025 Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf Jean Chalard5-10/+62
2013-04-16Clean up RecapitalizeStatus•••Change-Id: Ib4d002f90cd3a0e9ad4c04b883b0c1f05ada3ccf Jean Chalard3-56/+59
2013-04-16Fix an NPE•••Bug: 8620678 Change-Id: Ia91761f33518a010b2844d34523cadece261c67e Jean Chalard1-0/+1
2013-04-16Fix an NPE•••Bug: 8620758 Change-Id: I39f07939ebb6148a48aae5b915ee807002a5b02d Jean Chalard1-2/+2
2013-04-15Import translations. DO NOT MERGE•••Change-Id: I865e5c110e5a31e209fad2e909deb8589347657d Auto-generated-cl: translation import Baligh Uddin8-14/+14
2013-04-15Import translations. DO NOT MERGE•••Change-Id: I90a62b7aced2e050837ac63b897c6179f4f46218 Auto-generated-cl: translation import Baligh Uddin8-14/+14
2013-04-15Import translations. DO NOT MERGE•••Change-Id: I9d8f338ec80b897fc730913daabad86f2cc5ecac Auto-generated-cl: translation import Baligh Uddin8-14/+14
2013-04-15Import translations. DO NOT MERGE•••Change-Id: I5f6f7233c46f7a5faaac5f959c93329ace4c70f4 Auto-generated-cl: translation import Baligh Uddin8-14/+14
2013-04-15Adjust CHAR_LIMITs•••bug: 8589156 bug: 8588538 bug: 8588746 Change-Id: I14050dc3542946c1bae2e1dc8b63b99758d5f9aa Ken Wakasa1-3/+3
2013-04-15Remove a useless function•••Bug: 8583091 Change-Id: I9195d68e44e9a282e25ccd2978d7b4088f600170 Jean Chalard2-29/+0
2013-04-15Small performance improvement / minor bugfix•••The only place where it's used is checked for nullity. Also, it's possible, also difficult, to match a different recapitalize with the old code, triggering a bug that this fixes. Change-Id: I717d6df489025c75d1caca290a9086c3b39a9306 Jean Chalard1-3/+3
2013-04-15Remove gesture suggestions with an INT_MIN score•••Bug: 7980115 Change-Id: I8de31068992aec712eaad132857d9dc61f28e30a Jean Chalard1-0/+12
2013-04-15Update dictionaries•••>>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1366003032 <=> 1366021966 Body : Deleted: FTP 88 Deleted: HTTPS 66 Added: www 72 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1366003070 <=> 1366021978 Body : Deleted: FTP 88 Deleted: HTTPS 66 Added: http 95 Added: www 71 >>> dictionaries/en_wordlist.combined.gz Header : date : 1366003861 <=> 1366021987 Body : Deleted: FTP 88 Deleted: HTTPS 66 Freq changed: http 120 -> 95 Added: www 71 >>> java/res/raw/main_en.dict Header : date : 1366003861 <=> 1366021987 Body : Deleted: FTP 88 Deleted: HTTPS 66 Freq changed: http 120 -> 95 Added: www 71 Bug: 8233807 Change-Id: Id55f6e0dcc9ddff26902c0857edcbb9b10d42328 Jean Chalard4-0/+0
2013-04-15Have Latin IME re-capitalize a selected string•••Upon pressing Shift, if there is currently a selected string, have Latin IME change its capitalization. This does not yet have the keyboard mode follow the mode - the change is complicated enough as is. Bug: 7657025 Change-Id: I54fe8485f44e04efd72c71ac9feee5ce21ba06f2 Jean Chalard5-1/+420
2013-04-15If there are no suggestion span, recompute suggestions.•••Bug: 8084810 Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335 Jean Chalard4-16/+148
2013-04-15Enable touch coordinate correction for new algorithm•••Bug: 8505668 Change-Id: I07eb785c74c446777524104a3d2b61f0f591a498 Satoshi Kataoka8-48/+94
2013-04-15Reject a previously user-refused suggestion.•••If the user gestures a word, then hits backspace in disapproval, and gestures about the same thing again, make sure that we don't suggest the same thing again. Bug: 7549311 Change-Id: I793bc4df7c3841fa8f2f4146707c26e873f374c1 Jean Chalard3-0/+27
2013-04-15Remove unnecessary harmful finish() from SettingsActivity•••Bug: 8560722 Change-Id: I825b135bd13aca17e712330660978b834648dbc3 Tadashi G. Takaoka1-7/+2
2013-04-15Add preference dependency to gesture input related options•••Bug: 8613600 Change-Id: I279d3264080aede59203205c45763c7f8ff08ae6 Tadashi G. Takaoka2-4/+2
2013-04-15Update dictionaries•••>>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1355802832 <=> 1366003032 version : 29 <=> 31 Body : Deleted: HTTP 95 Deleted: WWW 72 Added: mm 135 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1355112451 <=> 1366003070 version : 28 <=> 31 Body : Deleted: HTTP 95 Deleted: WWW 71 Added: mm 135 >>> dictionaries/en_wordlist.combined.gz Header : date : 1355802851 <=> 1366003861 version : 29 <=> 31 Body : Deleted: HTTP 95 Deleted: WWW 71 Added: mm 135 >>> dictionaries/fr_wordlist.combined.gz Header : date : 1357617878 <=> 1366003217 version : 29 <=> 31 Body : Not a word: re false -> true Shortcut added: re le 15 >>> dictionaries/nb_wordlist.combined.gz Header : date : 1355802836 <=> 1366003450 version : 29 <=> 31 Body : Freq changed: iPhone 91 -> 30 Added: app 30 >>> dictionaries/ru_wordlist.combined.gz Header : date : 1358763720 <=> 1366003693 version : 30 <=> 31 Body : Freq changed: за 140 -> 181 Freq changed: не 140 -> 191 Freq changed: про 131 -> 151 Freq changed: эры 125 -> 140 >>> dictionaries/sv_wordlist.combined.gz Header : date : 1355802856 <=> 1366003804 version : 29 <=> 31 Body : Added: vi 180 >>> java/res/raw/main_en.dict Header : date : 1355802851 <=> 1366003861 version : 29 <=> 31 Body : Deleted: HTTP 95 Deleted: WWW 71 Added: mm 135 >>> java/res/raw/main_fr.dict Header : date : 1357617878 <=> 1366003217 version : 29 <=> 31 Body : Not a word: re false -> true Shortcut added: re le 15 >>> java/res/raw/main_ru.dict Header : date : 1358763720 <=> 1366003693 version : 30 <=> 31 Body : Freq changed: за 140 -> 181 Freq changed: не 140 -> 191 Freq changed: про 131 -> 151 Freq changed: эры 125 -> 140 Bug: 8560415 Bug: 7556679 Change-Id: If1c628edcb1cc5efd67e1715acf94f19c0eb4643 Jean Chalard10-0/+0
2013-04-15Ignore modifier key while sliding key input•••Bug: 8284624 Change-Id: I839d7a769d98f29be647dbe511ba3f73ca44446d Tadashi G. Takaoka1-3/+3
2013-04-15Clean up tests and increase speed•••Conservatively reduce the number of unigrams to test from 1000 to 100. Bug: 8583091 Change-Id: I48621ec44ff5f0590640d7c6b174ab5a6d267aaf Jean Chalard1-5/+6
2013-04-15Reset vertical correction when more suggestions are in modal mode•••Bug: 8605150 Change-Id: Iadbebfb80e765c97e58e8524eb87419f2a9e41d4 Tadashi G. Takaoka3-3/+9
2013-04-15Fix a typo•••Change-Id: I27b925be030e9e6ee8ae49dc13f39accec996d7e Jean Chalard1-1/+1
2013-04-15Fix Binary dict tests•••There are two problems here. The first one is the tests would send an invalid unicode character. Although we could want dicttool to handle this more gracefully, it's fine for now. The second problem is much more serious. If a node has more than 128 children, then the java code will crash trying to read the dictionary back because of a bug that this change fixes. In theory, it's possible that happens when we try to load the user history dictionary back from the disk - native code is not affected so there is no other point that may cause a problem. In the practice, that means you'd need to have 129 words with a common prefix (including empty string) but all different after this. It's almost impossible with Google Keyboard since there are only so many keys on the keyboard that you can make a word out of, and then again you'd have to do it repeatedly until it actually enters the user history dictionary, wait for it to get saved on the disk. The bad news is, if you manage to get this far, the keyboard will crash every time and won't be able to get up until you clear data for the package. The good news is, the dictionary itself is not corrupted and only the reading code is wrong. So updating to a newer version would actually even recover from this situation. All in all, considering how almost-impossible this is to trigger, I don't think even a single user actually did hit this bug. Bug: 8583091 Change-Id: Iabb2a7f47cbd9ed3193d2a3487318d280753e071 Jean Chalard2-5/+8
2013-04-15fix assertion•••Change-Id: I34ff470122aa0f34c66425d2eeae7590187d3074 Satoshi Kataoka1-1/+1
2013-04-15Suppress calling onPressKey and onReleaseKey while detecting gesture•••Bug: 8284624 Change-Id: I14470bb2373965aefa921b2c94948450bfa438e3 Tadashi G. Takaoka1-2/+2
2013-04-15Tighten unit test condition of MoreKeysKeyboardBuilder•••Bug: 8601979 Change-Id: Icf584f3b35adce69cc3dfc46f3aacfef05e5dd2a Tadashi G. Takaoka2-8/+8
2013-04-12Import translations. DO NOT MERGE•••Change-Id: I2cb68d3f0804a0c9990916a89e079510b465253f Auto-generated-cl: translation import Baligh Uddin97-354/+1768
2013-04-12Import translations. DO NOT MERGE•••Change-Id: I751f337d751b95427c9d142cd29cded80045bd9e Auto-generated-cl: translation import Baligh Uddin44-354/+178
2013-04-12Import translations. DO NOT MERGE•••Change-Id: I7c8b83b352dcc840ee2a8a6f0b8e6d4d28b4e08f Auto-generated-cl: translation import Baligh Uddin97-354/+1768
2013-04-12Import translations. DO NOT MERGE•••Change-Id: Ie74fdb8041ac5d7eb5d15a49f9aac834751cc9c2 Auto-generated-cl: translation import Baligh Uddin44-354/+178
2013-04-12Fix failing tests•••RichInputConnection#getWordRangeAtCursor may now returning either a SpannableString or a String. We can't test that with String#equals(), but TextUtils#equals() does the job for us. Change-Id: I59ebe54207e92f4d90b49476b64f1e12fd4929cb Jean Chalard1-7/+8
2013-04-12Fix a bug with bad application completions•••Bug: 8561056 Change-Id: I91fb0ac76dabfc841bafc0e2c0ea9f63e6f604f9 Jean Chalard3-2/+48
2013-04-12Restart suggestions when the cursor moves.•••This uses the old suggestions. It does not try to recompute new suggestions if there are no old suggestions yet: this is coming in a later change. If there are no suggestions, this shows the word itself as a suggestion. Bug: 8084810 Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48 Jean Chalard7-15/+103
2013-04-12Remove voodoo magic.•••There was a much, much simpler way of achieving the same thing. Bug: 8583091 Change-Id: I8882f389312caad3b17335672892a31d30cd00bc Jean Chalard1-32/+9
2013-04-12Make shortcut-only user dict entry non-words.•••Bug: 7369456 Change-Id: Iecd6f6d617f31bd2aa6749516711aeb1f0549622 Jean Chalard3-6/+8
2013-04-12Remove the dialog to insert words to the dictionary.•••Bug: 8562529 Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869 Jean Chalard3-22/+63
2013-04-12Fix a native crash in AOSP LatinIME•••bug: 8597610 Change-Id: I585c629636a52a1ac45b8cc686bc94427bb601df Ken Wakasa1-2/+3
2013-04-11Add a class to encapsulate getting the metadata URI•••Bug: 8376173 Change-Id: Icaac8ad412e0180c44e6a955943e3b208981b2ea Jean Chalard2-1/+29
2013-04-11Move some values to a place where they are easier to override•••Bug: 8418765 Change-Id: Iff0edd4ed8da9d0d1a6fb9545224b232ba374469 Jean Chalard2-7/+4
2013-04-11Change the default vibration duration to 20msec•••Bug: 8556975 Change-Id: Ia6a0fe230585c9826199a0696fb0c1367e917134 Tadashi G. Takaoka1-2/+6