aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-01-16Remove redundant permission tag•••Change-Id: I717e2fc9dca13096d76c159f8c3bebff065c6ca1 Tadashi G. Takaoka1-2/+0
2012-01-16KeyboardState unit tests for non-distinct multitouch device•••Bug: 5708602 Change-Id: Id85db2f8b7b427ba62205f5aaad481a3d33e65fc Tadashi G. Takaoka3-1/+316
2012-01-16Add shortcut only to xml output.•••Change-Id: I23b53826ce30b0ac81962d2f916514cb60bea6ff Jean Chalard3-3/+9
2012-01-16Actually add shortcut-only entries.•••Change-Id: I84bec8fb560cec2ad9cc857397a3f77a96b1d12d Jean Chalard3-23/+64
2012-01-16Stop avoiding adding what the user typed to candidates•••There does not seem to be any reason other than a historical one to avoid doing this, but it takes processing power and makes things more complicated. This has a very limited impact on regression tests: 5 -> 3 [He, the] 5 -> 3 [An, an] 5 -> 3 [Where, where] 5 -> 3 [This, this] 7 -> 1 [wAtch, watch] 6 -> 4 [oveNs, oceans] 5 -> 1 [Ahere, Where] 7 -> 1 [Hast, Hast] 7 -> 5 [bjp, bill] 5 -> 1 [What, What] 5 -> 3 [Sound, So und] 7 -> 3 [causalities, casualties] 7 -> 3 [discontentment, discontent] 7 -> 3 [irregardless, regardless] 5 -> 1 : 2 5 -> 3 : 5 6 -> 4 : 1 7 -> 1 : 2 7 -> 3 : 3 7 -> 5 : 1 +1 4 -1 0 +2 0 -2 0 +3 8 -3 0 +4 1 -4 0 +5 1 -5 7 +6 0 -6 1 +7 0 -7 6 Change-Id: I6407cf922f27bbd3992df11d63690e71fc61111b Jean Chalard3-3/+4
2012-01-16Fix double tap shift key to turn off capslock mode•••Bug: 5873562 Change-Id: If1f5ae1684905c1418ae43e55df38509444d29e2 Tadashi G. Takaoka2-3/+12
2012-01-16Read the group count correctly from the binary format•••...in makedict, for reverse makedict. Change-Id: I74774b50998eb605e8091d95cebdda6ad7f5fce3 Jean Chalard1-12/+34
2012-01-16Add more KeyboardState unit test cases•••Bug: 5708602 Change-Id: Ib9d2b7a2878f78adecc857fd569fba8965cf4a03 Tadashi G. Takaoka1-24/+318
2012-01-16Store suggestions for each input length for missing space algorithm etc.•••Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c satok7-65/+99
2012-01-16Add auto caps function simulation to MockKeyboardSwitcher•••Change-Id: I049c224994a37121de031b9fd61edb52eb912e20 Tadashi G. Takaoka1-6/+10
2012-01-16Write multi-byte chargroup count to the binary dict•••Change-Id: I093739933652c1e8c70c06f92077d1e3dbd7d7da Jean Chalard1-14/+36
2012-01-16Read multi-byte char group counts•••Change-Id: Idc62382f1c814e9bd1466c9f7dda1fcc8ba4137d Jean Chalard2-3/+6
2012-01-16Make MockKeyboardSwitcher top level class•••Change-Id: I52c1bc237c20b8bd49fca2431b83843a6e2af10b Tadashi G. Takaoka2-105/+152
2012-01-16Remove a bunch of obsolete methods.•••Change-Id: I218007bf411489d1d648fd9b8b408c5d27c41811 Jean Chalard2-76/+1
2012-01-16Don't cache resource value that depends on orientation•••Bug: 5794655 Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515 Tadashi G. Takaoka2-3/+8
2012-01-16Add a helper method•••Change-Id: I7a898940d5f672bbee0da0c02af7a08297051ec3 Jean Chalard1-0/+10
2012-01-16Update shift state when alphabet keyboard has been set•••Bug: 5857492 Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb Tadashi G. Takaoka3-1/+17
2012-01-16Cleanup KeyboardStateTests a bit•••Move test target KeyboardState into MockKeyboardSwitcher. Change-Id: I0998a5306a59e777360df9d1321b545313b939f9 Tadashi G. Takaoka1-40/+85
2012-01-13Fix a native crash with shortcuts•••Creation of the TerminalAttributes object failed to take into account that there may be children on this node. Change-Id: I8224a1a51532d1a40a8555f46425e3744388326b Jean Chalard1-2/+3
2012-01-13Use KeyboardSet for unit test•••Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2 Tadashi G. Takaoka5-19/+25
2012-01-13Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet•••Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65 Tadashi G. Takaoka3-40/+69
2012-01-13New LOG lib•••Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe satok10-70/+74
2012-01-13Use placement new to construct the queue•••Change-Id: I455f9954165bd4524f2883db7ea24a6fed3015f9 satok3-12/+31
2012-01-13Fix SuggestTests•••We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8 Tadashi G. Takaoka4-4/+5
2012-01-13Cleanup UtilsTests•••Change-Id: I5631d010194423fd3d9c216db760ffa726131977 Tadashi G. Takaoka1-2/+0
2012-01-13Fix UserBigramSuggestTests•••Change-Id: I3363fba44ee70876fd7ba8e27c6ca3c83753b53a Tadashi G. Takaoka1-1/+1
2012-01-13Fix SubtypeLocaleTests•••Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13 Tadashi G. Takaoka5-35/+22
2012-01-13Fix a bug in the logic to show 3 dots of the ime switcher•••Bug: 5806103 Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187 satok2-5/+16
2012-01-12Move auto correction thresthold to the native code•••bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d satok8-128/+148
2012-01-12Change the application name of aosp latin ime•••Change-Id: I96281709736bc20d70e63af170bfb48b5df3f18d satok2-2/+4
2012-01-12Remove an excessive parens•••Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7 Jean Chalard1-1/+1
2012-01-12Add a sanity check•••Check if any character is both a magic space swapper and a magic space stripper for the current language, and throw an exception if found. Since this is expensive, it's done only in debug mode. Change-Id: Ibd166db87c91495b76878ea0e4f420a62c7bb276 Jean Chalard1-0/+8
2012-01-12Fix a crash where revertSwap would be wrongly called•••This would crash the program when inputting a punctuation symbol that should not swap with a weak space through the suggestion strip, then press backspace. Those include all two-part punctuation symbols in French for example, as well as magic space strippers like the dash in English. For English all suggestion strips symbols happen to be magic space swappers so this would not happen in English by default. Also fix a typo. Change-Id: Ia40678c264e978509b5786290a75a3c57181648e Jean Chalard1-2/+3
2012-01-12Fix a bug where last candidate would not be reset•••Bug: 5851148 Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532 Jean Chalard1-0/+6
2012-01-11Add internal structure support for isShortcutOnly (B8)•••Change-Id: Iaac80937540a45849c347f80400762032b27c82c Jean Chalard2-14/+39
2012-01-11Add EnabledWhenDefaultIsNotAsciiCapable to English keyboard subtype•••Bug: 5806103 Change-Id: Iffdc68565f4a8b5af98247a4dff9dc4e76b4056a satok1-1/+1
2012-01-11Add shortcuts to XML output of makedict (B7)•••Change-Id: I579e43cd147c4323c390cf1c9bf5e94ae79f9d86 Jean Chalard1-0/+10
2012-01-10Get rid of Keyboard.CODE_DUMMY•••Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880 Tadashi G. Takaoka12-72/+70
2012-01-10Fix proguard.flags to keep method for testing•••Change-Id: Iab6c9a4104e8eec3eeb55fdb063d4368338ac74d Tadashi G. Takaoka1-1/+1
2012-01-10Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal le...•••This will be helpful to write unit test code. Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2 Tadashi G. Takaoka5-16/+33
2012-01-10Wire the Xml-read shortcuts into the dict creation code (B6)•••Change-Id: I352064835abb62c294b48e080d9709ff013c7bb0 Jean Chalard2-12/+31
2012-01-10Fix Slavic layout on phone device•••Change-Id: I7da35502072e336ba2c32fc78827f5dff1bedddc Tadashi G. Takaoka1-2/+1
2012-01-06Add methods to read and write shortcut to binary files (B5)•••Change-Id: I8e6a4242a73b2ec95ce9e8b4739e16dfeb9f1204 Jean Chalard2-18/+98
2012-01-06Actually add shortcut targets to the suggestions (A4)•••Change-Id: Ia6f551d36b2897863e7faf5143bc319522b0668e Jean Chalard1-2/+9
2012-01-06Fill in the format-specific shortcut reading methods (A3)•••Change-Id: Ie5d8b344ed46873c92f3ef878a1e45017eb699c6 Jean Chalard1-8/+15
2012-01-06Fix indentations.•••Change-Id: I25c26e2fe50427d11d97b6204174a4f651963d24 Ken Wakasa8-21/+20
2012-01-06Add methods to read shortcuts from the binary dict (A2)•••This contains stubs only, it does not work yet, however it doesn't break anything. Change-Id: If912ae84ff3ccd7a2d6588ffd6fbb9974f87ef3d Jean Chalard3-5/+89
2012-01-05Make the dictionary iterator shortcut-aware (B4)•••Change-Id: I529dff4a50276d1a4f4896c66d1aa35296b21000 Jean Chalard3-5/+8
2012-01-05Add shortcut support to the in-memory format of makedict (B3)•••Change-Id: Icb8427c82694e24c8d08a5376157c7d1444af979 Jean Chalard4-27/+56
2012-01-05DO NOT MERGE. Save keyboard layout only when it is shown•••This is a cherrypick of I150b4a05 from master to ics-mr1. Bug: 5130446 Bug: 5787394 Change-Id: Ie0d58283042166537ff161344564c3c51b0d1296 Tadashi G. Takaoka1-1/+3