Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java170 final boolean isYearOptional = getType() != null && getType().isYearOptional(); in onLabelRebuilt()
172 if (!isYearOptional && !TextUtils.isEmpty(oldValue)) { in onLabelRebuilt()
206 final boolean isYearOptional = getType().isYearOptional(); in createDatePickerDialog()
223 oldYear = isYearOptional ? DatePickerDialog.NO_YEAR : defaultYear; in createDatePickerDialog()
234 if (year == 0 && !isYearOptional) throw new IllegalStateException(); in createDatePickerDialog()
260 oldYear, oldMonth, oldDay, isYearOptional); in createDatePickerDialog()
292 && 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.java169 state.putBoolean(YEAR_OPTIONAL, mDatePicker.isYearOptional()); in onSaveInstanceState()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountType.java394 public boolean isYearOptional() { in isYearOptional() method in AccountType.EventEditType
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountType.java419 public boolean isYearOptional() { in isYearOptional() method in AccountType.EventEditType
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java1212 if (yearOptional && !suitableType.isYearOptional()) { in migrateEvent()