Searched refs:HOURS_IN_HALF_DAY (Results 1 – 3 of 3) sorted by relevance
47 private static final int HOURS_IN_HALF_DAY = 12; field in TimePickerSpinnerDelegate95 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) || in TimePickerSpinnerDelegate()96 (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { in TimePickerSpinnerDelegate()126 if (!is24Hour() && newHour == HOURS_IN_HALF_DAY) { in TimePickerSpinnerDelegate()133 if (!is24Hour() && newHour == HOURS_IN_HALF_DAY - 1) { in TimePickerSpinnerDelegate()307 if (currentHour >= HOURS_IN_HALF_DAY) { in setCurrentHour()309 if (currentHour > HOURS_IN_HALF_DAY) { in setCurrentHour()310 currentHour = currentHour - HOURS_IN_HALF_DAY; in setCurrentHour()315 currentHour = HOURS_IN_HALF_DAY; in setCurrentHour()332 return currentHour % HOURS_IN_HALF_DAY; in getHour()[all …]
86 private static final int HOURS_IN_HALF_DAY = 12; field in TimePickerClockDelegate562 return (currentHour % HOURS_IN_HALF_DAY) + HOURS_IN_HALF_DAY;564 return currentHour % HOURS_IN_HALF_DAY;
61 private static final int HOURS_IN_HALF_DAY = 12; field in TimePicker343 if (mCurrentHour >= HOURS_IN_HALF_DAY) { in setHour()345 if (mCurrentHour > HOURS_IN_HALF_DAY) { in setHour()346 mCurrentHour -= HOURS_IN_HALF_DAY; in setHour()351 mCurrentHour = HOURS_IN_HALF_DAY; in setHour()370 return mCurrentHour % HOURS_IN_HALF_DAY; in getHour()372 return (mCurrentHour % HOURS_IN_HALF_DAY) + HOURS_IN_HALF_DAY; in getHour()