Searched defs:locale (Results 1 - 3 of 3) sorted by relevance

/development/apps/CustomLocale/src/com/android/customlocale2/
H A DChangeLocale.java29 * Helper class to change the system locale.
37 * Sets the system locale to the new one specified.
39 * @param locale A locale name in the form "ab_AB". Must not be null or empty.
40 * @return True if the locale was succesfully changed.
42 public static boolean changeSystemLocale(String locale) { argument
44 Log.d(TAG, "Change locale to: " + locale);
53 String[] langCountry = locale.split("_");
57 loc = new Locale(locale);
[all...]
H A DCustomLocaleActivity.java50 * locales. The user can select a locale and apply it or it can create or remove
51 * a custom locale.
65 /** Menu item id for applying a locale */
67 /** Menu item id for removing a custom locale */
72 /** Textview used to display current locale */
134 String locale = data.getExtras().getString(NewLocaleDialog.INTENT_EXTRA_LOCALE);
135 if (locale != null && locale.length() > 0) {
136 // Get current custom locale list
141 customLocales = locale;
253 changeSystemLocale(String locale) argument
283 checkLocaleInList(String locale) argument
424 LocaleInfo(String locale, String displayName, boolean isCustom) argument
430 LocaleInfo(String locale, String displayName) argument
[all...]
/development/tools/recovery_l10n/src/com/android/recovery_l10n/
H A DMain.java49 * height, and locale using pixel values.
106 private void switchTo(Locale locale) { argument
111 config.locale = locale;
155 Log.i(TAG, "locale = " + ln);

Completed in 486 milliseconds