Lines Matching refs:day
116 // events being drawn on each day. The code will expand this if necessary.
255 // divided up by day for generating the large month version and the full
290 for (int day = 0; day < numDays; day++) {
291 mDayXs[day] = computeDayLeftPosition(day) + DNA_WIDTH / 2 + DNA_SIDE_PADDING;
574 // Computes the x position for the left side of the given day
575 private int computeDayLeftPosition(int day) {
583 x = day * effectiveWidth / mNumDays + xOffset;
659 // Draw the "clicked" color on the tapped day
725 int day = -1;
727 day++;
732 int xSquare = computeDayLeftPosition(day) + SIDE_PADDING_MONTH_NUMBER + 1;
733 int rightEdge = computeDayLeftPosition(day + 1);
816 * @param showTimes if set, a second line with a time range will be displayed for non-all-day
828 * b. Event title: mEventHeight for a normal event, + 2xBORDER_SPACE for all-day event
845 // Add a few pixels for the box we draw around all-day events.
963 * Draws a line showing busy times in each day of week The method draws
1026 // Selection is (x - start) / (pixels/day) == (x -s) * day / pixels
1036 int day = mFirstJulianDay + dayPosition;
1041 if (day < Time.EPOCH_JULIAN_DAY) {
1042 day++;
1043 } else if (day == Time.EPOCH_JULIAN_DAY) {
1050 time.setJulianDay(day);