aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-1/+1
* Add a utility method to SuggestionSpanUtils•••This is a ground work for subsequent CLs. BUG: 16995261 Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904 Yohei Yukawa2014-10-061-0/+28
* Add unittest for SuggestionSpanUtils•••This adds unittest for SuggestionSpanUtils for subsequent CLs. No behavior change is intended in this CL. BUG: 16995261 Change-Id: I90d1591cab893a1421ca633963b7c8f00a5fe4b4 Yohei Yukawa2014-10-061-1/+6
* 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-1/+1
* Clean up compatible utility classes•••Change-Id: I95a682052037d292801477db0f05e04926b61412 Tadashi G. Takaoka2014-08-041-2/+2
* Rename LatinImeLogger to DebugFlags•••Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f Tadashi G. Takaoka2014-07-161-2/+2
* Use whether it's exact match to detect distracters.•••Bug: 13142176 Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf Keisuke Kuroyanagi2014-05-261-1/+1
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-2/+1
* Add PunctuationSuggestions class•••This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f Tadashi G. Takaoka2014-02-141-2/+1
* [IL57] Don't require a main dict suggestion.•••This is bad for recorrection (it will ignore recorrection suggestions). But if you think about it well, if you didn't have a main dict, then you probably will compute the same stuff anyway. It's not useful to make this check at all. Bug: 12297051 Change-Id: I6d6cf4d9353b7c668c5413c67701563b243e585c Jean Chalard2014-01-161-12/+0
* [IL16] Improve getTextWithSuggestionSpan•••Dynamically test for the presence of main dict suggestions. This is much more potent and more accurate than the vaguely defined boolean. Also, resolve a TODO and avoid creating an object uselessly. Not directly related, but helpful with: Bug: 8636060 Change-Id: Ib1745f77ee6d9ec7cd8bbfa5a548652ec84ec902 Jean Chalard2013-12-201-6/+20
* Fix some warnings•••Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd Jean Chalard2013-07-311-3/+1
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-1/+1
* Small code cleanups•••Multi-project commit with I249d5fbe Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5 Ken Wakasa2013-01-071-9/+11
* Clean up SuggestionSpanUtils for API level 14+•••Change-Id: Iadc235524341b48e7618e9ce05907c786409e004 Ken Wakasa2012-12-171-62/+17
* Replace useless CharSequence to String•••Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991 Tadashi G. Takaoka2012-10-221-12/+7
* Add SuggestedWords.isEmpty() method•••Change-Id: I0fcb104a6a81aee4b99f5ee848eba7495630dc7d Tadashi G. Takaoka2012-10-031-2/+2
* Make utility classes final•••Change-Id: Ic4f69b4c8da33c9fca50d6829724179310c2f875 Tadashi G. Takaoka2012-08-291-1/+1
* Add CollectionUtils class to create generic collection easily•••Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89 Tadashi G. Takaoka2012-08-221-5/+6
* Cleanup unused import and dead code•••Change-Id: Ife877620561d29a8f25602916420741186104617 Tadashi G. Takaoka2012-08-061-3/+0
* Do not set "SuggestionSpan"s for suggestions from the next word predicition•••Bug: 6294817 Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415 satok2012-05-151-0/+1
* Do not pass misspelled flags to TextView•••Bug: 6310268 Original CL: I2f7a54ae0d63235a0b94e039109ab8 Change-Id: I28f64a4d0bb262db819f5f8c0ffc58a259c8e62d satok2012-04-171-6/+1
* Add isDictionaryAvailable to SubtypeSwitcher•••Change-Id: I534878d330b57bbfaa8b7711082456969771f4dc satok2012-04-121-2/+3
* Don't draw red underline for manually picked words that came from bigram pred...•••Change-Id: I544680c8b4b1baff71bd08168630a34e803c40b9 Ken Wakasa2012-04-051-0/+2
* Add private constructor to utility classes•••Bug: 6129704 Change-Id: I52925ae7bd80683f63efc48649448865a5654f41 Tadashi G. Takaoka2012-04-031-0/+4
* Fix some obvious compiler warnings•••Change-Id: I10a634f7492b45d5a72345f14d36cf341946387d Tadashi G. Takaoka2012-03-291-1/+1
* Put a misspelled flag if the word is not valid by the same logic of Android s...•••Bug: 6222722 Currently, the flags of the suggestion span from the Latin IME is different from the flags from Android spell checker. Change-Id: I2f7a54ae0d63235a0b94e039109ab8b2f1311055 satok2012-03-271-7/+25
* Use the unique flag in SuggestionsView•••Also, the first word in a sugestions list can never be obsolete. Change-Id: Ib21439aac8db4e6ce5b15b7a2aabe4222bc354db Jean Chalard2012-03-151-1/+0
* Refactor reflection member•••Change-Id: I112dbf851e10dae9e4291cf440f01b28d51180f4 satok2011-12-061-7/+7
* Fix a field value for the suggestion max size•••Bug: 5574747 This bug was introduced by I5e40edf6f790c078c4a05d Change-Id: I5b0f51e1f5e8a12d786657167082bc604089505e satok2011-12-051-3/+3
* Use reflection to get field values of SuggestionSpan•••Bug: 5440299 Change-Id: I5e40edf6f790c078c4a05d0d347a89d63f7c042a satok2011-10-281-7/+23
* Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span•••Bug: 5460262 Change-Id: Ibeb875bb885fb663ed23f0299d671e995a66b642 satok2011-10-151-1/+2
* Put SuggestionSpan as the indicater of the auto-correction•••Bug: 5245468 Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185 satok2011-10-101-0/+23
* Do not put the suggestion span for obsolete suggestions.•••Bug: 5219037 Change-Id: I0300fbc7e1cc97f0f8ba4d21e0e699d9fe66ed76 satok2011-08-261-1/+2
* Refactor of SuggestionSpanUtils•••Change-Id: Id266062831e8c28a346e129168b883ee3d5622bf satok2011-06-171-10/+11
* Remove the original text from SuggestionSpan•••Change-Id: If70d32cad980b46ba77f399606d7ab3957c5d096 satok2011-06-151-8/+16
* Add SuggestionSpan suggestion picked notification receiver•••Bug: 4443922 Change-Id: I8a9dc5077ae06c6d0c39fd7fdd823fc4f4d05f45 satok2011-05-261-11/+20
* Disable the legacy recorrection functionalities if the suggestion span is sup...•••Bug: 4346045 Change-Id: Ib4594a9073b961038564bbcd601f9c290d153d5d satok2011-05-251-0/+5
* Put SuggestionSpan at commitText•••Bug: 4346045 Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4 satok2011-05-251-0/+64