aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* Merge "Support fixed order more keys"Tadashi G. Takaoka2012-02-173-406/+3810
|\
| * Support fixed order more keys•••Change-Id: I979f54e8b54243da4d23cfbe08198d2aa495f870 Tadashi G. Takaoka2012-02-173-406/+3810
* | Remove unnecessary and harmful KeyboardState.onUpdateShiftState call•••This change also cancels double tap and long press timers if other letter key is pressed after shift key. Bug: 5693999 Bug: 6017610 Change-Id: I3b5f3debfb8915fa73a93b409a38afadf24132e9 Tadashi G. Takaoka2012-02-163-0/+86
|/
* Refactor MoreKeysKeyboard.Builder•••Change-Id: Ib5f58b1143be60c748b81299ccc3b237d2587846 Tadashi G. Takaoka2012-02-101-1136/+1336
* Merge "Rename mini keyboard to more keys keyboard"Tadashi G. Takaoka2012-02-081-83/+83
|\
| * Rename mini keyboard to more keys keyboard•••Change-Id: Ie4c85e8ca5a1f41a420aae5c1cd9c1cb07e237e5 Tadashi G. Takaoka2012-02-081-83/+83
* | Fix the auto-composer to support supplementary chars•••Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a Jean Chalard2012-02-081-2/+19
|/
* Merge "Add some unit tests for punctuation and special keys"Jean Chalard2012-02-071-0/+65
|\
| * Add some unit tests for punctuation and special keys•••Bug: 5962053 Change-Id: I7dd68767be6e724675428910fa2c00290f76e869 Jean Chalard2012-02-071-0/+65
* | Convert 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. Takaoka2012-02-071-4/+8
|/
* Fix a race condition that makes tests unstable•••Change-Id: Ic19d380eb64855884bc6ded8547c200dd772ffe9 Jean Chalard2012-02-071-0/+14
* Merge "Recursively resolve @string/resource reference in key key spec parsing"Tadashi G. Takaoka2012-02-031-0/+12
|\
| * Recursively resolve @string/resource reference in key key spec parsing•••Change-Id: I9d172605e90e828e00f7c4c8d49548498aa3b50d Tadashi G. Takaoka2012-02-031-0/+12
* | Merge "Stop inserting a space after a manually picked word."Jean Chalard2012-02-031-3/+3
|\ \ | |/ |/|
| * Stop inserting a space after a manually picked word.•••Bug: 4994861 Change-Id: I6ae256a94dbaddea4304304779d17025620c5025 Jean Chalard2012-02-031-3/+3
* | Merge "Filter out empty entry from more keys CSV"Tadashi G. Takaoka2012-02-031-2/+8
|\ \
| * | Filter out empty entry from more keys CSV•••Change-Id: I9a26aaa58f0f502b3bfef9de422370d2b0add8d8 Tadashi G. Takaoka2012-02-031-2/+8
| |/
* / Fix KeySpecParserTests to read correct icon id•••Change-Id: Ic002e7fbe84a7001874ebd59e6af8ba695d173de Tadashi G. Takaoka2012-02-031-13/+17
|/
* Merge "Get rid of Key.setIcon(Drawable)"Tadashi G. Takaoka2012-02-021-1/+1
|\
| * Get rid of Key.setIcon(Drawable)•••Change-Id: If6ebbdefcbfd0cc14c72858f9bb44861e8abe079 Tadashi G. Takaoka2012-02-031-1/+1
* | Fix a bug when deleting the last char•••And unit test Change-Id: Ic4fc3626f8b86e10156d770d41cd6deab5d31f39 Jean Chalard2012-02-031-0/+9
* | Fix 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 Chalard2012-02-031-1/+1
|/
* Parse 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. Takaoka2012-02-021-47/+75
* Merge "Add unit tests in prevision of magic space removal"Jean Chalard2012-02-021-0/+73
|\
| * Add unit tests in prevision of magic space removal•••Bug: 4994861 Change-Id: I114a1117cf19aa6e514ac7342f733175dc5d5df1 Jean Chalard2012-02-021-0/+73
* | Move CSV parser to KeySpecParser•••Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26 Tadashi G. Takaoka2012-02-021-2/+1
* | Make KeySpecParser and CSV parser code point aware•••This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409 Tadashi G. Takaoka2012-02-022-9/+75
|/
* Use 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. Takaoka2012-02-011-1/+2
* Move 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. Takaoka2012-02-014-35/+73
* Merge "Save/restore alphabet shift locked state while rotating even in symbol...Tadashi G. Takaoka2012-01-311-7/+51
|\
| * Save/restore alphabet shift locked state while rotating even in symbols mode•••Bug: 5730212 Change-Id: Id2342dacd149d6385d61001f880ebcd1883cf0b4 Tadashi G. Takaoka2012-01-311-7/+51
* | Cleanup redundant methods of KeyboardSet•••Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d Tadashi G. Takaoka2012-01-311-9/+8
* | Fix double tap shift key enable/disable shift locked mode•••Bug: 5942452 Change-Id: I2c7b1605bceac2b2f929cd4d97c417ef15c6f754 Tadashi G. Takaoka2012-01-313-9/+55
|/
* Support addtionalMoreKeys•••This change also removes * Unused more_keys_for_q, w, and p. Change-Id: Idb99e5f6d8c2ad2d28437f42b35b21c282cd181f Tadashi G. Takaoka2012-01-301-0/+210
* Save and restore previous mode keyboard state at KeyboardState.toggleAlphabet...•••Bug: 5881820 Change-Id: I9b1718b16c60f27c05ba727724c0189aa5284334 Tadashi G. Takaoka2012-01-272-7/+149
* Add KeyboardState.SwitchActions.setAlphabetShiftLockShifted•••Change-Id: I6c49d8eb0a8272840ff03e0940d88a31c3d20bd9 Tadashi G. Takaoka2012-01-263-10/+17
* Add a missing brace•••Change-Id: Ia51da6506d78a295b8b70a241208fb81602cf0ea Jean Chalard2012-01-261-0/+1
* Add a test for moving cursor then backspace•••This is a test for the case in Bug: 5851148 Change-Id: I58ee459d85f463b445a28137bdc6c40bc3067ff5 Jean Chalard2012-01-261-0/+13
* Add a test case for backspace at start of line•••Tests the behavior from Bug: 5784542 Change-Id: I78ec9d77c5dd1e3ea8eff530f9d7d284a1c094d4 Jean Chalard2012-01-261-0/+12
* Add tests for double space behavior•••Bug: 5875776 Change-Id: Icc28b6c5c0132a3afc8d603841c9e321f720b7c9 Jean Chalard2012-01-261-0/+15
* Merge "Add a test for auto-correction."Jean Chalard2012-01-251-1/+39
|\
| * Add a test for auto-correction.•••Fix two related subtle bugs: - Stop singling out fat-finger-only corrections for rejection when touch coordinates are not available. - Remove a racy check that would happen only in debug mode Change-Id: Ic904f9b27c091ca6b369052c4e65a630bff81257 Jean Chalard2012-01-251-1/+39
* | Use String instaed of CharSequence in Key class•••Change-Id: Ia76a41daede402ed2a509e110ae97d6bb660c760 Tadashi G. Takaoka2012-01-251-1/+1
|/
* Merge "Test that delete actually removes any selected text."Jean Chalard2012-01-241-7/+27
|\
| * Test that delete actually removes any selected text.•••Bug: 5699301 Change-Id: I09a967eb03690251e8bd69503285c982d6958a7d Jean Chalard2012-01-241-7/+27
* | Fix sliding shift input in caps lock mode•••Bug: 5881820 Change-Id: I4cbe3eda83c09edc9da8efbdff7d3359c1e140d5 Tadashi G. Takaoka2012-01-241-5/+2
* | For get the symbols shifted state when switch back from alphabet layout•••Bug: 5881820 Change-Id: Ic478264e1cd366affc34fbf4cd59f1b6e7efede7 Tadashi G. Takaoka2012-01-241-20/+18
* | Get rid of setShifted/setShiftLocked from SwitchActions•••Change-Id: Ib54b0575be190556690ef2dfb14077842745f038 Tadashi G. Takaoka2012-01-241-14/+9
|/
* Add more sliding input unit test•••Bug: 5881820 Change-Id: I9249d8b702ba9afbd1c7d0a4889ac5b2e929f85d Tadashi G. Takaoka2012-01-244-216/+411
* Merge "Support @icon/icon_name for more keys specification"Tadashi G. Takaoka2012-01-201-4/+4
|\