Searched refs:isYearOptional (Results 1 – 5 of 5) sorted by relevance
172 final boolean isYearOptional = getType() != null && getType().isYearOptional(); in onLabelRebuilt()174 if (!isYearOptional && !TextUtils.isEmpty(oldValue)) { in onLabelRebuilt()203 final boolean isYearOptional = getType().isYearOptional(); in createDatePickerDialog()220 oldYear = isYearOptional ? DatePickerDialog.NO_YEAR : defaultYear; in createDatePickerDialog()231 if (year == 0 && !isYearOptional) throw new IllegalStateException(); in createDatePickerDialog()253 oldYear, oldMonth, oldDay, isYearOptional); in createDatePickerDialog()285 && eventType.isYearOptional(); in isBirthdayType()
293 public boolean isYearOptional() { in isYearOptional() method in DatePicker.SavedState347 mYearOptional = ss.isYearOptional(); in onRestoreInstanceState()409 public boolean isYearOptional() { in isYearOptional() method in DatePicker
209 state.putBoolean(YEAR_OPTIONAL, mDatePicker.isYearOptional()); in onSaveInstanceState()
416 public boolean isYearOptional() { in isYearOptional() method in AccountType.EventEditType
1280 if (yearOptional && !suitableType.isYearOptional()) { in migrateEvent()