Home | History | Annotate | Download | only in widget

Lines Matching refs:AM

47  * A view for selecting the time of day, in either 24 hour or AM/PM mode.
64 private static final int AM = 0;
218 // Enable or disable the AM/PM view.
278 updateAmPmDisplay(mInitialHourOfDay < 12 ? AM : PM);
284 if (amOrPm == AM) {
287 amOrPm = AM;
308 mRadialTimePickerView.setAmOrPm(mInitialHourOfDay < 12 ? AM : PM);
325 case AM:
356 * Set whether in 24 hour or AM/PM mode.
358 * @param is24HourView True = 24 hour mode. False = AM/PM.
600 if (amOrPm == AM) {
777 if (deleted == getAmOrPmKeyCode(AM)) {
795 (keyCode == getAmOrPmKeyCode(AM) || keyCode == getAmOrPmKeyCode(PM)))) {
832 // If we're in 24hour mode, we'll need to check if the input is full. If in AM/PM mode,
833 // we'll need to see if AM/PM have been typed.
847 // Automatically fill in 0's if AM or PM was legally entered.
884 // For AM/PM mode, the time is legal if it contains an AM or PM, as those can only be
886 return (mTypedTimes.contains(getAmOrPmKeyCode(AM)) ||
918 * Update the hours, minutes, and AM/PM displays with the typed times. If the typedTimes is
932 updateAmPmDisplay(hour < 12 ? AM : PM);
990 * minutes, and the third will be either AM or PM.
997 if (keyCode == getAmOrPmKeyCode(AM)) {
998 amOrPm = AM;
1029 * Get the keycode value for AM and PM in the current language.
1034 // Find the first character in the AM/PM text that is unique.
1043 // There should be 4 events: a down and up for both AM and PM.
1048 Log.e(TAG, "Unable to find keycodes for AM and PM.");
1054 if (amOrPm == AM) {
1131 // We'll need to use the AM/PM node a lot.
1132 // Set up AM and PM to respond to "a" and "p".
1133 Node ampm = new Node(getAmOrPmKeyCode(AM), getAmOrPmKeyCode(PM));
1144 // Also for quick input of on-the-hour times. E.g. 10pm, 12am.
1150 // The time may be finished now. E.g. 1:02pm, 1:25am.
1157 // The time must be finished now. E.g. 10:49am, 12:40pm.
1163 // The time must be finished now. E.g. 1:08am, 1:26pm.
1173 // The time must be finished now. E.g. 1:39am, 1:50pm.
1179 // We'll allow quick input of on-the-hour-times. E.g. 2am, 5pm.
1189 // The time must be finished now. E.g. 2:57am, 9:30pm.