Searched refs:mDatePicker (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePickerDialog.java | 54 private final DatePicker mDatePicker; field in DatePickerDialog 135 mDatePicker = (DatePicker) view.findViewById(R.id.datePicker); in DatePickerDialog() 136 mDatePicker.init(mInitialYear, mInitialMonth, mInitialDay, yearOptional, this); in DatePickerDialog() 142 mDatePicker.clearFocus(); in onClick() 143 mCallBack.onDateSet(mDatePicker, mDatePicker.getYear(), in onClick() 144 mDatePicker.getMonth(), mDatePicker.getDayOfMonth()); in onClick() 166 state.putInt(YEAR, mDatePicker.getYear()); in onSaveInstanceState() 167 state.putInt(MONTH, mDatePicker.getMonth()); in onSaveInstanceState() 168 state.putInt(DAY, mDatePicker.getDayOfMonth()); in onSaveInstanceState() 169 state.putBoolean(YEAR_OPTIONAL, mDatePicker.isYearOptional()); in onSaveInstanceState() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/ |
D | DatePickerFragment.java | 36 private DatePicker mDatePicker; field in DatePickerFragment 52 mDatePicker = (DatePicker) getView().findViewById(R.id.date_picker); in onActivityCreated() 59 c.set(Calendar.YEAR, mDatePicker.getYear()); in onActivityCreated() 60 c.set(Calendar.MONTH, mDatePicker.getMonth()); in onActivityCreated() 61 c.set(Calendar.DAY_OF_MONTH, mDatePicker.getDayOfMonth()); in onActivityCreated()
|