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/
DInputMethodUtils.java352 String[] localeParams = localeStr.split("_", 3); in constructLocaleFromString() local
353 if (localeParams.length >= 1 && "tl".equals(localeParams[0])) { in constructLocaleFromString()
359 localeParams[0] = "fil"; in constructLocaleFromString()
363 if (localeParams.length == 1) { in constructLocaleFromString()
364 return new Locale(localeParams[0]); in constructLocaleFromString()
365 } else if (localeParams.length == 2) { in constructLocaleFromString()
366 return new Locale(localeParams[0], localeParams[1]); in constructLocaleFromString()
367 } else if (localeParams.length == 3) { in constructLocaleFromString()
368 return new Locale(localeParams[0], localeParams[1], localeParams[2]); in constructLocaleFromString()