Home
last modified time | relevance | path

Searched refs:HOURS_IN_HALF_DAY (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java48 private static final int HOURS_IN_HALF_DAY = 12; field in TimePickerSpinnerDelegate
96 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) || in TimePickerSpinnerDelegate()
97 (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { in TimePickerSpinnerDelegate()
127 if (!is24HourView() && newHour == HOURS_IN_HALF_DAY) { in TimePickerSpinnerDelegate()
134 if (!is24HourView() && newHour == HOURS_IN_HALF_DAY - 1) { in TimePickerSpinnerDelegate()
293 if (currentHour >= HOURS_IN_HALF_DAY) { in setCurrentHour()
295 if (currentHour > HOURS_IN_HALF_DAY) { in setCurrentHour()
296 currentHour = currentHour - HOURS_IN_HALF_DAY; in setCurrentHour()
301 currentHour = HOURS_IN_HALF_DAY; in setCurrentHour()
318 return currentHour % HOURS_IN_HALF_DAY; in getCurrentHour()
[all …]
DTimePickerClockDelegate.java79 private static final int HOURS_IN_HALF_DAY = 12; field in TimePickerClockDelegate
413 return (currentHour % HOURS_IN_HALF_DAY) + HOURS_IN_HALF_DAY;
416 return currentHour % HOURS_IN_HALF_DAY;