aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-04-17Fix user recording dialog•••Clicking the "include recording" checkbox in the user feedback dialog did nothing. The code was relying on the state of the checkbox, rather than keeping its own state. Fixing this addresses the bug. Change-Id: I559d57a4e11f869f6e6f5e5de7878f765531a203 Kurt Partridge1-28/+9
2013-04-17Fix alarm bug•••The AlarmManager takes absolute times as an argument, not durations. Change-Id: I419434ba5908c5f4070608070bbecf753088ecc8 Kurt Partridge1-19/+6
2013-04-17Add user feedback to setup action labels and icons•••Bug: 8159728 Change-Id: I46c77c31973ae492c2a12291f2e0b154f64d26c9 Tadashi G. Takaoka17-9/+186
2013-04-17Finalize setup wizard strings and mark as translatable•••Bug: 8159728 Change-Id: I9f6f04b09b2cefdb7ece76a4f3c39ab56d0c8fab Tadashi G. Takaoka2-17/+26
2013-04-17Fix JsonWriter bug•••JsonWriter requires that data be written to it, else close() will throw an exception. Change-Id: I596c5363e063cc75bcda55e0a506eefb3f17bd67 Kurt Partridge1-3/+13
2013-04-17Label logUnits after LatinImeOnEndBatchInput•••Previously only a commitText would cause a LogUnit to be labeled with the word that the data generates. In the case of gestured text, this information is available when LatinIME#onEndBatchInput is called. Labeling the LogUnit at this time means that the Log will have labeled words even if stop() is called before commit. Change-Id: Idb2f99a9c159a1b1aa00448a2ecddeca6c351c3e Kurt Partridge1-0/+3
2013-04-17Avoid duplicate MotionEvents•••Change-Id: I9c3b352b738698f262f254e581bde34b060e258f Kurt Partridge1-4/+6
2013-04-17Fix singleton/utility classes initialization in SettingsFragment•••This is a follow up of Ide3cd3acba. Bug: 8632344 Change-Id: Iafe51798a1a74eff5d8fcd6f0117d16b419d447d Tadashi G. Takaoka2-7/+12
2013-04-17Fix missing AudioAndHapticFeedbackManager initialization•••Bug: 8632344 Change-Id: Ide3cd3acba3987317cff709fa591eadaa71834e8 Tadashi G. Takaoka1-0/+2
2013-04-16Fix NPE•••Change-Id: I8a091fb63dab12a0d2ba69e2fe393249bc68d103 Kurt Partridge1-1/+1
2013-04-16Clean up unnecessary log messages•••Change-Id: I6c3252f3b31c5874ea2f909f636f58b579c06b8d Kurt Partridge1-2/+0
2013-04-16Fix logic error•••Change-Id: Ia36660c66504ba2fbb7f125704926a08726df87a Kurt Partridge1-1/+1
2013-04-16Small dot in corner was not visible•••Framework change perhaps? Even if not, this makes it more visible Change-Id: Ib6d36b5a30136c4516adac666bdff36d1cd9b337 Kurt Partridge1-1/+1
2013-04-16Include nanoTime in filename•••System is fast enough that sometimes SystemClock.currentTimeMillis() is duplicated when used to make a unique filename. Change-Id: I9454fbb5e10265d36b8e17cba183a1591d52cc7b Kurt Partridge2-9/+11
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: 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