Lines Matching defs:locale
48 public void onLocaleSelected(Locale locale);
57 Locale locale;
59 public LocaleInfo(String label, Locale locale) {
61 this.locale = locale;
69 return locale;
88 return constructAdapter(context, R.layout.locale_picker_item, R.id.locale);
120 if (preprocess[finalSize-1].locale.getLanguage().equals(
125 getDisplayName(preprocess[finalSize-1].locale,
129 getDisplayName(preprocess[finalSize-1].locale,
224 * Each listener needs to call {@link #updateLocale(Locale)} to actually change the locale.
232 final Locale locale = ((LocaleInfo)getListAdapter().getItem(position)).locale;
233 mListener.onLocaleSelected(locale);
238 * Requests the system to update the system locale. Note that the system looks halted
241 public static void updateLocale(Locale locale) {
248 config.setLocale(locale);