Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTextInputTimePickerView.java199 void updateTextInputValues(int localizedHour, int minute, int amOrPm, boolean is24Hour, in updateTextInputValues() argument
216 mHourEditText.setText(String.format(hourFormat, localizedHour)); in updateTextInputValues()
219 mHourEditText.setHint(String.format(hourFormat, localizedHour)); in updateTextInputValues()
264 private boolean isValidLocalizedHour(int localizedHour) { in isValidLocalizedHour() argument
267 return localizedHour >= minHour && localizedHour <= maxHour; in isValidLocalizedHour()
270 private int getHourOfDayFromLocalizedHour(int localizedHour) { in getHourOfDayFromLocalizedHour() argument
271 int hourOfDay = localizedHour; in getHourOfDayFromLocalizedHour()
273 if (!mHourFormatStartsAtZero && localizedHour == 24) { in getHourOfDayFromLocalizedHour()
277 if (!mHourFormatStartsAtZero && localizedHour == 12) { in getHourOfDayFromLocalizedHour()
DTimePickerClockDelegate.java786 final int localizedHour = getLocalizedHour(hourOfDay);
787 mHourView.setValue(localizedHour);
934 final int localizedHour = getLocalizedHour(newValue);
935 mDelegator.announceForAccessibility(localizedHour + ". " + mSelectMinutes);