Searched refs:timePicker (Results 1 – 4 of 4) sorted by relevance
56 val timePicker = TimePicker(context) in <lambda>() constant57 timePicker.setCurrentHour(hour) in <lambda>()58 timePicker.setCurrentMinute(minute) in <lambda>()59 timePicker.setIs24HourView(DateFormat.is24HourFormat(context)) in <lambda>()61 builder.setView(timePicker) in <lambda>()64 timePicker.getCurrentHour(), timePicker.getCurrentMinute()) in <lambda>()
70 final TimePicker timePicker = new TimePicker(context); in onCreateDialog()71 timePicker.setCurrentHour(hour); in onCreateDialog()72 timePicker.setCurrentMinute(minute); in onCreateDialog()73 timePicker.setIs24HourView(DateFormat.is24HourFormat(context)); in onCreateDialog()75 return builder.setView(timePicker) in onCreateDialog()80 timePicker.getCurrentHour(), timePicker.getCurrentMinute()); in onCreateDialog()
53 TimePicker timePicker = findTimePicker(mFragment.requireActivity()); in onActivityCreated_isNot24HourFormat_timePickerShouldShow12HourTimeFormat() local55 assertThat(timePicker.is24HourView()).isFalse(); in onActivityCreated_isNot24HourFormat_timePickerShouldShow12HourTimeFormat()62 TimePicker timePicker = findTimePicker(mFragment.requireActivity()); in onActivityCreated_is24HourFormat_timePickerShouldShow24HourTimeFormat() local64 assertThat(timePicker.is24HourView()).isTrue(); in onActivityCreated_is24HourFormat_timePickerShouldShow24HourTimeFormat()
140 TimePicker timePicker = pickerContainer.findViewById(R.id.time_picker); in onCreateView() local141 timePicker.setActivated(true); in onCreateView()142 timePicker.setOnClickListener(v -> { in onCreateView()144 mCalendar.set(Calendar.HOUR_OF_DAY, timePicker.getHour()); in onCreateView()145 mCalendar.set(Calendar.MINUTE, timePicker.getMinute()); in onCreateView()