aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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 parsingTadashi G. Takaoka2012-02-031-0/+12
| | | | | | | | Change-Id: I9d172605e90e828e00f7c4c8d49548498aa3b50d
* | 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.Jean Chalard2012-02-031-3/+3
| | | | | | | | | | Bug: 4994861 Change-Id: I6ae256a94dbaddea4304304779d17025620c5025
* | Merge "Filter out empty entry from more keys CSV"Tadashi G. Takaoka2012-02-031-2/+8
|\ \
| * | Filter out empty entry from more keys CSVTadashi G. Takaoka2012-02-031-2/+8
| |/ | | | | | | Change-Id: I9a26aaa58f0f502b3bfef9de422370d2b0add8d8
* / Fix KeySpecParserTests to read correct icon idTadashi G. Takaoka2012-02-031-13/+17
|/ | | | Change-Id: Ic002e7fbe84a7001874ebd59e6af8ba695d173de
* Merge "Get rid of Key.setIcon(Drawable)"Tadashi G. Takaoka2012-02-021-1/+1
|\
| * Get rid of Key.setIcon(Drawable)Tadashi G. Takaoka2012-02-031-1/+1
| | | | | | | | Change-Id: If6ebbdefcbfd0cc14c72858f9bb44861e8abe079
* | Fix a bug when deleting the last charJean Chalard2012-02-031-0/+9
| | | | | | | | | | | | And unit test Change-Id: Ic4fc3626f8b86e10156d770d41cd6deab5d31f39
* | Fix string iterations in a couple places.Jean Chalard2012-02-031-1/+1
|/ | | | | | | | 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
* Parse escaped sequence strictly in CSV parserTadashi G. Takaoka2012-02-021-47/+75
| | | | | | | | | | | | | | | 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
* Merge "Add unit tests in prevision of magic space removal"Jean Chalard2012-02-021-0/+73
|\
| * Add unit tests in prevision of magic space removalJean Chalard2012-02-021-0/+73
| | | | | | | | | | Bug: 4994861 Change-Id: I114a1117cf19aa6e514ac7342f733175dc5d5df1
* | Move CSV parser to KeySpecParserTadashi G. Takaoka2012-02-021-2/+1
| | | | | | | | Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26
* | Make KeySpecParser and CSV parser code point awareTadashi G. Takaoka2012-02-022-9/+75
|/ | | | | | This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
* Use MoreKeySpecParser to parse puctuations strip resourcesTadashi G. Takaoka2012-02-011-1/+2
| | | | | | | | | | | 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
* Move long press shift handling from PointerTracker to KeyboardStateTadashi G. Takaoka2012-02-014-35/+73
| | | | | | | | | | | | | 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
* Merge "Save/restore alphabet shift locked state while rotating even in ↵Tadashi G. Takaoka2012-01-311-7/+51
|\ | | | | | | symbols mode"
| * Save/restore alphabet shift locked state while rotating even in symbols modeTadashi G. Takaoka2012-01-311-7/+51
| | | | | | | | | | Bug: 5730212 Change-Id: Id2342dacd149d6385d61001f880ebcd1883cf0b4
* | Cleanup redundant methods of KeyboardSetTadashi G. Takaoka2012-01-311-9/+8
| | | | | | | | Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d
* | Fix double tap shift key enable/disable shift locked modeTadashi G. Takaoka2012-01-313-9/+55
|/ | | | | Bug: 5942452 Change-Id: I2c7b1605bceac2b2f929cd4d97c417ef15c6f754
* Support addtionalMoreKeysTadashi G. Takaoka2012-01-301-0/+210
| | | | | | | This change also removes * Unused more_keys_for_q, w, and p. Change-Id: Idb99e5f6d8c2ad2d28437f42b35b21c282cd181f
* Save and restore previous mode keyboard state at ↵Tadashi G. Takaoka2012-01-272-7/+149
| | | | | | | KeyboardState.toggleAlphabetAndSymbols Bug: 5881820 Change-Id: I9b1718b16c60f27c05ba727724c0189aa5284334
* Add KeyboardState.SwitchActions.setAlphabetShiftLockShiftedTadashi G. Takaoka2012-01-263-10/+17
| | | | Change-Id: I6c49d8eb0a8272840ff03e0940d88a31c3d20bd9
* Add a missing braceJean Chalard2012-01-261-0/+1
| | | | Change-Id: Ia51da6506d78a295b8b70a241208fb81602cf0ea
* Add a test for moving cursor then backspaceJean Chalard2012-01-261-0/+13
| | | | | | | This is a test for the case in Bug: 5851148 Change-Id: I58ee459d85f463b445a28137bdc6c40bc3067ff5
* Add a test case for backspace at start of lineJean Chalard2012-01-261-0/+12
| | | | | | | Tests the behavior from Bug: 5784542 Change-Id: I78ec9d77c5dd1e3ea8eff530f9d7d284a1c094d4
* Add tests for double space behaviorJean Chalard2012-01-261-0/+15
| | | | | Bug: 5875776 Change-Id: Icc28b6c5c0132a3afc8d603841c9e321f720b7c9
* Merge "Add a test for auto-correction."Jean Chalard2012-01-251-1/+39
|\
| * Add a test for auto-correction.Jean Chalard2012-01-251-1/+39
| | | | | | | | | | | | | | | | | | 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
* | Use String instaed of CharSequence in Key classTadashi G. Takaoka2012-01-251-1/+1
|/ | | | Change-Id: Ia76a41daede402ed2a509e110ae97d6bb660c760
* Merge "Test that delete actually removes any selected text."Jean Chalard2012-01-241-7/+27
|\
| * Test that delete actually removes any selected text.Jean Chalard2012-01-241-7/+27
| | | | | | | | | | Bug: 5699301 Change-Id: I09a967eb03690251e8bd69503285c982d6958a7d
* | Fix sliding shift input in caps lock modeTadashi G. Takaoka2012-01-241-5/+2
| | | | | | | | | | Bug: 5881820 Change-Id: I4cbe3eda83c09edc9da8efbdff7d3359c1e140d5
* | For get the symbols shifted state when switch back from alphabet layoutTadashi G. Takaoka2012-01-241-20/+18
| | | | | | | | | | Bug: 5881820 Change-Id: Ic478264e1cd366affc34fbf4cd59f1b6e7efede7
* | Get rid of setShifted/setShiftLocked from SwitchActionsTadashi G. Takaoka2012-01-241-14/+9
|/ | | | Change-Id: Ib54b0575be190556690ef2dfb14077842745f038
* Add more sliding input unit testTadashi G. Takaoka2012-01-244-216/+411
| | | | | Bug: 5881820 Change-Id: I9249d8b702ba9afbd1c7d0a4889ac5b2e929f85d
* Merge "Support @icon/icon_name for more keys specification"Tadashi G. Takaoka2012-01-201-4/+4
|\
| * Support @icon/icon_name for more keys specificationTadashi G. Takaoka2012-01-201-4/+4
| | | | | | | | Change-Id: I8842e5ce77f9d27a0969df947de292c1830e36b7
* | Merge "Enable DEBUG mode for logic tests."Jean Chalard2012-01-201-0/+16
|\ \ | |/ |/|
| * Enable DEBUG mode for logic tests.Jean Chalard2012-01-201-0/+16
| | | | | | | | | | | | | | This enables a wealth of useful checks. We want to run unit tests with debug mode on. Change-Id: Ic45caaf43a889287f5aec203e7d1ba63136fc58e
* | Support @string reference in moreKeys attributeTadashi G. Takaoka2012-01-201-5/+140
| | | | | | | | Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06
* | Merge "Move MoreKeySpecParser.getResourceId to Utils"Tadashi G. Takaoka2012-01-201-1/+1
|\ \
| * | Move MoreKeySpecParser.getResourceId to UtilsTadashi G. Takaoka2012-01-201-1/+1
| | | | | | | | | | | | Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736
* | | Merge "Change more key specification type to String from CharSequence"Tadashi G. Takaoka2012-01-201-5/+2
|\ \ \ | |_|/ |/| |
| * | Change more key specification type to String from CharSequenceTadashi G. Takaoka2012-01-201-5/+2
| |/ | | | | | | Change-Id: I5e910f8225a248fc6403771836dec4c0b7294caa
* / Add the first tests for the input login in LatinIME classJean Chalard2012-01-201-0/+106
|/ | | | Change-Id: Ifcf9ab55ee01bf7c6c6829e699246e5654975456
* Fix KeyboardState switching back from alphabet-chording input correctlyTadashi G. Takaoka2012-01-191-10/+9
| | | | | Bug: 5881820 Change-Id: I108bbc25baa331cc87f00955b48188b3557d10dd
* Fix KeyboardState to pass KeyboardStateMultiTouchTestsTadashi G. Takaoka2012-01-191-14/+11
| | | | Change-Id: If2b9ee7cf3fad7633d64b98758f802792d66f7a8