aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com (follow)
Commit message (Expand)AuthorAgeFilesLines
* Change which backdoor the tests goes through•••Yes that's even harder to understand. The old technique doesn't work any more, so I have to drill a new hole in this class. Bug: 8303100 Change-Id: I70a41b5094dab2bb56a17eaf55b2a2df853e4bb6 Jean Chalard2013-04-021-8/+12
* Fix a test.•••The test was not passing the correct input type when it was creating the text view, resulting in mismatched types seen from TextView and LatinIME with some bad results. The test would even go as far as restoring it after it's been fixed by TextView. Additionally, since we want to enter litteral carriage returns, the input type should be MULTI_LINE. If not, TextView does not allow carriage returns. Bug: 8302690 Change-Id: I1c20bcf6ca554ad981048ec181e19c649f6c742e Jean Chalard2013-04-021-3/+3
* Interpolate gesture preview trails•••There is the boolean flag to kill interpolation. Bug: 7167303 Change-Id: Iac7e4cb88cf437c2ee77c003c9cddb92416025c7 Tadashi G. Takaoka2013-04-011-0/+203
* Fix two nasty bugs with surrogate pairs.•••The important bug is in findWordInTree. The problem, which is not obvious, is that we were calling codePointAt() with the code point index in the string, instead of the char index. The other bug this change fixes was harmless in the practice, because it's in the iteration which is only used for debug and pretty printing purposes. It's very similar in that it would substract a length in code point to a length in chars and truncate a StringBuilder at that length, so it would fail in a quite similar manner. This changes the meaning of the "length" attribute in Position, but it's clearer this way anyway. Bug: 8450145 Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0 Jean Chalard2013-04-011-14/+14
* Remove reference to string.english_ime_name•••Bug: 6789579 Change-Id: I062c076f0ca16cc39274e20955aa83d667b7380d Tadashi G. Takaoka2013-03-221-3/+5
* Separate suggestions from SuggestionView•••This is a cleanup change, but it's also necessary for Bug: 8152758 Change-Id: Id6ba06243f573fdb856f87d1df03277c9f2e5e71 Jean Chalard2013-02-281-9/+16
* Fix failed unit test due to resource string change•••Change-Id: Ie7acdf6895a9769eb43ea8a1c70c0d13b32ed349 Tadashi G. Takaoka2013-02-261-3/+3
* Merge "Separate caps mode related utils to CapsModeUtils"Tadashi G. Takaoka2013-02-1224-250/+273
|\
| * Separate caps mode related utils to CapsModeUtils•••Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf Tadashi G. Takaoka2013-02-1224-250/+273
* | Merge "Move parseCsvString to StringUtils"Tadashi G. Takaoka2013-02-121-1/+3
|\|
| * Move parseCsvString to StringUtils•••Change-Id: I602f33991ca57b6057ec2defe01573552b322857 Tadashi G. Takaoka2013-02-121-1/+3
* | Cleanups•••Follow-up to Idc6f419a Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5 Jean Chalard2013-02-112-16/+16
|/
* Fix a test•••The test is wrong - it checks a struct that contains a string instead of checking the string itself. Bug: 8149360 Change-Id: Ifb93d61f25a64a64e1c1e689de792f27994487b6 Jean Chalard2013-02-061-1/+1
* Add unit tests tags•••Bug: 8131968 Change-Id: Ibca5a0d63a492134b8af401a62ca3a5748e003cf Tadashi G. Takaoka2013-02-0427-27/+70
* [Rlog48c] Replay historical motion data•••Change-Id: Ib398ea61ff048b1a4ac3b7f7b4a772e173a7b294 Kurt Partridge2013-02-041-0/+169
* Add a way to know externally if we're installing a new dict•••That helps tests know when to wait and when to declare the dictionary actually not usable. Bug: 7925814 Change-Id: Ic963c1206c43e3cde39ac4214a0d601f4fc6c03b Jean Chalard2013-01-311-2/+2
* Remove keyboard layout description on the spacebar•••Bug: 8056376 Change-Id: I33f07e7a044c2b5fc20de40c7a9777dab493e41c Tadashi G. Takaoka2013-01-281-80/+117
* Display custom input style name in system locale•••Bug: 8032166 Change-Id: Ib9a6b63c4d540ce377892fb865e53abdd8adec16 Tadashi G. Takaoka2013-01-241-13/+165
* Refactor SubtypeLocale to hold Resources•••Change-Id: Ia667bc2d406d66c87215dd3b9569f36f4642cfe0 Tadashi G. Takaoka2013-01-232-88/+73
* Remove automatic switch back to alphabet feature•••Change-Id: I4600c808f2ec31c18d3698a43afa7f4be9407e3e Tadashi G. Takaoka2013-01-183-88/+31
* Fix international tests•••Tests have been broken again by recent changes to subtype choice within Latin IME. This fixes the problem and all tests pass again. This change also includes a small fix to one test that was checking for something irrelevant. Change-Id: I6a03dea24f99b0d2ad84c4161a8413f3060bb811 Jean Chalard2013-01-102-30/+1
* Fix a race condition with backspaces•••And add a test to make sure it stays not-broken. Bug: 7946604 Change-Id: I996da3d5507d591ec25a13fb57434f39843f1df5 Jean Chalard2013-01-091-0/+21
* Simplify singleton class initialization•••Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1 Tadashi G. Takaoka2013-01-072-6/+2
* Get rid of current subtype and system locale cache from SubtypeSwitcher•••Bug: 7675452 Change-Id: I2121f56964b6d25e8d40f5b8ec67eeae527b2117 Tadashi G. Takaoka2012-12-271-1/+1
* Set additional subtypes before getting current subtype•••Bug: 7594188 Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191 Tadashi G. Takaoka2012-11-282-2/+6
* am 7ba02315: am b172725c: am 7d045829: Request update shift state after shift...•••* commit '7ba02315abf3f6fe2e40fcb248ccf1cab8dee179': Request update shift state after shift-chording input Tadashi G. Takaoka2012-11-271-5/+21
|\
| * Request update shift state after shift-chording input•••Bug: 7529860 Change-Id: Iec82459348722be358ae2ded15deafac21749dcd Tadashi G. Takaoka2012-11-211-5/+21
* | Cancel gesture typing by sliding out from keyboard•••Bug: 7594165 Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec Tadashi G. Takaoka2012-11-221-0/+3
* | am 82cc7349: am b9385ff9: am cdbf6fb5: Merge "Correctly add double quote to t...•••* commit '82cc7349254e1ca3722ead1f108b6c53820432d5': Correctly add double quote to the space strippers Jean Chalard2012-11-201-0/+16
|\|
| * Correctly add double quote to the space strippers•••...without removing space, this time. Also add a test to make sure it is working. Bug: 7531719 Change-Id: I3afcc433c6cdc2774e7deeb6d358356db5035d35 Jean Chalard2012-11-191-0/+16
* | Add Spanish United States keyboard•••The subtype locale name on the spacebar will be suppressed when only one subtype is enabled and - Subtype locale is equal to the system locale. or - Subtype language is equal to the system language but the subtype is implicitly enabled. Thus the "es_ES" system locale chooses "es" subtype keyboard implicitly but the keyboard doesn't have the subtype name on its spacebar. This change also removes Spanish Latin America keyboard. Bug: 7531804 Change-Id: Ib929e8235d643c0ba039eb010e18ab721a734e15 Tadashi G. Takaoka2012-11-191-12/+22
* | Enhance ImfUtils to InputMethodManagerWrapper class•••Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020 Tadashi G. Takaoka2012-11-122-40/+43
* | Move code point constants from Keyboard to Constants class•••Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d Tadashi G. Takaoka2012-10-295-54/+49
* | Fix the build (again)•••Change-Id: Idb7addede891a5c672d7fc09ddfe4d2585f8d647 Jean Chalard2012-10-231-1/+1
* | Replace useless CharSequence to String•••Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991 Tadashi G. Takaoka2012-10-221-1/+1
* | Stop using private APIs in tests.•••Not sure it's much better, but at least this is public. Bug: 6202480 Change-Id: If6cda78fbd32cfb068e0b2fcb637914939b044b3 Jean Chalard2012-10-101-1/+1
* | Fix failing tests.•••Most of the failures can be ascribed to the tests not passing the correct old position of the cursor on a second call to onUpdateSelection() to LatinIME. Bug: 7276565 Bug: 7276805 Bug: 7276195 Change-Id: I3f1b52cdcc783ea18838408bed50699b7254eaf4 Jean Chalard2012-10-104-16/+52
* | Make unit tests create temporary files in the cache directory.•••Change-Id: I90791b364b441bc4e8e221d9e668372d15591719 Yuichiro Hanada2012-10-053-32/+44
* | fix writeCharGroup.•••Change-Id: Ib841afaba0a20c3b300eb7d3e9133243f9f3ae58 Yuichiro Hanada2012-10-051-18/+80
* | am d173ed18: am bf6c8bd8: am 3f7fe829: Merge "Always consider a new line the ...•••* commit 'd173ed18e44ea5cdc48d5f620bb91efcd3ed5174': Always consider a new line the start of a sentence Jean Chalard2012-10-041-0/+8
|\|
| * Always consider a new line the start of a sentence•••Bug: 7282523 Change-Id: I10a73e99efdfe6acb9a16819694b98c6714fd451 Jean Chalard2012-10-041-0/+8
* | Add insertWord.•••bug: 6669677 Change-Id: Ide55a4931071de9cd42c1cddae63ddd531d2feba Yuichiro Hanada2012-10-041-0/+335
|/
* Use BinaryDictInputOutput to save UserHistoryDictionary.•••bug: 6669677 Change-Id: I08193c26f76dbd48168f8ac02c1b737525bfc7b2 Yuichiro Hanada2012-09-271-0/+109
* Combine mHasParentAddress with mHasLinkedListNode into mSupportsDynamicUpdate.•••bug: 6669677 Change-Id: I82799af199358420f09ac34fc005091e202c5d3b Yuichiro Hanada2012-09-241-24/+16
* Add deleteWord.•••bug: 6669677 Change-Id: I1a5b90ee05e5cffd74a5c140384a3e37c79e7e70 Yuichiro Hanada2012-09-211-1/+36
* Add getTerminalPosition.•••Change-Id: If04d779db23b1aea2cc12e5e9b8cecfcb35a5737 Yuichiro Hanada2012-09-201-1/+90
* Make BinaryDictIOUtils.•••Change-Id: I45830235ee738233e8eb2bd91d659705b698f58c Yuichiro Hanada2012-09-191-1/+1
* Make writePlacedNode write the linked-list node.•••Change-Id: I60feda815ea08cf73300fccca1ae12b97550f116 Yuichiro Hanada2012-09-181-3/+11
* Take space state into account for caps (A11)•••Bug: 6950087 Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6 Jean Chalard2012-09-181-30/+37
* Take locale into account for caps (A10)•••Bug: 4967874 Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5 Jean Chalard2012-09-141-26/+35