Lines Matching refs:locale
45 public void onLocaleSelected(Locale locale);
54 Locale locale;
56 public LocaleInfo(String label, Locale locale) {
58 this.locale = locale;
66 return locale;
85 return constructAdapter(context, R.layout.locale_picker_item, R.id.locale);
117 if (preprocess[finalSize-1].locale.getLanguage().equals(
122 getDisplayName(preprocess[finalSize-1].locale,
126 getDisplayName(preprocess[finalSize-1].locale,
199 * Each listener needs to call {@link #updateLocale(Locale)} to actually change the locale.
207 final Locale locale = ((LocaleInfo)getListAdapter().getItem(position)).locale;
208 mListener.onLocaleSelected(locale);
213 * Requests the system to update the system locale. Note that the system looks halted
216 public static void updateLocale(Locale locale) {
221 config.locale = locale;