aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com (follow)
Commit message (Expand)AuthorAgeFilesLines
* Give InputLogicTests the ability to change language•••Also fix a typo, and increase the time allowed to load the main dictionary to 2 secs instead of 1. Bug: 6114326 Change-Id: I5f70b34fc4277c55977b18466253152aa98a2507 Jean Chalard2012-03-082-14/+115
* Fix a bug with successive manual picks•••Bug: 6121571 Change-Id: Ib16fbef1087da3b7da5539901ec57156f242f089 Jean Chalard2012-03-071-1/+26
* Merge "Integrate the logic to calculate the proximities"satok2012-03-051-27/+3
|\
| * Integrate the logic to calculate the proximities•••Bug: 4343280 Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76 satok2012-03-061-27/+3
* | Fix a test•••To some extent, the test was wrong here. After space is typed in this case, we wait a small delay before updating the suggestion strip so that we can display bigram predictions without introducing delays. The suggestion strip is not displayed until then. The test was bypassing this by simulating a press on the suggestion strip, but for LatinIME it was not displayed yet, hence the bug. The new code waits for the delay, makes sure the suggestion strip is actually displaying punctuation marks, then press the mark and do the intended test on space. Change-Id: I18f82da1bc0a8e584e9b1bac59ff48823d78ec12 Jean Chalard2012-03-061-0/+4
|/
* Merge "Support dividers in MoreKeysKeyboard"Tadashi G. Takaoka2012-03-022-2/+2
|\
| * Support dividers in MoreKeysKeyboard•••Bug: 6080806 Change-Id: Iacd78c6aab6abf948717d34da7489a79c41316d2 Tadashi G. Takaoka2012-03-022-2/+2
* | Merge "Remove obsolete tests"Tadashi G. Takaoka2012-03-015-663/+0
|\ \
| * | Remove obsolete tests•••Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb Tadashi G. Takaoka2012-03-025-663/+0
| |/
* / Add basic tests for auto-correct indicator.•••Bug: 5975557 Change-Id: I39e782f89813b9d585e369e590d6288e696168a2 Jean Chalard2012-03-021-0/+119
|/
* Refactor more keys spec handling•••Change-Id: Ibd95eff0725724ea35ad58e1d1ec7ec3d02a6e90 Tadashi G. Takaoka2012-03-012-5/+9
* Merge "Reset previous symbols shifted state when auto switch backed"Tadashi G. Takaoka2012-02-291-0/+2
|\
| * Reset previous symbols shifted state when auto switch backed•••Bug: 6072517 Change-Id: I00337b3ed5c85df4627e8f5a02465d406c4d9178 Tadashi G. Takaoka2012-03-011-0/+2
* | Add a method to run the handler's messages from the tests•••This is really brutal, but after trying many many things I didn't find a better way. It works with the current implementation of MessageQueue. Since this only introduces a utility method it doesn't really do anything, but the functionality it provides will be essential to Bug: 5975557 Change-Id: I81c4113a08f9a8d8a88294d7dd3b6c8c483c8b1d Jean Chalard2012-02-291-0/+47
|/
* Add some unit tests.•••- Type "tgis", manually pick "thus", press backspace. Backspace should revert the manual pick. Check "tgis" is the result. - Type "tgis" followed by a period. Period should trigger auto-correct to "this". Check "this" is the result. - Type "tgis" followed by a period, then backspace. Period should trigger auto-correct to "this", and backspace should revert the auto-correction. Check "tgis." is the result. Change-Id: I7e23c8a26fbdbe23336149a05ff01bc51707422e Jean Chalard2012-02-221-0/+51
* 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