Lines Matching refs:locale
607 setCurrentLocale(newConfig.locale);
611 * Sets the current locale.
613 * @param locale The current locale.
616 protected void setCurrentLocale(Locale locale) {
617 super.setCurrentLocale(locale);
619 mTempDate = getCalendarForLocale(mTempDate, locale);
620 mFirstDayOfMonth = getCalendarForLocale(mFirstDayOfMonth, locale);
621 mMinDate = getCalendarForLocale(mMinDate, locale);
622 mMaxDate = getCalendarForLocale(mMaxDate, locale);
644 * Gets a calendar for locale bootstrapped with the value of a given calendar.
647 * @param locale The locale.
649 private static Calendar getCalendarForLocale(Calendar oldCalendar, Locale locale) {
651 return Calendar.getInstance(locale);
654 Calendar newCalendar = Calendar.getInstance(locale);