Home
last modified time | relevance | path

Searched refs:isYearOptional (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java172 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()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePicker.java293 public boolean isYearOptional() { in isYearOptional() method in DatePicker.SavedState
347 mYearOptional = ss.isYearOptional(); in onRestoreInstanceState()
409 public boolean isYearOptional() { in isYearOptional() method in DatePicker
DDatePickerDialog.java209 state.putBoolean(YEAR_OPTIONAL, mDatePicker.isYearOptional()); in onSaveInstanceState()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java416 public boolean isYearOptional() { in isYearOptional() method in AccountType.EventEditType
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java1280 if (yearOptional && !suitableType.isYearOptional()) { in migrateEvent()