/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidedDatePickerAction.java | 41 private long mMaxDate = Long.MAX_VALUE; field in GuidedDatePickerAction.BuilderBase 88 mMaxDate = maxDate; in maxDate() 100 if (mMinDate > mMaxDate) { in applyDatePickerValues() 104 action.mMaxDate = mMaxDate; in applyDatePickerValues() 131 private long mMaxDate = Long.MAX_VALUE; field in GuidedDatePickerAction 177 return mMaxDate; in getMaxDate()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
D | DatePicker.java | 61 Calendar mMaxDate; field in DatePicker 97 mMaxDate.setTimeInMillis(mTempDate.getTimeInMillis()); in DatePicker() 193 mMaxDate = getCalendarForLocale(mMaxDate, mConstant.locale); in updateCurrentLocale() 266 if (mTempDate.get(Calendar.YEAR) == mMaxDate.get(Calendar.YEAR) in setMaxDate() 267 && mTempDate.get(Calendar.DAY_OF_YEAR) != mMaxDate.get(Calendar.DAY_OF_YEAR)) { in setMaxDate() 270 mMaxDate.setTimeInMillis(maxDate); in setMaxDate() 271 if (mCurrentDate.after(mMaxDate)) { in setMaxDate() 272 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setMaxDate() 288 return mMaxDate.getTimeInMillis(); in getMaxDate() 305 } else if (mCurrentDate.after(mMaxDate)) { in setDate() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | DatePickerCalendarDelegate.java | 94 private final Calendar mMaxDate; field in DatePickerCalendarDelegate 106 mMaxDate = Calendar.getInstance(locale); in DatePickerCalendarDelegate() 109 mMaxDate.set(DEFAULT_END_YEAR, Calendar.DECEMBER, 31); in DatePickerCalendarDelegate() 169 mDayPickerView.setMaxDate(mMaxDate.getTimeInMillis()); in DatePickerCalendarDelegate() 175 mYearPickerView.setRange(mMinDate, mMaxDate); in DatePickerCalendarDelegate() 450 mYearPickerView.setRange(mMinDate, mMaxDate); in setMinDate() 461 if (mTempDate.get(Calendar.YEAR) == mMaxDate.get(Calendar.YEAR) in setMaxDate() 462 && mTempDate.get(Calendar.DAY_OF_YEAR) == mMaxDate.get(Calendar.DAY_OF_YEAR)) { in setMaxDate() 470 mMaxDate.setTimeInMillis(maxDate); in setMaxDate() 472 mYearPickerView.setRange(mMinDate, mMaxDate); in setMaxDate() [all …]
|
D | DayPickerPagerAdapter.java | 42 private final Calendar mMaxDate = Calendar.getInstance(); field in DayPickerPagerAdapter 79 mMaxDate.setTimeInMillis(max.getTimeInMillis()); in setRange() 81 final int diffYear = mMaxDate.get(Calendar.YEAR) - mMinDate.get(Calendar.YEAR); in setRange() 82 final int diffMonth = mMaxDate.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in setRange() 254 if (mMaxDate.get(Calendar.MONTH) == month && mMaxDate.get(Calendar.YEAR) == year) { in instantiateItem() 255 enabledDayRangeEnd = mMaxDate.get(Calendar.DAY_OF_MONTH); in instantiateItem()
|
D | CalendarViewLegacyDelegate.java | 256 private Calendar mMaxDate; field in CalendarViewLegacyDelegate 273 if (!CalendarView.parseDate(maxDate, mMaxDate)) { in CalendarViewLegacyDelegate() 274 CalendarView.parseDate(DEFAULT_MAX_DATE, mMaxDate); in CalendarViewLegacyDelegate() 276 if (mMaxDate.before(mMinDate)) { in CalendarViewLegacyDelegate() 331 } else if (mMaxDate.before(mTempDate)) { in CalendarViewLegacyDelegate() 332 goTo(mMaxDate, false, true, true); in CalendarViewLegacyDelegate() 526 if (isSameDate(mTempDate, mMaxDate)) { in setMaxDate() 529 mMaxDate.setTimeInMillis(maxDate); in setMaxDate() 533 if (date.after(mMaxDate)) { in setMaxDate() 534 setDate(mMaxDate.getTimeInMillis()); in setMaxDate() [all …]
|
D | DatePickerSpinnerDelegate.java | 88 private Calendar mMaxDate; field in DatePickerSpinnerDelegate 314 if (mTempDate.get(Calendar.YEAR) == mMaxDate.get(Calendar.YEAR) in setMaxDate() 315 && mTempDate.get(Calendar.DAY_OF_YEAR) == mMaxDate.get(Calendar.DAY_OF_YEAR)) { in setMaxDate() 319 mMaxDate.setTimeInMillis(maxDate); in setMaxDate() 321 if (mCurrentDate.after(mMaxDate)) { in setMaxDate() 322 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setMaxDate() 420 mMaxDate = getCalendarForLocale(mMaxDate, locale); in setCurrentLocale() 519 } else if (mCurrentDate.after(mMaxDate)) { in setDate() 520 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setDate() 534 } else if (mCurrentDate.equals(mMaxDate)) { in updateSpinners() [all …]
|
D | DatePicker.java | 535 private final long mMaxDate; field in DatePicker.AbstractDatePickerDelegate.SavedState 555 mMaxDate = maxDate; in SavedState() 570 mMaxDate = in.readLong(); in SavedState() 583 dest.writeLong(mMaxDate); in writeToParcel() 606 return mMaxDate; in getMaxDate()
|
D | DayPickerView.java | 48 private final Calendar mMaxDate = Calendar.getInstance(); field in DayPickerView 330 mMaxDate.setTimeInMillis(timeInMillis); 335 return mMaxDate.getTimeInMillis(); 342 mAdapter.setRange(mMinDate, mMaxDate); 366 final int diffMonthMax = getDiffMonths(mMinDate, mMaxDate);
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
D | GuidedDatePickerTest.java | 170 Calendar mMinDate, Calendar mMaxDate) { in addDate() argument 176 actualMaxFieldValue = mMaxDate.get(Calendar.YEAR); in addDate() 186 if (mCurrentDate.after(mMaxDate)) { in addDate() 187 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in addDate()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DatePickerDialog.java | 101 private Calendar mMaxDate; field in DatePickerDialog 408 mMaxDate = calendar; in setMaxDate() 420 return mMaxDate; in getMaxDate()
|