aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/compat/SuggestionSpanUtilsTest.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update language to comply with Android's inclusive language guidance•••See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Change-Id: I171bc299e660f96f20041a67a3052bd8a2ed781c Jeff Sharkey2020-07-311-1/+1
* Migrate packages/inputmethods/LatinIME to androidx.test•••See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932 Brett Chabot2018-12-131-6/+7
* Migrate to Android Testing Support Lib (part 2/N)•••This CL converts tests under com.android.inputmethod.compat to Android Testing Support Library. Bug: 110805255 Test: verified as follows. No new test failures. tapas adb LatinIME LatinIMETests arm64 userdebug && \ DISABLE_PROGUARD=true make -j LatinIME && \ adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \ atest LatinIMETests:com.android.inputmethod.compat Change-Id: I6766447ca27f5cccdb1e9f7e751235daa04cc252 Yohei Yukawa2018-07-051-3/+20
* Always specify non-null Locale object to SuggestionSpan•••Confusingly, specifying a null Locale object to the constructor of SuggestionSpan does not necessarily mean that SuggestionSpan#getLocale() returns null. The constructor in question also receives Context object, and Context's locale can be used as a fallback locale to initialize locale of SuggestionSpan. With this CL, LatinIME always specify non-null Locale object when instantiating SuggestionSpan object. It basically corresponds to the active main dictionary, but can be Locale#ROOT when one locale is not determined for some reasons. BUG: 20435013 Change-Id: I2c152466410327300e7dba4d7ed9a22f57c17c4f Yohei Yukaw2015-04-201-5/+39
* Add prev words context to the SuggestedWordInfo.•••Bug: 19712589 Bug: 19715579 Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156 Mohammadinamul Sheik2015-03-191-1/+2
* Remove the other deprecated constructor to SuggestedWords•••Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4 Jean Chalard2014-11-171-10/+14
* Add a utility method to SuggestionSpanUtils•••This is a ground work for subsequent CLs. BUG: 16995261 Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904 Yohei Yukawa2014-10-061-0/+26
* 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-0/+181