aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/LocaleSpanCompatUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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 Yukawa2014-07-071-5/+170
* 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 Yukawa2014-07-041-0/+59