aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge "Add more sliding input unit test"Tadashi G. Takaoka2012-01-234-216/+411
|\
| * Add more sliding input unit testTadashi G. Takaoka2012-01-244-216/+411
| | | | | | | | | | Bug: 5881820 Change-Id: I9249d8b702ba9afbd1c7d0a4889ac5b2e929f85d
* | Move string resources for unit test to donottranslate.xmlTadashi G. Takaoka2012-01-241-0/+0
|/ | | | | Bug: 5904617 Change-Id: I2eb677a4dd9686f87fec9f11051775a5c9c670a1
* 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-202-5/+190
| | | | | | | | 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
* Cleanup KeyboardState a bitTadashi G. Takaoka2012-01-191-2/+4
| | | | | | Rename KeyboardShiftState variable and reorder some statements. Change-Id: I7e8842836f35876f8697f9906343f7d4a1f9db4f
* Fix MoreKeySpecParser to be able to handle outputText correctlyTadashi G. Takaoka2012-01-191-39/+39
| | | | | | | The issue was introduced by Id2320f4d. Bug: 5887936 Change-Id: Ifec3aefb5b168f790de696ece104b84cdab46539
* Add more multitouch testsTadashi G. Takaoka2012-01-184-34/+220
| | | | Change-Id: I424a4b608fec084cb787003ef4417ccf273366ae
* Get rid of hasDistinctMultitouch reference from KeyboardStateTadashi G. Takaoka2012-01-184-19/+6
| | | | Change-Id: I0a783a425302fbc381d056f5b0d757c27f2a9f14
* Add KeyboardStateTestsBase and helper methodsTadashi G. Takaoka2012-01-184-402/+288
| | | | Change-Id: I17d908b60bbf784dae7add8355f699a63f7eb90a
* Remove KeyboardSwicther.toggleCapslockTadashi G. Takaoka2012-01-173-13/+3
| | | | Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
* Rename KeyboardActionListener methodsTadashi G. Takaoka2012-01-173-115/+143
| | | | | | | | | | | * Rename KeyboardActionListener.onPress to onPressKey * Rename KeyboardActionListener.onRelease to onReleaseKey * Merge KeyboardSwicther.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey. * Merge KeyboardSwitcher.onReleaseShift and onReleaseSymbol to onReleaseKey. * Merge KeyboardState.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey. * Merge KeyboardState.onReleaseShift and onReleaseSymbol to onReleaseKey. Change-Id: Icf28fd18e238c5e534c292893e4ab5b6b98e72f8
* Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcherTadashi G. Takaoka2012-01-173-472/+188
| | | | Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997
* Remove redundant permission tagTadashi G. Takaoka2012-01-161-2/+0
| | | | Change-Id: I717e2fc9dca13096d76c159f8c3bebff065c6ca1
* Merge "KeyboardState unit tests for non-distinct multitouch device"Tadashi G. Takaoka2012-01-163-1/+316
|\