| Commit message (Expand) | Author | Age | Files | Lines |
* | 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 |