Home
last modified time | relevance | path

Searched refs:hourOfDay (Results 1 – 11 of 11) 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);
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.java90 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
92 setTime(hourOfDay, minute); in onTimeSet()
110 void setTime(int hourOfDay, int minute) { in setTime() argument
113 c.set(Calendar.HOUR_OF_DAY, hourOfDay); in setTime()
/packages/apps/Settings/src/com/android/settings/datetime/
DTimePreferenceController.java90 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
92 setTime(hourOfDay, minute); in onTimeSet()
110 void setTime(int hourOfDay, int minute) { in setTime() argument
113 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/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/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/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()