aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/InputLogicTests.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-786/+0
* Update the imports to androidx.test.filters.*•••Bug: 316941721 Test: mmma . Change-Id: I05a7d05dc8d0acb9baecf46357757ad2453f6dbc Fangqiu Su2024-04-181-1/+2
* We ship with English, so we can't unit test French•••Change-Id: I20a470a18ca0cd47fe7588958be904eb23fdf1a2 Dan Zivkovic2015-03-231-51/+6
* Fix InputLogicTests.•••Change-Id: Ie319a6087297251e6b22ffd80014b69c746458e0 Dan Zivkovic2015-03-201-70/+43
* Fix some InputLogicTests.•••Change-Id: I3dd080844ee96dd60ab50ddc74632181dec775a2 Dan Zivkovic2015-03-171-24/+35
* Revert "Next-word suggestion bit in keyboard settings."•••This reverts commit 1ae16dc3db170802d1b38273f477125a2a969d32. Bug 19596067. Change-Id: Ie7286acbb70b215d7bd08e271bcf14526b68576f Dan Zivkovic2015-03-161-4/+19
* Remove autocorrection aggressiveness settings.•••Replace multiple settings with binary switch for autocorrection. Bug: 19589766 Change-Id: Ic8a0362dd36d18930493a55699851161e9cb23e8 Chieu Nguyen2015-03-131-8/+6
* Combine InputLogicTests.•••Change-Id: Ie322e7d7c7098031d112abad6c9991f56ebba0f2 Dan Zivkovic2015-03-041-2/+110
* Next-word suggestion bit in keyboard settings.•••This feature works in supported languages. We don't need a user setting. Bug 19596067. Change-Id: Icdded772745f9816da47f8a5e3b87b733083b121 Dan Zivkovic2015-03-041-19/+4
* Add some gesture-move tests•••Change-Id: I5ec9a9169b0d27da93194e1bd3fa90da8174ee8f Jean Chalard2014-10-281-2/+32
* Merge "Add tests for type through recorrection"Jean Chalard2014-10-241-31/+58
|\
| * Add tests for type through recorrection•••Also introduce some helper methods Change-Id: I0f99733a4b7f0318b2b07217b614c19ea98859fc Jean Chalard2014-10-221-31/+58
* | Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-0/+1
|/
* Add the first gesture unit tests.•••At last I found a simple way to do it ! Bug: 8845843 Change-Id: I4dd3bf987b58e29a44cf0d7389d294657a33abe1 Jean Chalard2014-10-151-13/+34
* Avoid double space when autocorrect is triggered•••Bug: 17596034 Change-Id: Iaa6cc066eefd2436195a91791f2628e9a5f1c449 Adrian Velicu2014-09-301-1/+22
* Make "Show correction suggestions" as a binary option•••Formerly "Show correction suggestions" had three options, "always show", "show in portrait mode", and "always hide". The reason behind "show in portrait mode" was that there may not be enough screen estate in landscape mode to show suggestions. Because recent phone devices have relatively large screen, we decide to remove "show in portrait mode" option. Bug: 15780939 Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83 Tadashi G. Takaoka2014-07-271-11/+9
* Fix a unit test•••When switching languages, we need to wait until the dictionary is loaded to compute suggestions. Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f Jean Chalard2014-07-011-4/+8
* Fix tests•••Change-Id: I12ba56d021b50c03dc62e3f3c8db3ecada2f6a4b Jean Chalard2014-06-301-27/+21
* Make Beginning-of-Sentence prediction require two exposures.•••Bug: 15868192 Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba Keisuke Kuroyanagi2014-06-251-4/+10
* Fix: unit tests by clearing personalized dicts•••Bug: 14119293 Change-Id: I61cc05fb09342103f453ba83709c6be68d2f695e Keisuke Kuroyanagi2014-06-251-0/+2
* Fix: too many calls to getSuggestedWordsForTypingInput•••This reverts commit d941ea18 and builds on it to fix the behavior of the broken cases. It also fixes a small, related bug that probably has existed for a very long time: predictions not displayed when cancelling double-space-to-period. Bug: 15148015 Change-Id: I1f9358f8b6f5804f831643611576be347e83999d Jean Chalard2014-05-291-0/+21
* Fix a bug where changing languages kills the composition.•••Bug: 14926896 Change-Id: Id2a06c68a51f833db4d8bbc858a232c2696afb6e Jean Chalard2014-05-141-0/+12
* Introduce clustering punctuation•••Bug: 10081730 Change-Id: If198fa3df68ecb267da0a278da41fd509d6165f1 Jean Chalard2014-05-011-0/+12
* Fix a bug with double-space-to-period•••Bug: 13778001 Change-Id: I3ebd57950cdfacbbcdc64ed214c0590519a0665c Jean Chalard2014-04-031-0/+75
* [CB14.5] Stop copying WordComposers.•••This is an overdue refactoring that I have been wanted to do forever, and that we can at last do now that suggestions come only from instances of BinaryDictionary instances. With this, all unit tests and regression tests are passing again. Bug: 13667648 Bug: 13665487 Bug: 8636060 Change-Id: Ie23a19f9b7e692edf2ee0b107ddaff2d7db564b6 Jean Chalard2014-03-281-0/+39
* [CB14] Implement backspace in the combiner chain•••Bug: 13622107 Bug: 13406701 Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc Jean Chalard2014-03-251-0/+20
* Change default decaying parameters.•••Bug: 13458617 Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a Keisuke Kuroyanagi2014-03-141-1/+1
* Add an auto-correction by user history test.•••Bug: 11122480 Change-Id: I830bb3399f9839a80c6d86fbf582299bce424871 Keisuke Kuroyanagi2014-02-211-0/+32
* Fix build•••This is a forgotten rebase Change-Id: I7c7c381775488ed9239dc284bd9c31247a86a972 Jean Chalard2014-02-181-1/+1
* Merge "Fix a bug where the cache would be out of sync"Jean Chalard2014-02-181-0/+37
|\
| * Fix a bug where the cache would be out of sync•••During recorrection, the cursor position when calling commitText is not necessarily at the end of the composing text. Besides, RichInputConnection assumes the cursor is always after any composing text. This is not correct, but in the practice, it seems all code paths work. We should fix this in the future. Bug: 13060691 Change-Id: I15f71fff62d36e80cf6e4a022c5e78af634b199d Jean Chalard2014-02-181-0/+37
* | Cleanup.•••Less code, less chance of stuff escaping, and a bit of a clarification. Yay. Change-Id: I3193fd8ad7ac28195260cbc231c4e498a63a460c Jean Chalard2014-02-181-3/+3
|/
* Fix a test.•••Bug: 12483313 Change-Id: Ia811d614b9260367871bc5717f587538adf46789 Jean Chalard2014-01-101-1/+1
* Fix a unit test in InputLogicTests.•••Change-Id: I63a20bb2e4b3c39495fade6cae3a14fdd11ca48c Keisuke Kuroyanagi2014-01-091-1/+1
* [IL52] Remove a useless method.•••This old method doesn't even re-read the old suggestions. It used to recompute them without the coordinates. Re-using the recorrection code, which is much more advanced, is the right thing to do here. Also, refining the test. It's no use trying to resume suggestion if we don't have a suggestion strip, since we aren't going to auto-correct anything anyway. Not the motivation for this change, but this also fixes Bug: 11620256 Change-Id: Id49efa32e293c49837c61fdc752c86bbac1d2c88 Jean Chalard2013-12-271-2/+4
* Fix a bug where predictions would not pop upon manual pick•••Bug: 12295276 Change-Id: Id359c92acde44758b12929e7bac719d5c9c7577b Jean Chalard2013-12-261-0/+35
* Fix unit test for If8c94ef91ed58bb5028f51be7c8d9beb677436a4•••Change-Id: I056013de3a5e09feed429dfd8097d3d85331a0ab Ken Wakasa2013-10-111-1/+1
* Accept double-space-period after emoji.•••This also includes a fix that allows this code to read surrogate pairs in this processing. Bug: 11070482 Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019 Jean Chalard2013-10-041-4/+11
* Improve trailing quotes processing•••Bug: 10445496 Change-Id: Ib7bd05aea59ae6c9b8ce31299ef2235521b0e350 Jean Chalard2013-09-171-0/+7
* Add tests for start composing•••Bug: 10403176 Change-Id: I510bf1dccf6795426e6fb1b36181b18039a0f435 Jean Chalard2013-08-211-0/+28
* Support languages that don't use spaces.•••Thai is an example. Bug: 10138062 Change-Id: Ib9a8264c77ed42b4256432d7c8a60d08575dcdc7 Jean Chalard2013-08-161-0/+15
* Adjust a test for a spec change.•••Bug: 8911898 Change-Id: Iede69ec2d9870df0add5ab818613fbb8e1f943c2 Jean Chalard2013-08-081-1/+1
* Fix Google spell checker tests•••Bug: 8613307 Change-Id: Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1 Satoshi Kataoka2013-05-011-26/+26
* Separate caps mode related utils to CapsModeUtils•••Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf Tadashi G. Takaoka2013-02-121-8/+8
* Add unit tests tags•••Bug: 8131968 Change-Id: Ibca5a0d63a492134b8af401a62ca3a5748e003cf Tadashi G. Takaoka2013-02-041-0/+3
* 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
* Move code point constants from Keyboard to Constants class•••Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d Tadashi G. Takaoka2012-10-291-14/+12
* 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-101-6/+12
* Don't forward phantom space state on stripper input•••Bug: 6890540 Change-Id: I923b24e3bc17e7b923be4940ad739b58dca24a1f Jean Chalard2012-07-311-0/+13
* Cleanup (A57)•••We stopped cancelling manual picks a few weeks ago. This code is dead. Change-Id: I4032fcc3c95e9379f1839fe860a1b8a9bd7d0bc7 Jean Chalard2012-07-061-0/+20