aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/SuggestedWordsTests.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add prev words context to the SuggestedWordInfo.•••Bug: 19712589 Bug: 19715579 Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156 Mohammadinamul Sheik2015-03-191-2/+2
* Don't assume that correctable words are invalid•••Currently, the Delight3DictionaryFacilitator sets a boolean flag when the top suggestion score exceeds the auto-correction threshold. This flag is used to trigger auto-correction of the typed word. Also, the existing logic assumes that if allowsToBeAutoCorrected then the word is invalid, which is no longer true after we stopped using whitelists. Bug 19518376. Change-Id: Ifa7f6a09c07d25ac68c6cf3aec91f358bd88689f Dan Zivkovic2015-02-251-0/+32
* Make the typed word a SuggestedWordInfo•••That allows to carry the language information in an accurate manner. Bug: 18063142 Change-Id: I0bca8981372ae10648274095b18b26a3686b762b Jean Chalard2014-11-201-2/+3
* Remove the other deprecated constructor to SuggestedWords•••Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4 Jean Chalard2014-11-171-3/+9
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-211-1/+1
* Always show the typed word in recorrections.•••Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179 Jean Chalard2014-10-091-37/+8
* Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords...•••Bug: 17560717 Change-Id: I7032bf0ab46f9cf5e3b3312a14e689b5496764c1 Adrian Velicu2014-09-221-2/+2
* Fix an IOOB exception•••Bug: 17316001 Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b Jean Chalard2014-08-291-0/+10
* Fix a bug where the top prediction would disappear.•••This is because prediction can't be easily distinguished in style. This fixes the bug by simulating the right members, but some refactoring should be done to remove useless booleans. Bug: 17271923 Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb Jean Chalard2014-08-261-9/+10
* Indroduce SuggestedWords#getTypedWordInfoOrNull•••This is a groundwork for subsequent CLs whith need to do certain things for and only for the typed word. Change-Id: I374b79cbc79470f57f523c996010301ea5701a61 Yohei Yukawa2014-08-241-21/+67
* Add the input style to SuggestedWords.•••Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff Jean Chalard2014-08-141-2/+4
* Stop directly checking SuggestedWordInfo.mKind•••Bug: 15298959 Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f Keisuke Kuroyanagi2014-05-281-4/+4
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-4/+2
* Add PunctuationSuggestions class•••This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f Tadashi G. Takaoka2014-02-141-1/+0
* Conditionally store the raw suggestions.•••Bug: 12913520 Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19 Jean Chalard2014-02-061-1/+1
* Fix a bug where autocaps would jam auto-commit•••Bug: 11311002 Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259 Jean Chalard2013-10-221-2/+8
* Improve trailing quotes processing•••Bug: 10445496 Change-Id: Ib7bd05aea59ae6c9b8ce31299ef2235521b0e350 Jean Chalard2013-09-171-0/+33
* [AC4] Add native methods necessary for auto-commit•••Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d Jean Chalard2013-09-131-2/+4
* [AC2] Reference a dict rather than a string in suggestion infos•••Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e Jean Chalard2013-08-201-2/+3
* [AC1] Add a memory of where to cut the first word.•••Bug: 9059617 Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631 Jean Chalard2013-08-201-2/+4
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-0/+2
* If there are no suggestion span, recompute suggestions.•••Bug: 8084810 Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335 Jean Chalard2013-04-151-0/+60