Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/inputmethod/
DSubtypeLocaleUtils.java52 String[] localeParams = localeStr.split("_", 3); in constructLocaleFromString() local
53 if (localeParams.length >= 1 && "tl".equals(localeParams[0])) { in constructLocaleFromString()
59 localeParams[0] = "fil"; in constructLocaleFromString()
63 if (localeParams.length == 1) { in constructLocaleFromString()
64 return new Locale(localeParams[0]); in constructLocaleFromString()
65 } else if (localeParams.length == 2) { in constructLocaleFromString()
66 return new Locale(localeParams[0], localeParams[1]); in constructLocaleFromString()
67 } else if (localeParams.length == 3) { in constructLocaleFromString()
68 return new Locale(localeParams[0], localeParams[1], localeParams[2]); in constructLocaleFromString()