Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DTimePickerDialogFragment.kt48 TimePickerDialog(context, { _, hourOfDay, minuteOfHour -> in <lambda>() method
49 listener.onTimeSet(this@TimePickerDialogFragment, hourOfDay, minuteOfHour) in <lambda>()
81 fun onTimeSet(fragment: TimePickerDialogFragment?, hourOfDay: Int, minute: Int) in <lambda>()
98 fun show(parentFragment: Fragment, hourOfDay: Int, minute: Int) { in <lambda>()
114 if (hourOfDay in 0..23) { in <lambda>()
115 args.putInt(ARG_HOUR, hourOfDay) in <lambda>()
DAlarmTimeClickHandler.kt178 fun onTimeSet(hourOfDay: Int, minute: Int) { in onTimeSet()
182 a.hour = hourOfDay in onTimeSet()
187 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/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/zen/
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/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeCustomPreferenceController.java77 return new TimePickerDialog(mContext, (view, hourOfDay, minute) -> { in getDialog()
78 final LocalTime time = LocalTime.of(hourOfDay, minute); in getDialog()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplaySettings.java102 return new TimePickerDialog(context, (view, hourOfDay, minute) -> { in onCreateDialog()
103 final LocalTime time = LocalTime.of(hourOfDay, minute); in onCreateDialog()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.kt366 override fun onTimeSet(fragment: TimePickerDialogFragment?, hourOfDay: Int, minute: Int) { in onTimeSet()
367 mAlarmTimeClickHandler.onTimeSet(hourOfDay, minute) in onTimeSet()