Home
last modified time | relevance | path

Searched refs:amOrPm (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java500 final int amOrPm = (hour == 0 || (hour % 24) < 12) ? AM : PM; in setCurrentHourInternal() local
502 if (mAmOrPm != amOrPm || mIsOnInnerCircle != isOnInnerCircle) { in setCurrentHourInternal()
503 mAmOrPm = amOrPm; in setCurrentHourInternal()
601 public boolean setAmOrPm(int amOrPm) { in setAmOrPm() argument
602 if (mAmOrPm == amOrPm || mIs24HourMode) { in setAmOrPm()
606 mAmOrPm = amOrPm; in setAmOrPm()
1291 private int hour12To24(int hour12, int amOrPm) { in hour12To24() argument
1294 if (amOrPm == AM) { in hour12To24()
1297 } else if (amOrPm == PM) { in hour12To24()
DTimePickerClockDelegate.java751 private void updateAmPmLabelStates(int amOrPm) {
752 final boolean isAm = amOrPm == AM;
756 final boolean isPm = amOrPm == PM;
907 private void setAmOrPm(int amOrPm) {
908 updateAmPmLabelStates(amOrPm);
910 if (mRadialTimePickerView.setAmOrPm(amOrPm)) {
1051 final int amOrPm;
DTextInputTimePickerView.java199 void updateTextInputValues(int localizedHour, int minute, int amOrPm, boolean is24Hour, in updateTextInputValues() argument
209 if (amOrPm == AM) { in updateTextInputValues()