aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-02-07Convert one letter Key.outputText to Key.code•••This change also uses Key.code instead of Key.outputText for the variety of parentheses keys taht introduced by I85998f17. Bug: 5975484 Change-Id: I86879c9942d264edc71e5893325a2f582763d12f Tadashi G. Takaoka10-53/+78
2012-02-07Remove unused InputConnection argument•••Change-Id: Ic45c8c6e7730775654317fb6e2d1cb64f9031f46 Tadashi G. Takaoka1-2/+2
2012-02-07Fix a race condition that makes tests unstable•••Change-Id: Ic19d380eb64855884bc6ded8547c200dd772ffe9 Jean Chalard2-1/+15
2012-02-07Fix KeyStyles to be able to override the value in style•••Change-Id: Ib7476cdc0f81dfeb6292ef663e9dbab6d2b949ba Tadashi G. Takaoka2-51/+60
2012-02-07Fix a bug with the auto-correct indicator•••Bug: 5969106 Change-Id: I02d4b9184bb2c3fc0d08ffd5db77a9f9d816631f Jean Chalard1-0/+1
2012-02-06Fix indent•••Change-Id: I77b4fb3a47faae7d4ad45d9903556e77a2fc7163 Ken Wakasa2-2/+2
2012-02-06Fix a bug with common objects.•••Bug: 5961179 Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e Jean Chalard3-8/+12
2012-02-06Use C++ template for min/max•••To be more friendly for off-device regression test. Change-Id: I7edf4c9de73915aad9c1760ace7df3177ed3c4e9 Tadashi G. Takaoka3-3/+6
2012-02-03Import translations. DO NOT MERGE•••Change-Id: I9e403e4199935cbb8f356f78316671373324d452 Eric Fischer49-0/+50
2012-02-03Recursively resolve @string/resource reference in key key spec parsing•••Change-Id: I9d172605e90e828e00f7c4c8d49548498aa3b50d Tadashi G. Takaoka3-26/+59
2012-02-03Support correction conversion from skip to additional proximity•••Result: I34bedff6149a6a4e01 Change-Id: I46d528f228a969a0a996299221622627f43c55ec satok4-15/+54
2012-02-03Filter out empty entry from more keys CSV•••Change-Id: I9a26aaa58f0f502b3bfef9de422370d2b0add8d8 Tadashi G. Takaoka2-8/+20
2012-02-03Stop inserting a space after a manually picked word.•••Bug: 4994861 Change-Id: I6ae256a94dbaddea4304304779d17025620c5025 Jean Chalard4-86/+78
2012-02-03Fix KeySpecParserTests to read correct icon id•••Change-Id: Ic002e7fbe84a7001874ebd59e6af8ba695d173de Tadashi G. Takaoka1-13/+17
2012-02-03Get rid of Key.setIcon(Drawable)•••Change-Id: If6ebbdefcbfd0cc14c72858f9bb44861e8abe079 Tadashi G. Takaoka8-113/+101
2012-02-03Fix a bug when deleting the last char•••And unit test Change-Id: Ic4fc3626f8b86e10156d770d41cd6deab5d31f39 Jean Chalard2-2/+13
2012-02-03Shift + smiley key become return key•••Bug: 2498607 Change-Id: Iec902d8f0035a81e4e793251006d905025bd81cf Tadashi G. Takaoka1-12/+26
2012-02-03Fix string iterations in a couple places.•••Seems I didn't get how to iterate on a String correctly >.> Talk about a big bug. Anyway, I think it's working now. Bug: 5955228 Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0 Jean Chalard6-12/+17
2012-02-03Fix key repeat interval timeout•••Bug: 5960472 Change-Id: I27d4b81d393f2ace946740a0b0801cea8c63b5b8 Tadashi G. Takaoka1-3/+6
2012-02-02Restore deleted string still referenced from code to fix the build.•••Change-Id: Ideb39da09730960f555f2b928d699819c986531b Eric Fischer1-0/+2
2012-02-02Import translations. DO NOT MERGE•••Change-Id: I5d9c89dfe2e5667ef004d1e8b9106279bd23f6f5 Eric Fischer49-1000/+0
2012-02-02Fix Key.equals(Key)•••Bug: 5956068 Change-Id: I2901ae28bd9121ec4f4429a53b83aae128b75e0c Tadashi G. Takaoka3-18/+44
2012-02-02Parse escaped sequence strictly in CSV parser•••This change alters the CSV parser behavior. The parser only resolves * String resource reference. ["@string/res" -> "<content_of_res>"] * Other occurrence of escape sequence will be intact. ["\x" -> "\x"] Before this change, escape sequence in moreKeys string is parsed three times. At first in parsing string resource, next in CSV parser, and at last in KeySpecParser. So that representing single escape character itself is a bit annoying, "\\\\\\\\". Now we can represent single escape character itself in string resource by "\\\\". Change-Id: Ib978e17b779cc82585eed8241ac3857508b14bc7 Tadashi G. Takaoka4-91/+90
2012-02-02Separate the logic for touch caribration again•••Change-Id: I59c6244674caa899af559402290160ad411d1bb5 satok1-34/+54
2012-02-02Add unit tests in prevision of magic space removal•••Bug: 4994861 Change-Id: I114a1117cf19aa6e514ac7342f733175dc5d5df1 Jean Chalard1-0/+73
2012-02-02Move CSV parser to KeySpecParser•••Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26 Tadashi G. Takaoka5-151/+149
2012-02-02Support additional proximity characters•••Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689 satok11-68/+327
2012-02-02Make KeySpecParser and CSV parser code point aware•••This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409 Tadashi G. Takaoka8-37/+121
2012-02-02Stop throwing an exception in some corner cases.•••When the application is modifying the text under our feet, we may come through this code path. We should log the error rather than crash. Bug: 5869235 Change-Id: Ic0fd24c3bc805d44c5db0ad781ddebeca0450614 Jean Chalard1-9/+10
2012-02-01Removed CODE_CAPSLOCK from keyboard accessibility (fixing build).•••Change-Id: Ibc7ef979276f563444f3c24e69ac32de5d4eb6e8 alanv1-1/+0
2012-02-01Remove BIDI mirroring hack from Key•••This change also removes isRtlKeyboard attribute from <Keyboard/> Bug: 5948247 Change-Id: I85998f17ae146a4c8cd0f419ab820b746cb8974f Tadashi G. Takaoka24-170/+203
2012-02-01Fix wrong long press timeout for shift key•••Change-Id: Ifafbed1bcdaf662ee6a69050043739fa71986841 Tadashi G. Takaoka1-1/+1
2012-02-01Use MoreKeySpecParser to parse puctuations strip resources•••This change also * Doesn't use Key.getRtlParenthesisCode to get correct parentheses code in RTL context. Intead uses the outputText feature of moreKeys specification. * Move CVS string parser from KeyStyles to Utils. Bug: 5948247 Change-Id: I45752c7d01b4f7d3f3da900b110a2185b336a1f0 Tadashi G. Takaoka8-76/+150
2012-02-01Move long press shift handling from PointerTracker to KeyboardState•••This change also * Rename phone shift keyboard to phone symbols keyboard. Use CODE_SWITCH_ALPHA_SYMBOL code to switch between phone and phone symbols keyboard. * Remove phone symbols keyboard from tablet. * Introduces enableLongPress flag of Key.keyActionFlags attribute. * Remove clumsy long press code from PointerTracker. * Remove CODE_CAPSLOCK handling from LatinIME. * Make KeyboardSwitcher to invoke haptic and audio feedback. Change-Id: I00e1f697a10ab5112aec75e36853b96246ff5054 Tadashi G. Takaoka59-533/+385
2012-01-31Refactored shift key spoken description into separate method.•••Change-Id: I183462a68fdfd339404740fa1564f737430d73d9 alanv1-21/+29
2012-01-31Removed spoken descriptions for characters supported by TTS or TalkBack.•••Change-Id: Iddef18559bc6af9487e536a33607b0a0b07df282 alanv2-64/+0
2012-01-31Save/restore alphabet shift locked state while rotating even in symbols mode•••Bug: 5730212 Change-Id: Id2342dacd149d6385d61001f880ebcd1883cf0b4 Tadashi G. Takaoka2-14/+60
2012-01-31Cleanup redundant methods of KeyboardSet•••Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d Tadashi G. Takaoka3-23/+26
2012-01-31Fix double tap shift key enable/disable shift locked mode•••Bug: 5942452 Change-Id: I2c7b1605bceac2b2f929cd4d97c417ef15c6f754 Tadashi G. Takaoka7-118/+135
2012-01-31Cleanup redundant methods of KeyboardSwitcher•••Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1 Tadashi G. Takaoka3-41/+32
2012-01-31Auto generate various shift states alphabet keyboard automatically•••If any shift state variants of alphabet keyboard layout is not specified in KeyboardSet.Element, it will be automatically generated from base alphabet keyboard definition. This change also * Eliminates KeyboardShiftState object from Keyboard. * Removes various set shift state methods from Keyboard. * Removes KeyboardSet.Element.elementAutoGenerate attribute. * Separates "sticky" Key.backgroundType to "stickyOff" and "stickyOn" * Add preserveCase flag to smiley, .com, and labeled special keys. * Rename KeyboardShiftState class to AlphabetShiftState. * Rename some attributes from *UppercaseLetter* to *ShiftedLetterHint*. * Introduce shiftedLetterActivated to Key.keyLabelFlags Change-Id: I01a0a8efeeaa76820ae728a5bdfa8d02b6ce74b7 Tadashi G. Takaoka28-505/+394
2012-01-30Removed unused "no item selected" notification & supporting code from keyboar...•••Change-Id: Ia6323ad0c1e2a0db5a2cf830e97765eddaa32cee alanv3-107/+0
2012-01-30Implement multi words suggestions step1•••Change-Id: I96e8e1b0d9ccc0ed13d53c40300d8c19bcb7af5b satok5-110/+132
2012-01-30Support addtionalMoreKeys•••This change also removes * Unused more_keys_for_q, w, and p. Change-Id: Idb99e5f6d8c2ad2d28437f42b35b21c282cd181f Tadashi G. Takaoka58-356/+566
2012-01-30Add "size" and "pressure" for MotionEvent logs•••bug: 5722703 Change-Id: I8e08942324b666de96682ce63e70c8d324535782 Ken Wakasa2-3/+5
2012-01-27Import translations. DO NOT MERGE•••Change-Id: I89dcb839308eadb722f91ccd4327208d8d477dc2 Eric Fischer49-72/+81
2012-01-28Rename keyboard XML resource files••• * <Keyboard> XML file should be kbd_*.xml * <Row> XML file should be rows_*.xml or row_*.xml * <Key> XML file should be key_*.xml or keys_*.xml * <key-style> XML file should be key_styles_*.xml Change-Id: Ie57d5d78389c13d6c066ace4e3588518d1f25f13 Tadashi G. Takaoka112-191/+191
2012-01-27Share kbd_row3_smiley.xml•••Change-Id: Ie5e68f972a739ab151201bd13bb1771e164313e6 Tadashi G. Takaoka10-90/+30
2012-01-27Support keyXPos/keyWidth override in <include>•••Change-Id: I03576a6fb7916f2f66f2035a04872fe89b573cdc Tadashi G. Takaoka1-5/+38
2012-01-27Create separate XML for number password keyboard•••Change-Id: I1d73a03bfce9180106575e180bfeb422da03b9fb Tadashi G. Takaoka9-532/+606