Home | History | Annotate | Download | only in app

Lines Matching defs:locale

37 import java.util.Locale;
41 * A two-step locale picker. It shows a language, then a country.
45 * default locale.</p>
62 * Other classes can register to be notified when a locale was selected.
68 * The classes that want to retrieve the locale picked should implement this method.
69 * @param locale the locale picked.
71 void onLocaleSelected(LocaleStore.LocaleInfo locale);
91 * Sets the listener and initializes the locale list.
96 * but no parent locale was provided.</p>
100 * In this case we don't even show the list, we call the listener with that locale,
153 final Locale sortingLocale = countryMode ? mParentLocale.getLocale() : Locale.getDefault();
207 final LocaleStore.LocaleInfo locale =
210 if (locale.getParent() != null) {
212 mListener.onLocaleSelected(locale);
217 getContext(), mListener, locale, mTranslatedOnly /* translate only */);