Searched refs:constructLocaleFromString (Results 1 – 6 of 6) sorted by relevance
46 assertEquals(new Locale("en"), SubtypeLocaleUtils.constructLocaleFromString("en")); in testConstructLocaleFromString()47 assertEquals(new Locale("en", "US"), SubtypeLocaleUtils.constructLocaleFromString("en_US")); in testConstructLocaleFromString()49 SubtypeLocaleUtils.constructLocaleFromString("en_US_POSIX")); in testConstructLocaleFromString()54 assertEquals(new Locale("fil"), SubtypeLocaleUtils.constructLocaleFromString("tl")); in testConstructLocaleFromString()56 SubtypeLocaleUtils.constructLocaleFromString("tl_PH")); in testConstructLocaleFromString()58 SubtypeLocaleUtils.constructLocaleFromString("tl_PH_POSIX")); in testConstructLocaleFromString()61 assertEquals(new Locale("a"), SubtypeLocaleUtils.constructLocaleFromString("a")); in testConstructLocaleFromString()62 assertEquals(new Locale("a b c"), SubtypeLocaleUtils.constructLocaleFromString("a b c")); in testConstructLocaleFromString()63 assertEquals(new Locale("en-US"), SubtypeLocaleUtils.constructLocaleFromString("en-US")); in testConstructLocaleFromString()
47 public static Locale constructLocaleFromString(String localeStr) { in constructLocaleFromString() method in SubtypeLocaleUtils
231 return SubtypeLocaleUtils.constructLocaleFromString(mSubtypeLocale); in getLocaleObject()
387 mCachedLocaleObj = SubtypeLocaleUtils.constructLocaleFromString(mSubtypeLocale); in getLocaleObject()
488 final Locale subtypeLocale = SubtypeLocaleUtils.constructLocaleFromString( in findAvailSystemSpellCheckerLocked()
20299 HSPLcom/android/internal/inputmethod/SubtypeLocaleUtils;->constructLocaleFromString(Ljava/lang/Stri…