Home
last modified time | relevance | path

Searched refs:hourOfDay (Results 1 – 14 of 14) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DTimePickerDialogFragment.java62 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onCreateDialog()
63 listener.onTimeSet(TimePickerDialogFragment.this, hourOfDay, minute); in onCreateDialog()
91 public static void show(Fragment parentFragment, int hourOfDay, int minute) {
107 if (hourOfDay >= 0 && hourOfDay < 24) {
108 args.putInt(ARG_HOUR, hourOfDay);
139 void onTimeSet(TimePickerDialogFragment fragment, int hourOfDay, int minute);
DTimePickerDialogFragment.kt49 TimePickerDialog(context, { _, hourOfDay, minuteOfHour -> in <lambda>() method
50 listener.onTimeSet(this@TimePickerDialogFragment, hourOfDay, minuteOfHour) in <lambda>()
82 fun onTimeSet(fragment: TimePickerDialogFragment?, hourOfDay: Int, minute: Int) in <lambda>()
99 fun show(parentFragment: Fragment, hourOfDay: Int, minute: Int) { in <lambda>()
115 if (hourOfDay in 0..23) { in <lambda>()
116 args.putInt(ARG_HOUR, hourOfDay) in <lambda>()
DAlarmTimeClickHandler.kt179 fun onTimeSet(hourOfDay: Int, minute: Int) { in onTimeSet()
183 a.hour = hourOfDay in onTimeSet()
188 mSelectedAlarm!!.hour = hourOfDay in onTimeSet()
DAlarmTimeClickHandler.java188 public void onTimeSet(int hourOfDay, int minute) { in onTimeSet() argument
192 a.hour = hourOfDay; in onTimeSet()
197 mSelectedAlarm.hour = hourOfDay; in onTimeSet()
/packages/apps/Calendar/src/com/android/calendar/
DOtherPreferences.java171 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
177 String summary = formatTime(hourOfDay, minute); in onTimeSet()
181 editor.putInt(KEY_OTHER_QUIET_HOURS_START_HOUR, hourOfDay); in onTimeSet()
186 editor.putInt(KEY_OTHER_QUIET_HOURS_END_HOUR, hourOfDay); in onTimeSet()
202 private String formatTime(int hourOfDay, int minute) { in formatTime() argument
204 time.hour = hourOfDay; in formatTime()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/
DTimePickerDialogFragment.java31 public static TimePickerDialogFragment newInstance(int hourOfDay, int minute) { in newInstance() argument
34 args.putInt(HOUR_KEY, hourOfDay); in newInstance()
54 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
56 mListener.onTimeSet(view, hourOfDay, minute); in onTimeSet()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/
DTimePreferenceController.java91 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
93 setTime(hourOfDay, minute); in onTimeSet()
111 void setTime(int hourOfDay, int minute) { in setTime() argument
114 c.set(Calendar.HOUR_OF_DAY, hourOfDay); in setTime()
/packages/apps/Settings/src/com/android/settings/datetime/
DTimePreferenceController.java91 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
93 setTime(hourOfDay, minute); in onTimeSet()
111 void setTime(int hourOfDay, int minute) { in setTime() argument
114 c.set(Calendar.HOUR_OF_DAY, hourOfDay); in setTime()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleRuleSettings.java281 public void setTime(int hourOfDay, int minute) { in setTime() argument
282 if (mCallback != null && !mCallback.onSetTime(hourOfDay, minute)) return; in setTime()
283 mHourOfDay = hourOfDay; in setTime()
318 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
320 pref.setTime(hourOfDay, minute); in onTimeSet()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeScheduleRuleSettings.java281 public void setTime(int hourOfDay, int minute) { in setTime() argument
282 if (mCallback != null && !mCallback.onSetTime(hourOfDay, minute)) return; in setTime()
283 mHourOfDay = hourOfDay; in setTime()
318 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
320 pref.setTime(hourOfDay, minute); in onTimeSet()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplaySettings.java105 return new TimePickerDialog(context, (view, hourOfDay, minute) -> { in onCreateDialog()
106 final LocalTime time = LocalTime.of(hourOfDay, minute); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplaySettings.java105 return new TimePickerDialog(context, (view, hourOfDay, minute) -> { in onCreateDialog()
106 final LocalTime time = LocalTime.of(hourOfDay, minute); in onCreateDialog()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java411 public void onTimeSet(TimePickerDialogFragment fragment, int hourOfDay, int minute) { in onTimeSet() argument
412 mAlarmTimeClickHandler.onTimeSet(hourOfDay, minute); in onTimeSet()
DAlarmClockFragment.kt366 override fun onTimeSet(fragment: TimePickerDialogFragment?, hourOfDay: Int, minute: Int) { in onTimeSet()
367 mAlarmTimeClickHandler.onTimeSet(hourOfDay, minute) in onTimeSet()