Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DDayPickerPagerAdapter.java42 private final Calendar mMinDate = Calendar.getInstance(); field in DayPickerPagerAdapter
79 mMinDate.setTimeInMillis(min.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()
205 return (position + mMinDate.get(Calendar.MONTH)) % MONTHS_IN_YEAR; in getMonthForPosition()
209 final int yearOffset = (position + mMinDate.get(Calendar.MONTH)) / MONTHS_IN_YEAR; in getYearForPosition()
210 return yearOffset + mMinDate.get(Calendar.YEAR); in getYearForPosition()
218 final int yearOffset = day.get(Calendar.YEAR) - mMinDate.get(Calendar.YEAR); in getPositionForDay()
219 final int monthOffset = day.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in getPositionForDay()
260 if (mMinDate.get(Calendar.MONTH) == month && mMinDate.get(Calendar.YEAR) == year) { in instantiateItem()
[all …]
DCalendarViewLegacyDelegate.java249 private Calendar mMinDate; field in CalendarViewLegacyDelegate
267 if (!CalendarView.parseDate(minDate, mMinDate)) { in CalendarViewLegacyDelegate()
268 CalendarView.parseDate(DEFAULT_MIN_DATE, mMinDate); in CalendarViewLegacyDelegate()
274 if (mMaxDate.before(mMinDate)) { in CalendarViewLegacyDelegate()
327 if (mTempDate.before(mMinDate)) { in CalendarViewLegacyDelegate()
328 goTo(mMinDate, false, true, true); in CalendarViewLegacyDelegate()
491 if (isSameDate(mTempDate, mMinDate)) { in setMinDate()
494 mMinDate.setTimeInMillis(minDate); in setMinDate()
500 if (date.before(mMinDate)) { in setMinDate()
501 mAdapter.setSelectedDay(mMinDate); in setMinDate()
[all …]
DDatePickerCalendarDelegate.java86 private final Calendar mMinDate; field in DatePickerCalendarDelegate
98 mMinDate = Calendar.getInstance(locale); in DatePickerCalendarDelegate()
101 mMinDate.set(DEFAULT_START_YEAR, Calendar.JANUARY, 1); in DatePickerCalendarDelegate()
162 mDayPickerView.setMinDate(mMinDate.getTimeInMillis()); in DatePickerCalendarDelegate()
169 mYearPickerView.setRange(mMinDate, mMaxDate); in DatePickerCalendarDelegate()
427 if (mTempDate.get(Calendar.YEAR) == mMinDate.get(Calendar.YEAR) in setMinDate()
428 && mTempDate.get(Calendar.DAY_OF_YEAR) == mMinDate.get(Calendar.DAY_OF_YEAR)) { in setMinDate()
436 mMinDate.setTimeInMillis(minDate); in setMinDate()
438 mYearPickerView.setRange(mMinDate, mMaxDate); in setMinDate()
443 return mMinDate; in getMinDate()
[all …]
DDatePickerSpinnerDelegate.java84 private Calendar mMinDate; field in DatePickerSpinnerDelegate
287 if (mTempDate.get(Calendar.YEAR) == mMinDate.get(Calendar.YEAR) in setMinDate()
288 && mTempDate.get(Calendar.DAY_OF_YEAR) == mMinDate.get(Calendar.DAY_OF_YEAR)) { in setMinDate()
292 mMinDate.setTimeInMillis(minDate); in setMinDate()
294 if (mCurrentDate.before(mMinDate)) { in setMinDate()
295 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); in setMinDate()
408 mMinDate = getCalendarForLocale(mMinDate, locale); in setCurrentLocale()
508 if (mCurrentDate.before(mMinDate)) { in setDate()
509 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); in setDate()
518 if (mCurrentDate.equals(mMinDate)) { in updateSpinners()
[all …]
DDayPickerView.java44 private final Calendar mMinDate = Calendar.getInstance(); field in DayPickerView
296 if (timeInMillis < mMinDate.getTimeInMillis()) {
297 timeInMillis = mMinDate.getTimeInMillis();
341 mMinDate.setTimeInMillis(timeInMillis);
346 return mMinDate.getTimeInMillis();
362 mAdapter.setRange(mMinDate, mMaxDate);
386 final int diffMonthMax = getDiffMonths(mMinDate, mMaxDate);
387 final int diffMonth = getDiffMonths(mMinDate, getTempCalendarForTime(timeInMillis));
DDatePicker.java705 private final long mMinDate; field in DatePicker.AbstractDatePickerDelegate.SavedState
725 mMinDate = minDate; in SavedState()
740 mMinDate = in.readLong(); in SavedState()
753 dest.writeLong(mMinDate); in writeToParcel()
773 return mMinDate; in getMinDate()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt81035 Landroid/widget/DatePicker$AbstractDatePickerDelegate$SavedState;->mMinDate:J