Lines Matching refs:day

1252         for (int day = 0; day < mNumDays; day++) {  in remeasure()
1253 mEarliestStartHour[day] = 25; // some big number in remeasure()
1254 mHasAllDayEvent[day] = false; in remeasure()
2129 for (int day = firstDay; day <= lastDay; day++) { in computeEventRelations()
2130 final int count = ++eventsCount[day - mFirstJulianDay]; in computeEventRelations()
2145 for (int day = daynum; durationDays > 0; day++, durationDays--) { in computeEventRelations()
2146 mHasAllDayEvent[day] = true; in computeEventRelations()
2297 private int computeDayLeftPosition(int day) { in computeDayLeftPosition() argument
2299 return day * effectiveWidth / mNumDays + mHoursWidth; in computeDayLeftPosition()
2384 for (int day = 0; day < mNumDays; day++, cell++) { in drawDayHeaderLoop()
2385 int dayOfWeek = day + mFirstVisibleDayOfWeek; in drawDayHeaderLoop()
2398 final int column = day % 7; in drawDayHeaderLoop()
2407 drawDayHeader(dayNames[dayOfWeek], day, cell, canvas, p); in drawDayHeaderLoop()
2434 private void drawCurrentTimeLine(Rect r, final int day, final int top, Canvas canvas, in drawCurrentTimeLine() argument
2436 r.left = computeDayLeftPosition(day) - CURRENT_TIME_LINE_SIDE_BUFFER + 1; in drawCurrentTimeLine()
2437 r.right = computeDayLeftPosition(day + 1) + CURRENT_TIME_LINE_SIDE_BUFFER + 1; in drawCurrentTimeLine()
2466 for (int day = 0; day < mNumDays; day++, cell++) { in doDraw()
2469 drawEvents(cell, day, HOUR_GAP, canvas, p); in doDraw()
2477 drawCurrentTimeLine(r, day, lineY, canvas, p); in doDraw()
2551 private void drawDayHeader(String dayStr, int day, int cell, Canvas canvas, Paint p) { in drawDayHeader() argument
2552 int dateNum = mFirstVisibleDate + day; in drawDayHeader()
2566 x = computeDayLeftPosition(day + 1) - DAY_HEADER_RIGHT_MARGIN; in drawDayHeader()
2570 p.setTypeface(todayIndex == day ? mBold : Typeface.DEFAULT); in drawDayHeader()
2584 x = computeDayLeftPosition(day) + DAY_HEADER_ONE_DAY_LEFT_MARGIN; in drawDayHeader()
2592 p.setTypeface(todayIndex == day ? mBold : Typeface.DEFAULT); in drawDayHeader()
2628 for (int day = 0; day <= mNumDays; day++) { in drawGridBackground()
2629 x = computeDayLeftPosition(day); in drawGridBackground()
2877 for (int day = 0; day <= mNumDays; day++) { in drawAllDayEvents()
2878 x = computeDayLeftPosition(day); in drawAllDayEvents()
3011 protected void drawMoreAlldayEvents(Canvas canvas, int remainingEvents, int day, Paint p) { in drawMoreAlldayEvents() argument
3012 int x = computeDayLeftPosition(day) + EVENT_ALL_DAY_TEXT_LEFT_MARGIN; in drawMoreAlldayEvents()
4569 int day = (x - mHoursWidth) / (mCellWidth + DAY_GAP); in setSelectionFromPosition() local
4570 if (day >= mNumDays) { in setSelectionFromPosition()
4571 day = mNumDays - 1; in setSelectionFromPosition()
4573 day += mFirstJulianDay; in setSelectionFromPosition()
4574 setSelectedDay(day); in setSelectionFromPosition()