Home | History | Annotate | Download | only in widget

Lines Matching refs:AM

78     private static final int AM = 0;
427 mPaintAmPmCircle[AM] = new Paint();
428 mPaintAmPmCircle[AM].setAntiAlias(true);
446 mAmOrPm = AM;
531 // 0 is 12 AM (midnight) and 12 is 12 PM (noon).
532 mAmOrPm = (hour == 0 || (hour % 24) < 12) ? AM : PM;
590 mAmOrPm = (mAmOrPm == AM) ? PM : AM;
626 mAmPmText[AM] = amPmStrings[0];
714 // We'll need to draw the AM/PM circles, so the main circle will need to have
716 // have to push it up by half the radius of the AM/PM circles.
745 // Line up the vertical center of the AM/PM circles with the bottom of the main circle.
748 // Line up the horizontal edges of the AM/PM circles with the horizontal edges
814 if (mAmOrPm == AM) {
821 if (mAmOrPmPressed == AM) {
830 mPaintAmPmCircle[AM].setColor(amColor);
831 mPaintAmPmCircle[AM].setAlpha(getMultipliedAlpha(amColor, amAlpha));
833 mAmPmYCenter, mAmPmCircleRadius, mPaintAmPmCircle[AM]);
840 // Draw the AM/PM texts on top
845 canvas.drawText(isLayoutRtl ? mAmPmText[PM] : mAmPmText[AM], mLeftIndicatorXCenter,
847 canvas.drawText(isLayoutRtl ? mAmPmText[AM] : mAmPmText[PM], mRightIndicatorXCenter,
1269 return (isLayoutRtl ? PM : AM);
1275 return (isLayoutRtl ? AM : PM);