aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-07Convert one letter Key.outputText to Key.codeTadashi G. Takaoka10-53/+78
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
2012-02-07Remove unused InputConnection argumentTadashi G. Takaoka1-2/+2
Change-Id: Ic45c8c6e7730775654317fb6e2d1cb64f9031f46
2012-02-07Fix a race condition that makes tests unstableJean Chalard2-1/+15
Change-Id: Ic19d380eb64855884bc6ded8547c200dd772ffe9
2012-02-07Fix KeyStyles to be able to override the value in styleTadashi G. Takaoka2-51/+60
Change-Id: Ib7476cdc0f81dfeb6292ef663e9dbab6d2b949ba
2012-02-07Fix a bug with the auto-correct indicatorJean Chalard1-0/+1
Bug: 5969106 Change-Id: I02d4b9184bb2c3fc0d08ffd5db77a9f9d816631f
2012-02-06Fix indentKen Wakasa2-2/+2
Change-Id: I77b4fb3a47faae7d4ad45d9903556e77a2fc7163
2012-02-06Fix a bug with common objects.Jean Chalard3-8/+12
Bug: 5961179 Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e
2012-02-06Use C++ template for min/maxTadashi G. Takaoka3-3/+6
To be more friendly for off-device regression test. Change-Id: I7edf4c9de73915aad9c1760ace7df3177ed3c4e9
2012-02-03Import translations. DO NOT MERGEEric Fischer49-0/+50
Change-Id: I9e403e4199935cbb8f356f78316671373324d452
2012-02-03Recursively resolve @string/resource reference in key key spec parsingTadashi G. Takaoka3-26/+59
Change-Id: I9d172605e90e828e00f7c4c8d49548498aa3b50d
2012-02-03Support correction conversion from skip to additional proximitysatok4-15/+54
Result: I34bedff6149a6a4e01 Change-Id: I46d528f228a969a0a996299221622627f43c55ec
2012-02-03Filter out empty entry from more keys CSVTadashi G. Takaoka2-8/+20
Change-Id: I9a26aaa58f0f502b3bfef9de422370d2b0add8d8
2012-02-03Stop inserting a space after a manually picked word.Jean Chalard4-86/+78
Bug: 4994861 Change-Id: I6ae256a94dbaddea4304304779d17025620c5025
2012-02-03Fix KeySpecParserTests to read correct icon idTadashi G. Takaoka1-13/+17
Change-Id: Ic002e7fbe84a7001874ebd59e6af8ba695d173de
2012-02-03Get rid of Key.setIcon(Drawable)Tadashi G. Takaoka8-113/+101
Change-Id: If6ebbdefcbfd0cc14c72858f9bb44861e8abe079
2012-02-03Fix a bug when deleting the last charJean Chalard2-2/+13
And unit test Change-Id: Ic4fc3626f8b86e10156d770d41cd6deab5d31f39
2012-02-03Shift + smiley key become return keyTadashi G. Takaoka1-12/+26
Bug: 2498607 Change-Id: Iec902d8f0035a81e4e793251006d905025bd81cf
2012-02-03Fix string iterations in a couple places.Jean Chalard6-12/+17
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
2012-02-03Fix key repeat interval timeoutTadashi G. Takaoka1-3/+6
Bug: 5960472 Change-Id: I27d4b81d393f2ace946740a0b0801cea8c63b5b8
2012-02-02Restore deleted string still referenced from code to fix the build.Eric Fischer1-0/+2
Change-Id: Ideb39da09730960f555f2b928d699819c986531b
2012-02-02Import translations. DO NOT MERGEEric Fischer49-1000/+0
Change-Id: I5d9c89dfe2e5667ef004d1e8b9106279bd23f6f5
2012-02-02Fix Key.equals(Key)Tadashi G. Takaoka3-18/+44
Bug: 5956068 Change-Id: I2901ae28bd9121ec4f4429a53b83aae128b75e0c
2012-02-02Parse escaped sequence strictly in CSV parserTadashi G. Takaoka4-91/+90
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
2012-02-02Separate the logic for touch caribration againsatok1-34/+54
Change-Id: I59c6244674caa899af559402290160ad411d1bb5
2012-02-02Add unit tests in prevision of magic space removalJean Chalard1-0/+73
Bug: 4994861 Change-Id: I114a1117cf19aa6e514ac7342f733175dc5d5df1
2012-02-02Move CSV parser to KeySpecParserTadashi G. Takaoka5-151/+149
Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26
2012-02-02Support additional proximity characterssatok11-68/+327
Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
2012-02-02Make KeySpecParser and CSV parser code point awareTadashi G. Takaoka8-37/+121
This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
2012-02-02Stop throwing an exception in some corner cases.Jean Chalard1-9/+10
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
2012-02-01Removed CODE_CAPSLOCK from keyboard accessibility (fixing build).alanv1-1/+0
Change-Id: Ibc7ef979276f563444f3c24e69ac32de5d4eb6e8
2012-02-01Remove BIDI mirroring hack from KeyTadashi G. Takaoka24-170/+203
This change also removes isRtlKeyboard attribute from <Keyboard/> Bug: 5948247 Change-Id: I85998f17ae146a4c8cd0f419ab820b746cb8974f
2012-02-01Fix wrong long press timeout for shift keyTadashi G. Takaoka1-1/+1
Change-Id: Ifafbed1bcdaf662ee6a69050043739fa71986841
2012-02-01Use MoreKeySpecParser to parse puctuations strip resourcesTadashi G. Takaoka8-76/+150
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
2012-02-01Move long press shift handling from PointerTracker to KeyboardStateTadashi G. Takaoka59-533/+385
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
2012-01-31Refactored shift key spoken description into separate method.alanv1-21/+29
Change-Id: I183462a68fdfd339404740fa1564f737430d73d9
2012-01-31Removed spoken descriptions for characters supported by TTS or TalkBack.alanv2-64/+0
Change-Id: Iddef18559bc6af9487e536a33607b0a0b07df282
2012-01-31Save/restore alphabet shift locked state while rotating even in symbols modeTadashi G. Takaoka2-14/+60
Bug: 5730212 Change-Id: Id2342dacd149d6385d61001f880ebcd1883cf0b4
2012-01-31Cleanup redundant methods of KeyboardSetTadashi G. Takaoka3-23/+26
Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d
2012-01-31Fix double tap shift key enable/disable shift locked modeTadashi G. Takaoka7-118/+135
Bug: 5942452 Change-Id: I2c7b1605bceac2b2f929cd4d97c417ef15c6f754
2012-01-31Cleanup redundant methods of KeyboardSwitcherTadashi G. Takaoka3-41/+32
Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1
2012-01-31Auto generate various shift states alphabet keyboard automaticallyTadashi G. Takaoka28-505/+394
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
2012-01-30Removed unused "no item selected" notification & supporting code from ↵alanv3-107/+0
keyboard accessibility. Change-Id: Ia6323ad0c1e2a0db5a2cf830e97765eddaa32cee
2012-01-30Implement multi words suggestions step1satok5-110/+132
Change-Id: I96e8e1b0d9ccc0ed13d53c40300d8c19bcb7af5b
2012-01-30Support addtionalMoreKeysTadashi G. Takaoka58-356/+566
This change also removes * Unused more_keys_for_q, w, and p. Change-Id: Idb99e5f6d8c2ad2d28437f42b35b21c282cd181f
2012-01-30Add "size" and "pressure" for MotionEvent logsKen Wakasa2-3/+5
bug: 5722703 Change-Id: I8e08942324b666de96682ce63e70c8d324535782
2012-01-27Import translations. DO NOT MERGEEric Fischer49-72/+81
Change-Id: I89dcb839308eadb722f91ccd4327208d8d477dc2
2012-01-28Rename keyboard XML resource filesTadashi G. Takaoka112-191/+191
* <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
2012-01-27Share kbd_row3_smiley.xmlTadashi G. Takaoka10-90/+30
Change-Id: Ie5e68f972a739ab151201bd13bb1771e164313e6
2012-01-27Support keyXPos/keyWidth override in <include>Tadashi G. Takaoka1-5/+38
Change-Id: I03576a6fb7916f2f66f2035a04872fe89b573cdc
2012-01-27Create separate XML for number password keyboardTadashi G. Takaoka9-532/+606
Change-Id: I1d73a03bfce9180106575e180bfeb422da03b9fb