Searched refs:timePicker (Results 1 – 5 of 5) sorted by relevance
55 val timePicker = TimePicker(context) in <lambda>() constant56 timePicker.setCurrentHour(hour) in <lambda>()57 timePicker.setCurrentMinute(minute) in <lambda>()58 timePicker.setIs24HourView(DateFormat.is24HourFormat(context)) in <lambda>()60 builder.setView(timePicker) in <lambda>()63 timePicker.getCurrentHour(), timePicker.getCurrentMinute()) in <lambda>()
49 TimePicker timePicker = view.findViewById(R.id.time_picker); in getNumberPickerDescendants_fromTimePicker_has3NumberPickers() local52 NumberPickerUtils.getNumberPickerDescendants(numberPickers, timePicker); in getNumberPickerDescendants_fromTimePicker_has3NumberPickers()105 TimePicker timePicker = view.findViewById(R.id.time_picker); in hasCommonNumberPickerParent_fromTimePicker_returnsTrue() local107 NumberPickerUtils.getNumberPickerDescendants(numberPickers, timePicker); in hasCommonNumberPickerParent_fromTimePicker_returnsTrue()128 TimePicker timePicker = view.findViewById(R.id.time_picker); in getNumberPickerParent_validParent_returnsNull() local130 NumberPickerUtils.getNumberPickerDescendants(numberPickers, timePicker); in getNumberPickerParent_validParent_returnsNull()135 assertThat(result).isEqualTo(timePicker); in getNumberPickerParent_validParent_returnsNull()
153 TimePicker timePicker = pickerContainer.findViewById(R.id.time_picker); in onCreateView() local155 timePicker.setActivated(true); in onCreateView()157 mPicker = timePicker; in onCreateView()158 timePicker.setOnClickListener(v -> { in onCreateView()160 mCalendar.set(Calendar.HOUR_OF_DAY, timePicker.getHour()); in onCreateView()161 mCalendar.set(Calendar.MINUTE, timePicker.getMinute()); in onCreateView()
76 TimePicker timePicker = findTimePicker(mFragment.requireActivity()); in onActivityCreated_isNot24HourFormat_timePickerShouldShow12HourTimeFormat() local78 assertThat(timePicker.is24HourView()).isFalse(); in onActivityCreated_isNot24HourFormat_timePickerShouldShow12HourTimeFormat()86 TimePicker timePicker = findTimePicker(mFragment.requireActivity()); in onActivityCreated_is24HourFormat_timePickerShouldShow24HourTimeFormat() local88 assertThat(timePicker.is24HourView()).isTrue(); in onActivityCreated_is24HourFormat_timePickerShouldShow24HourTimeFormat()
296 TimePicker timePicker = (TimePicker) view; in onKey() local298 getNumberPickerDescendants(numberPickers, timePicker); in onKey()302 timePicker.setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS); in onKey()