Searched defs:AM (Results 1 - 7 of 7) 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 DTextInputTimePickerView.java31 * View to show text input based time picker with hour and minute fields and an optional AM/PM
41 private static final int AM = 0; field in class:TextInputTimePickerView
125 mListener.onValueChanged(AMPM, AM);
184 if (amOrPm == AM) {
H A DTimePickerClockDelegate.java82 private static final int AM = 0; field in class:TimePickerClockDelegate
116 // The portrait layout puts AM/PM at the right by default.
118 // The landscape layouts put AM/PM at the bottom by default.
166 // Set up AM/PM labels.
431 mCurrentHour < 12 ? AM : PM, mIs24Hour, mHourFormatStartsAtZero);
443 // Find the location of AM/PM based on locale information.
447 updateAmPmLabelStates(mCurrentHour < 12 ? AM : PM);
456 // Horizontal mode, with AM/PM appearing to left/right of hours and minutes.
464 // AM/PM is already at the correct location. No change needed.
478 // Vertical mode, with AM/P
[all...]
H A DRadialTimePickerView.java78 private static final int AM = 0; field in class:RadialTimePickerView
379 mAmOrPm = AM;
497 // 0 is 12 AM (midnight) and 12 is 12 PM (noon).
498 final int amOrPm = (hour == 0 || (hour % 24) < 12) ? AM : PM;
592 * Sets whether the picker is showing AM or PM hours. Has no effect when
595 * @param amOrPm {@link #AM} or {@link #PM}
1292 if (amOrPm == AM) {
/frameworks/compile/slang/
H A Dslang_rs_reflection.cpp2972 const char *RSReflectionJava::AccessModifierStr(AccessModifier AM) { argument
2973 switch (AM) {
2992 bool RSReflectionJava::startClass(AccessModifier AM, bool IsStatic, argument
3038 mOut << AccessModifierStr(AM) << ((IsStatic) ? " static" : "") << " class "
3063 void RSReflectionJava::startFunction(AccessModifier AM, bool IsStatic, argument
3079 startFunction(AM, IsStatic, ReturnType, FunctionName, Args);
3082 void RSReflectionJava::startFunction(AccessModifier AM, bool IsStatic, argument
3086 mOut.indent() << AccessModifierStr(AM) << ((IsStatic) ? " static " : " ")

Completed in 190 milliseconds