Searched defs:PM (Results 1 - 6 of 6) sorted by relevance

/frameworks/compile/libbcc/tools/bcc_strip_attr/
H A Dbcc_strip_attr.cpp129 legacy::PassManager PM; local
130 PM.add(createStripAttributePass());
131 PM.run(*M.get());
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DAmPmCirclesView.java34 * Draw the two smaller AM and PM circles next to where the larger circle will be.
55 private static final int PM = TimePickerDialog.PM; field in class:AmPmCirclesView
125 * Calculate whether the coordinates are touching the AM or PM circle.
143 return PM;
166 // Line up the vertical center of the AM/PM circles with the bottom of the main circle.
168 // Line up the horizontal edges of the AM/PM circles with the horizontal edges
185 } else if (mAmOrPm == PM) {
192 } else if (mAmOrPmPressed == PM) {
205 // Draw the AM/PM text
[all...]
H A DRadialPickerLayout.java62 private static final int PM = TimePickerDialog.PM; field in class:RadialPickerLayout
180 // Initialize the circle and AM/PM circles if applicable.
184 mAmPmCirclesView.initialize(context, initialHoursOfDay < 12? AM : PM);
288 return PM;
294 * Set the internal value for the hour, minute, or AM/PM.
304 } else if (value == PM) {
311 * Set the internal value as either AM or PM, and update the AM/PM circle displays.
583 // If we're showing the AM/PM, chec
[all...]
H A DTimePickerDialog.java68 public static final int PM = 1; field in class:TimePickerDialog
268 // Enable or disable the AM/PM view.
280 updateAmPmDisplay(mInitialHourOfDay < 12? AM : PM);
287 amOrPm = PM;
288 } else if (amOrPm == PM){
364 } else if (amOrPm == PM){
520 } else if (deleted == getAmOrPmKeyCode(PM)) {
536 (keyCode == getAmOrPmKeyCode(AM) || keyCode == getAmOrPmKeyCode(PM)))) {
573 // If we're in 24hour mode, we'll need to check if the input is full. If in AM/PM mode,
574 // we'll need to see if AM/PM hav
[all...]
/frameworks/base/core/java/android/widget/
H A DTimePickerClockDelegate.java68 private static final int PM = 1; field in class:TimePickerClockDelegate
137 // Set up AM/PM labels.
348 // Ensure that AM/PM layout is in the correct position.
353 updateAmPmLabelStates(mCurrentHour < 12 ? AM : PM);
397 mRadialTimePickerView.setAmOrPm(hour < 12 ? AM : PM);
414 if (mRadialTimePickerView.getAmOrPm() == PM) {
455 * AM/PM indicators.
458 * {@code false} for 12-hour mode with AM/PM
472 * {@code false} if time is displayed in 12-hour mode with AM/PM
572 final boolean isPm = amOrPm == PM;
[all...]
H A DRadialTimePickerView.java78 private static final int PM = 1; field in class:RadialTimePickerView
496 // 0 is 12 AM (midnight) and 12 is 12 PM (noon).
497 final int amOrPm = (hour == 0 || (hour % 24) < 12) ? AM : PM;
535 } else if (mAmOrPm == PM) {
591 * Sets whether the picker is showing AM or PM hours. Has no effect when
594 * @param amOrPm {@link #AM} or {@link #PM}
1282 } else if (amOrPm == PM) {

Completed in 652 milliseconds