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

/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.
54 private static final int AM = TimePickerDialog.AM; field in class:AmPmCirclesView
125 * Calculate whether the coordinates are touching the AM or PM circle.
137 return AM;
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
182 if (mAmOrPm == AM) {
189 if (mAmOrPmPressed == AM) {
205 // Draw the AM/P
[all...]
H A DRadialPickerLayout.java61 private static final int AM = TimePickerDialog.AM; field in class:RadialPickerLayout
180 // Initialize the circle and AM/PM circles if applicable.
184 mAmPmCirclesView.initialize(context, initialHoursOfDay < 12? AM : PM);
286 return AM;
294 * Set the internal value for the hour, minute, or AM/PM.
302 if (value == AM) {
311 * Set the internal value as either AM or PM, and update the AM/PM circle displays.
583 // If we're showing the AM/P
[all...]
H A DTimePickerDialog.java67 public static final int AM = 0; field in class:TimePickerDialog
268 // Enable or disable the AM/PM view.
280 updateAmPmDisplay(mInitialHourOfDay < 12? AM : PM);
286 if (amOrPm == AM) {
289 amOrPm = AM;
360 if (amOrPm == AM) {
518 if (deleted == getAmOrPmKeyCode(AM)) {
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/P
[all...]
/frameworks/base/core/java/android/widget/
H A DTimePickerClockDelegate.java70 private static final int AM = 0; field in class:TimePickerClockDelegate
140 // Set up AM/PM labels.
351 // Ensure that AM/PM layout is in the correct position.
356 updateAmPmLabelStates(mCurrentHour < 12 ? AM : PM);
400 mRadialTimePickerView.setAmOrPm(hour < 12 ? AM : PM);
458 * AM/PM indicators.
461 * {@code false} for 12-hour mode with AM/PM
475 * {@code false} if time is displayed in 12-hour mode with AM/PM
571 final boolean isAm = amOrPm == AM;
785 setAmOrPm(AM);
[all...]
H A DRadialTimePickerView.java69 private static final int AM = 0; field in class:RadialTimePickerView
354 mAmOrPm = AM;
472 // 0 is 12 AM (midnight) and 12 is 12 PM (noon).
473 final int amOrPm = (hour == 0 || (hour % 24) < 12) ? AM : PM;
567 * Sets whether the picker is showing AM or PM hours. Has no effect when
570 * @param amOrPm {@link #AM} or {@link #PM}
1255 if (amOrPm == AM) {
/frameworks/compile/slang/
H A Dslang_rs_reflection.cpp2688 const char *RSReflectionJava::AccessModifierStr(AccessModifier AM) { argument
2689 switch (AM) {
2708 bool RSReflectionJava::startClass(AccessModifier AM, bool IsStatic, argument
2743 mOut << AccessModifierStr(AM) << ((IsStatic) ? " static" : "") << " class "
2768 void RSReflectionJava::startFunction(AccessModifier AM, bool IsStatic, argument
2784 startFunction(AM, IsStatic, ReturnType, FunctionName, Args);
2787 void RSReflectionJava::startFunction(AccessModifier AM, bool IsStatic, argument
2791 mOut.indent() << AccessModifierStr(AM) << ((IsStatic) ? " static " : " ")

Completed in 98 milliseconds