Home
last modified time | relevance | path

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

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java285 int amOrPm = mTimePicker.getIsCurrentlyAmOrPm(); in onCreateView()
286 if (amOrPm == AM) { in onCreateView()
287 amOrPm = PM; in onCreateView()
288 } else if (amOrPm == PM){ in onCreateView()
289 amOrPm = AM; in onCreateView()
291 updateAmPmDisplay(amOrPm); in onCreateView()
292 mTimePicker.setAmOrPm(amOrPm); in onCreateView()
359 private void updateAmPmDisplay(int amOrPm) {
360 if (amOrPm == AM) {
364 } else if (amOrPm == PM){
[all …]
DAmPmCirclesView.java70 public void initialize(Context context, int amOrPm) { in initialize() argument
95 setAmOrPm(amOrPm); in initialize()
116 public void setAmOrPm(int amOrPm) { in setAmOrPm() argument
117 mAmOrPm = amOrPm; in setAmOrPm()
DRadialPickerLayout.java314 public void setAmOrPm(int amOrPm) { in setAmOrPm() argument
315 mAmPmCirclesView.setAmOrPm(amOrPm); in setAmOrPm()
317 setValueForItem(AMPM_INDEX, amOrPm); in setAmOrPm()
705 int amOrPm = getIsCurrentlyAmOrPm(); in onTouch() local
706 if (amOrPm == AM && value == 12) { in onTouch()
708 } else if (amOrPm == PM && value != 12) { in onTouch()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java570 private void updateAmPmLabelStates(int amOrPm) {
571 final boolean isAm = amOrPm == AM;
575 final boolean isPm = amOrPm == PM;
689 private void setAmOrPm(int amOrPm) { in setAmOrPm() argument
690 updateAmPmLabelStates(amOrPm); in setAmOrPm()
692 if (mRadialTimePickerView.setAmOrPm(amOrPm)) { in setAmOrPm()
810 final int amOrPm;
DRadialTimePickerView.java473 final int amOrPm = (hour == 0 || (hour % 24) < 12) ? AM : PM; in setCurrentHourInternal() local
475 if (mAmOrPm != amOrPm || mIsOnInnerCircle != isOnInnerCircle) { in setCurrentHourInternal()
476 mAmOrPm = amOrPm; in setCurrentHourInternal()
574 public boolean setAmOrPm(int amOrPm) { in setAmOrPm() argument
575 if (mAmOrPm == amOrPm || mIs24HourMode) { in setAmOrPm()
579 mAmOrPm = amOrPm; in setAmOrPm()
1252 private int hour12To24(int hour12, int amOrPm) { in hour12To24() argument
1255 if (amOrPm == AM) { in hour12To24()
1258 } else if (amOrPm == PM) { in hour12To24()