aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-08Fix the auto-composer to support supplementary charsJean Chalard1-13/+22
Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a
2012-02-08Fix obvious bugTadashi G. Takaoka1-4/+1
Change-Id: I3a0e5c699bbe4e9274dacdbdf92dff14148bd2c1
2012-02-08Support multi words suggestionsatok5-64/+125
result: I4d097612db2f2a93522 Change-Id: Iedbb24f431dac43e52b6dcce8cb610a75e0ca46e
2012-02-08CleanupJean Chalard1-5/+1
Remove a useless test (we can only come here if the code is not a separator, as we are only called from onCodeInput inside an explicit test). Change-Id: Icd996a5a1c18a550117a144a1d35f167b96211f7
2012-02-08Remove a nested edition occurenceJean Chalard1-4/+2
This was harmless but confusing Change-Id: Ic271f80d3dadf01b29e3875c6a8ad51b99a936f9
2012-02-08Small simplificationJean Chalard1-16/+5
Change-Id: I55f81f3ab427fd5b28bb1f31960077cd1897cbd0
2012-02-07Import translations. DO NOT MERGEEric Fischer1-1/+1
Change-Id: I01b1e6476b50108810eb61ad45a198db2b52b7de
2012-02-07Import translations. DO NOT MERGEEric Fischer1-1/+1
Change-Id: Ice4f112ee7b4b16fecb0f0ee5c42c6fe9d227853
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-07Fix a bug with manual pick then dotcom keyJean Chalard1-1/+3
Inhibit adding phantom space for tld keys even if the last character inserted in the textview is not a dot Change-Id: Ie92554ead7a18c932480905c5738aff7c0159a32
2012-02-07Add some unit tests for punctuation and special keysJean Chalard1-0/+65
Bug: 5962053 Change-Id: I7dd68767be6e724675428910fa2c00290f76e869
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-03Import translations. DO NOT MERGEEric Fischer49-0/+50
Change-Id: If14fd8c2180e4c82cd9f01c730fbc140622c7486
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-02Import translations. DO NOT MERGEEric Fischer49-1000/+0
Change-Id: Iddfa678726179e05580b137b392f336fde3985b2
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