/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | LocaleUtils.java | 53 public static Locale constructLocaleFromString(final String localeStr) { in constructLocaleFromString() argument 54 if (localeStr == null) { in constructLocaleFromString() 58 if (sLocaleCache.containsKey(localeStr)) { in constructLocaleFromString() 59 return sLocaleCache.get(localeStr); in constructLocaleFromString() 63 final String[] localeElements = localeStr.split("_", ELEMENT_LIMIT); in constructLocaleFromString() 69 throw new RuntimeException("Unknown locale format: " + localeStr); in constructLocaleFromString() 80 throw new RuntimeException("Unknown locale format: " + localeStr); in constructLocaleFromString() 88 throw new RuntimeException("Unknown locale format: " + localeStr); in constructLocaleFromString() 92 sLocaleCache.put(localeStr, locale); in constructLocaleFromString()
|
D | JarUtils.java | 101 final String localeStr = parentName.substring(localePos + 1); 102 final int regionPos = localeStr.indexOf("-r"); 104 return LocaleUtils.constructLocaleFromString(localeStr); 106 return LocaleUtils.constructLocaleFromString(localeStr.replace("-r", "_"));
|
D | MoreKeysResources.java | 190 final String localeStr = LocaleUtils.getLocaleCode(locale); in dumpLocalesMap() local 192 ? String.format("\"%s\"", localeStr) in dumpLocalesMap() 193 : String.format("\"%s\"%s", localeStr, " ".substring(localeStr.length())); in dumpLocalesMap()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionarySettingsUtils.java | 31 public static String getLocaleDisplayName(Context context, String localeStr) { in getLocaleDisplayName() argument 32 if (TextUtils.isEmpty(localeStr)) { in getLocaleDisplayName() 37 final Locale locale = Utils.createLocaleFromString(localeStr); in getLocaleDisplayName()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/ |
D | UserDictionarySettingsUtils.java | 31 public static String getLocaleDisplayName(Context context, String localeStr) { in getLocaleDisplayName() argument 32 if (TextUtils.isEmpty(localeStr)) { in getLocaleDisplayName() 37 final Locale locale = Utils.createLocaleFromString(localeStr); in getLocaleDisplayName()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionarySettingsUtils.java | 32 public static String getLocaleDisplayName(Context context, String localeStr) { in getLocaleDisplayName() argument 33 if (TextUtils.isEmpty(localeStr)) { in getLocaleDisplayName() 38 final Locale locale = LocaleUtils.constructLocaleFromString(localeStr); in getLocaleDisplayName()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 290 final String localeStr = Locale.getDefault().toString(); in setIndexed() local 296 .putBoolean(localeStr, true) in setIndexed() 311 final String localeStr = Locale.getDefault().toString(); in isFullIndex() local 319 && prefs.getBoolean(localeStr, false) in isFullIndex()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
D | dic_traverse_session.h | 41 static AK_FORCE_INLINE void *getSessionInstance(JNIEnv *env, jstring localeStr, in getSessionInstance() argument 45 return new DicTraverseSession(env, localeStr, in getSessionInstance() 53 AK_FORCE_INLINE DicTraverseSession(JNIEnv *env, jstring localeStr, bool usesLargeCache) in DicTraverseSession() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserBinaryDictionary.java | 63 final String localeStr = locale.toString(); in UserBinaryDictionary() local 64 if (SubtypeLocaleUtils.NO_LANGUAGE.equals(localeStr)) { in UserBinaryDictionary() 68 mLocaleString = localeStr; in UserBinaryDictionary()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerSession.java | 165 final String localeStr = getLocale(); in splitAndSuggest() local 166 if (!TextUtils.isEmpty(localeStr)) { in splitAndSuggest() 168 new Locale(localeStr)); in splitAndSuggest()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 248 public static Locale createLocaleFromString(String localeStr) { in createLocaleFromString() argument 255 if (null == localeStr) in createLocaleFromString() 257 String[] brokenDownLocale = localeStr.split("_", 3); in createLocaleFromString()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | Utils.java | 253 public static Locale createLocaleFromString(String localeStr) { in createLocaleFromString() argument 260 if (null == localeStr) in createLocaleFromString() 262 String[] brokenDownLocale = localeStr.split("_", 3); in createLocaleFromString()
|