Home
last modified time | relevance | path

Searched refs:datePicker (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DDatePickerFactory.kt26 val datePicker = datePickerDialog.datePicker in create() constant
28 datePicker.maxDate = maxDate.toEpochMilli() in create()
34 datePicker.updateDate(date.year, month, date.dayOfMonth) in create()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/
DDatePickerFactoryTest.kt53 assertThat(dialog.datePicker.year).isEqualTo(localSelectedDate.year) in create_respectSelectedDate()
55 assertThat(dialog.datePicker.month).isEqualTo(localSelectedDate.month.value - 1) in create_respectSelectedDate()
56 assertThat(dialog.datePicker.dayOfMonth).isEqualTo(localSelectedDate.dayOfMonth) in create_respectSelectedDate()
68 assertThat(dialog.datePicker.maxDate).isEqualTo(maxDate.toEpochMilli()) in create_respectMaxDate()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datetime/
DDatePickerFragmentTest.java62 DatePicker datePicker = findDatePicker(mFragment.requireActivity()); in onActivityCreated_setMinDate() local
70 assertThat(datePicker.getMinDate()).isEqualTo(calendar.getTimeInMillis()); in onActivityCreated_setMinDate()
75 DatePicker datePicker = findDatePicker(mFragment.requireActivity()); in onActivityCreated_setMaxDate() local
83 assertThat(datePicker.getMaxDate()).isEqualTo(calendar.getTimeInMillis()); in onActivityCreated_setMaxDate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLeanbackPickerDialogFragment.java130 DatePicker datePicker = pickerContainer.findViewById(R.id.date_picker); in onCreateView() local
131 mPicker = datePicker; in onCreateView()
133 datePicker.setActivated(true); in onCreateView()
135 datePicker.setOnClickListener(v -> { in onCreateView()
137 long whenMillis = datePicker.getDate(); in onCreateView()
/packages/apps/Settings/src/com/android/settings/datetime/
DDatePreferenceController.java115 DatePicker datePicker = dialog.getDatePicker(); in buildDatePicker() local
120 datePicker.setMinDate(calendar.getTimeInMillis()); in buildDatePicker()
125 datePicker.setMaxDate(calendar.getTimeInMillis()); in buildDatePicker()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/rotary/
DNumberPickerUtilsTest.java61 DatePicker datePicker = view.findViewById(R.id.date_picker); in getNumberPickerDescendants_fromDatePicker_has3NumberPickers() local
64 NumberPickerUtils.getNumberPickerDescendants(numberPickers, datePicker); in getNumberPickerDescendants_fromDatePicker_has3NumberPickers()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/widget/
DDatePickerDialogTest.kt39 assertThat(datePickerDialog.datePicker).isNotNull() in testConstructor()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePickerDialog.java135 mDatePicker = (DatePicker) view.findViewById(R.id.datePicker); in DatePickerDialog()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDateNavigationView.kt121 setMaxDate(datePickerDialog.datePicker.maxDate.toInstant()) in <lambda>()