| Commit message (Expand) | Author | Age | Files | Lines |
* | 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 Sharkey | 2020-07-31 | 1 | -1/+1 |
* | Migrate packages/inputmethods/LatinIME to androidx.test•••See go/jetpack-test-android-migration
Test: make checkbuild
Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
|  Brett Chabot | 2018-12-13 | 3 | -15/+15 |
* | 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 Yukawa | 2018-07-05 | 3 | -9/+46 |
* | 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 Yukaw | 2015-04-20 | 1 | -5/+39 |
* | Add prev words context to the SuggestedWordInfo.•••Bug: 19712589
Bug: 19715579
Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156
|  Mohammadinamul Sheik | 2015-03-19 | 1 | -1/+2 |
* | Fix master build.•••For some reason, we can't import android.os package in our Constants.
Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8
|  Dan Zivkovic | 2015-02-11 | 1 | -3/+2 |
* | Remove shortcut support from LatinIME.•••Note this change does not affect the native decoder interface.
Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
|  Dan Zivkovic | 2015-02-11 | 1 | -2/+3 |
* | Remove the other deprecated constructor to SuggestedWords•••Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4
|  Jean Chalard | 2014-11-17 | 1 | -10/+14 |
* | 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. Takaoka | 2014-10-21 | 1 | -34/+33 |
* | Add a utility method to SuggestionSpanUtils•••This is a ground work for subsequent CLs.
BUG: 16995261
Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904
|  Yohei Yukawa | 2014-10-06 | 1 | -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 Yukawa | 2014-10-06 | 1 | -0/+181 |
* | Simplify the wrapper for TextInfo#getCharSequence•••This CL simplifies the wrapper method for
TextInfo#getCharSequence() because in the almost all cases we want
to use the result of TextInfo#getText() as the default value.
BUG: 16029304
Change-Id: I62f987aed8ca42b093255e6c0703d6120fa01299
|  Yohei Yukawa | 2014-07-09 | 1 | -1/+1 |
* | Fix test failur on pre-L devices•••This is a follow up CL for Iafbf2877db393dbd040295c21d.
BUG: 16029304
Change-Id: I0bfdcf901adb3178e6b9201d598ce9f588dcd253
|  Yohei Yukawa | 2014-07-09 | 1 | -1/+2 |
* | Add a compatibility utility class for TextInfo•••This is a groundwork for enabling LocaleSpan support in spell
checker service. TextInfo#getCharSequence is supposed to be
available in API Level 21 and later. We need some abstraction
layer as usual.
BUG: 16029304
Change-Id: Iafbf2877db393dbd040295c21d429334e3a13a5f
|  Yohei Yukawa | 2014-07-08 | 1 | -0/+85 |
* | Ensure each character is coverted by at most one LocaleSpan•••This is a groundwork to attach LocaleSpan for committed text
in LatinIME.
This CL adds a utility method to ensure that a given range
of the text is coverted by at most one LocaleSpan. Of course
it could be possible to allow a substring to be coverted by
multiple LocaleSpans at the same time, but ensuring uniqueness
for LocaleSpan is supposed to be a good starting point.
BUG: 16029304
Change-Id: Ic33a7178d0df1f05d3626aeb5773ec902254703f
|  Yohei Yukawa | 2014-07-07 | 1 | -0/+174 |
* | Add compatibility utility class for LocaleSpan•••This is a groundwork for enabling LocaleSpan support.
LocaleSpan is available in API Level 17 and later. We need some
abstraction layer as usual.
BUG: 16029304
Change-Id: Iead1afdc540216edb1b17f91a40d9edb2e790168
|  Yohei Yukawa | 2014-07-04 | 1 | -0/+38 |
* | Fix the build. Corresponding to I0f1a0dee•••Change-Id: Ibe31549a200f4c307fa4c1d4ef9ddac0a5952218
|  Ken Wakasa | 2012-03-30 | 1 | -103/+0 |
* | Add ArraysCompatUtils.binarySearch•••Until API version 9, java.util.Arrays.binarySearch(int[], int, int,
int) doesn't exist.
Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee
|  Tadashi G. Takaoka | 2011-06-21 | 1 | -0/+103 |