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 | 49 private DatePicker mDatePicker; field in DatePickerFragment 56 c.set(Calendar.YEAR, mDatePicker.getYear()); in onStop() 57 c.set(Calendar.MONTH, mDatePicker.getMonth()); in onStop() 58 c.set(Calendar.DAY_OF_MONTH, mDatePicker.getDayOfMonth()); in onStop() 87 mDatePicker = getView().findViewById(R.id.date_picker); in onActivityCreated() 88 mDatePicker.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); in onActivityCreated() 90 NumberPickerUtils.getNumberPickerDescendants(mNumberPickers, mDatePicker); in onActivityCreated() 92 DirectManipulationHandler.setDirectManipulationHandler(mDatePicker, in onActivityCreated() 126 mDatePicker.requestFocus(); in onActivityCreated() 130 mDatePicker.requestFocus(); in onActivityCreated() [all …]
|