Searched refs:LocaleSpanCompatUtils (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
D | LocaleSpanCompatUtilsTests.java | 36 assertTrue(LocaleSpanCompatUtils.isLocaleSpanAvailable()); in testInstantiatable() 37 final Object japaneseLocaleSpan = LocaleSpanCompatUtils.newLocaleSpan(Locale.JAPANESE); in testInstantiatable() 40 LocaleSpanCompatUtils.getLocaleFromLocaleSpan(japaneseLocaleSpan)); in testInstantiatable() 47 assertEquals(expectedLocale, LocaleSpanCompatUtils.getLocaleFromLocaleSpan(span)); in assertLocaleSpan() 65 if (!LocaleSpanCompatUtils.isLocaleSpanAvailable()) { in testUpdateLocaleSpan() 72 LocaleSpanCompatUtils.updateLocaleSpan(text, 1, 5, Locale.JAPANESE); in testUpdateLocaleSpan() 82 LocaleSpanCompatUtils.updateLocaleSpan(text, 1, 5, Locale.JAPANESE); in testUpdateLocaleSpan() 91 text.setSpan(LocaleSpanCompatUtils.newLocaleSpan(Locale.JAPANESE), 1, 3, in testUpdateLocaleSpan() 93 LocaleSpanCompatUtils.updateLocaleSpan(text, 3, 5, Locale.JAPANESE); in testUpdateLocaleSpan() 101 text.setSpan(LocaleSpanCompatUtils.newLocaleSpan(Locale.JAPANESE), 1, 4, in testUpdateLocaleSpan() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | LocaleSpanCompatUtils.java | 32 public final class LocaleSpanCompatUtils { class 33 private static final String TAG = LocaleSpanCompatUtils.class.getSimpleName();
|