Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTextInputTimePickerView.java233 final int minHour = mHourFormatStartsAtZero ? 0 : 1; in parseAndSetHourInternal() local
234 final int maxHour = mIs24Hour ? 23 : 11 + minHour; in parseAndSetHourInternal()
236 MathUtils.constrain(hour, minHour, maxHour))); in parseAndSetHourInternal()
265 final int minHour = mHourFormatStartsAtZero ? 0 : 1; in isValidLocalizedHour() local
266 final int maxHour = (mIs24Hour ? 23 : 11) + minHour; in isValidLocalizedHour()
267 return localizedHour >= minHour && localizedHour <= maxHour; in isValidLocalizedHour()
DTimePickerClockDelegate.java330 final int minHour = mHourFormatStartsAtZero ? 0 : 1; in updateHourFormat() local
331 final int maxHour = (mIs24Hour ? 23 : 11) + minHour; in updateHourFormat()
332 mHourView.setRange(minHour, maxHour); in updateHourFormat()