aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodManagerCompatWrapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-02-09Allow revert swap punctuation again•••This may not be the best behavior, but it's the same as ICS. Bug: 5981844 Change-Id: Ibb7798e2a315312310ed3be4e731d0fe1ac04456 Jean Chalard1-1/+1
2012-02-08Import translations. DO NOT MERGE•••Change-Id: I02629c1f8dd311899b3aba89bfb1390150ace7ac Eric Fischer49-0/+98
2012-02-08Custom action label should be a part of keyboard identifier•••Change-Id: Ia14cabc3d49fbdcb11dd00225d225fbb91cc4012 Tadashi G. Takaoka7-3/+8
2012-02-08Shift+Smiley key will register newline character of textMultiLine•••This change also * Honors the custom action label in EditorInfo.actionLabel. * Invokes InputConnection.performeEditorAction if action is specifed at EditorInfo.imeOptions or actionLabel/actionId. * Stops using InputMethodService.sendKeyChar. Implements sendKeyCodePoint instead. Bug: 2498607 Bug: 5961809 Bug: 5368408 Change-Id: If4cd5eb3dacfc6b6a7ea434b0617c2438e06e42d Tadashi G. Takaoka49-284/+516
2012-02-08More simplification•••A suggested punctuation is sure to be 1 character and a word separator, so the isSuggestedPunctuation() test is redundant. Change-Id: I3d31f0825f069f64d514682e46be62afdae25291 Jean Chalard1-44/+48
2012-02-08Rename mini keyboard to more keys keyboard•••Change-Id: Ie4c85e8ca5a1f41a420aae5c1cd9c1cb07e237e5 Tadashi G. Takaoka35-236/+246
2012-02-08Fix the auto-composer to support supplementary chars•••Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a Jean Chalard2-15/+41
2012-02-08Fix obvious bug•••Change-Id: I3a0e5c699bbe4e9274dacdbdf92dff14148bd2c1 Tadashi G. Takaoka1-4/+1
2012-02-08Support multi words suggestion•••result: I4d097612db2f2a93522 Change-Id: Iedbb24f431dac43e52b6dcce8cb610a75e0ca46e satok5-64/+125
2012-02-08Cleanup•••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 Jean Chalard1-5/+1
2012-02-08Remove a nested edition occurence•••This was harmless but confusing Change-Id: Ic271f80d3dadf01b29e3875c6a8ad51b99a936f9 Jean Chalard1-4/+2
2012-02-08Small simplification•••Change-Id: I55f81f3ab427fd5b28bb1f31960077cd1897cbd0 Jean Chalard1-16/+5
2012-02-07Import translations. DO NOT MERGE•••Change-Id: I01b1e6476b50108810eb61ad45a198db2b52b7de Eric Fischer1-1/+1
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-07Fix a bug with manual pick then dotcom key•••Inhibit adding phantom space for tld keys even if the last character inserted in the textview is not a dot Change-Id: Ie92554ead7a18c932480905c5738aff7c0159a32 Jean Chalard1-1/+3
2012-02-07Add some unit tests for punctuation and special keys•••Bug: 5962053 Change-Id: I7dd68767be6e724675428910fa2c00290f76e869 Jean Chalard1-0/+65
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