Home
last modified time | relevance | path

Searched refs:localeSpan (Results 1 – 1 of 1) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DLocaleSpanCompatUtils.java64 public static Locale getLocaleFromLocaleSpan(final Object localeSpan) { in getLocaleFromLocaleSpan() argument
65 return (Locale) CompatUtils.invoke(localeSpan, null, LOCALE_SPAN_GET_LOCALE); in getLocaleFromLocaleSpan()
143 Object localeSpan = null; in updateLocaleSpan() local
146 localeSpan = newLocaleSpan(locale); in updateLocaleSpan()
149 localeSpan = existingLocaleSpansToBeMerged.get(0); in updateLocaleSpan()
150 originalLocaleSpanFlag = spannable.getSpanFlags(localeSpan); in updateLocaleSpan()
158 spannable.setSpan(localeSpan, newStart, newEnd, localeSpanFlag); in updateLocaleSpan()
161 private static void removeLocaleSpanFromRange(final Object localeSpan, in removeLocaleSpanFromRange() argument
166 final int spanStart = spannable.getSpanStart(localeSpan); in removeLocaleSpanFromRange()
167 final int spanEnd = spannable.getSpanEnd(localeSpan); in removeLocaleSpanFromRange()
[all …]