Home
last modified time | relevance | path

Searched refs:mMaxDate (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/widget/
DDatePickerCalendarDelegate.java87 private final Calendar mMaxDate; field in DatePickerCalendarDelegate
99 mMaxDate = Calendar.getInstance(locale); in DatePickerCalendarDelegate()
102 mMaxDate.set(DEFAULT_END_YEAR, Calendar.DECEMBER, 31); in DatePickerCalendarDelegate()
163 mDayPickerView.setMaxDate(mMaxDate.getTimeInMillis()); in DatePickerCalendarDelegate()
169 mYearPickerView.setRange(mMinDate, mMaxDate); in DatePickerCalendarDelegate()
438 mYearPickerView.setRange(mMinDate, mMaxDate); in setMinDate()
449 if (mTempDate.get(Calendar.YEAR) == mMaxDate.get(Calendar.YEAR) in setMaxDate()
450 && mTempDate.get(Calendar.DAY_OF_YEAR) == mMaxDate.get(Calendar.DAY_OF_YEAR)) { in setMaxDate()
458 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
460 mYearPickerView.setRange(mMinDate, mMaxDate); in setMaxDate()
[all …]
DDayPickerPagerAdapter.java43 private final Calendar mMaxDate = Calendar.getInstance(); field in DayPickerPagerAdapter
80 mMaxDate.setTimeInMillis(max.getTimeInMillis()); in setRange()
82 final int diffYear = mMaxDate.get(Calendar.YEAR) - mMinDate.get(Calendar.YEAR); in setRange()
83 final int diffMonth = mMaxDate.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in setRange()
267 if (mMaxDate.get(Calendar.MONTH) == month && mMaxDate.get(Calendar.YEAR) == year) { in instantiateItem()
268 enabledDayRangeEnd = mMaxDate.get(Calendar.DAY_OF_MONTH); in instantiateItem()
DDatePickerSpinnerDelegate.java86 private Calendar mMaxDate; field in DatePickerSpinnerDelegate
311 if (mTempDate.get(Calendar.YEAR) == mMaxDate.get(Calendar.YEAR) in setMaxDate()
312 && mTempDate.get(Calendar.DAY_OF_YEAR) == mMaxDate.get(Calendar.DAY_OF_YEAR)) { in setMaxDate()
316 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
318 if (mCurrentDate.after(mMaxDate)) { in setMaxDate()
319 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setMaxDate()
409 mMaxDate = getCalendarForLocale(mMaxDate, locale); in setCurrentLocale()
510 } else if (mCurrentDate.after(mMaxDate)) { in setDate()
511 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setDate()
526 } else if (mCurrentDate.equals(mMaxDate)) { in updateSpinners()
[all …]
DCalendarViewLegacyDelegate.java254 private Calendar mMaxDate; field in CalendarViewLegacyDelegate
271 if (!CalendarView.parseDate(maxDate, mMaxDate)) { in CalendarViewLegacyDelegate()
272 CalendarView.parseDate(DEFAULT_MAX_DATE, mMaxDate); in CalendarViewLegacyDelegate()
274 if (mMaxDate.before(mMinDate)) { in CalendarViewLegacyDelegate()
329 } else if (mMaxDate.before(mTempDate)) { in CalendarViewLegacyDelegate()
330 goTo(mMaxDate, false, true, true); in CalendarViewLegacyDelegate()
524 if (isSameDate(mTempDate, mMaxDate)) { in setMaxDate()
527 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
531 if (date.after(mMaxDate)) { in setMaxDate()
532 setDate(mMaxDate.getTimeInMillis()); in setMaxDate()
[all …]
DDayPickerView.java45 private final Calendar mMaxDate = Calendar.getInstance(); field in DayPickerView
299 } else if (timeInMillis > mMaxDate.getTimeInMillis()) {
300 timeInMillis = mMaxDate.getTimeInMillis();
350 mMaxDate.setTimeInMillis(timeInMillis);
355 return mMaxDate.getTimeInMillis();
362 mAdapter.setRange(mMinDate, mMaxDate);
386 final int diffMonthMax = getDiffMonths(mMinDate, mMaxDate);
DDatePicker.java706 private final long mMaxDate; field in DatePicker.AbstractDatePickerDelegate.SavedState
726 mMaxDate = maxDate; in SavedState()
741 mMaxDate = in.readLong(); in SavedState()
754 dest.writeLong(mMaxDate); in writeToParcel()
777 return mMaxDate; in getMaxDate()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt81034 Landroid/widget/DatePicker$AbstractDatePickerDelegate$SavedState;->mMaxDate:J