Lines Matching refs:mNumDays
541 protected int mNumDays = 7;
661 mNumDays = numDays;
675 if (mNumDays == 1) {
736 DAY_HEADER_HEIGHT = mNumDays == 1 ? ONE_DAY_HEADER_HEIGHT : MULTI_DAY_HEADER_HEIGHT;
903 mEarliestStartHour = new int[mNumDays];
904 mHasAllDayEvent = new boolean[mNumDays];
911 + (mNumDays + 1); // max vertical lines we might draw
1122 end.monthDay += mNumDays - 1;
1128 if (mNumDays != 1) {
1166 mBaseDate.monthDay += mNumDays;
1172 mBaseDate.monthDay -= mNumDays;
1194 if (mNumDays == 7) {
1200 mLastJulianDay = mFirstJulianDay + mNumDays - 1;
1226 mCellWidth = (gridAreaWidth - (mNumDays * DAY_GAP)) / mNumDays;
1252 for (int day = 0; day < mNumDays; day++) {
1351 final int eventAreaWidth = mNumDays * (mCellWidth + DAY_GAP);
1404 if (mNumDays > 1) {
1623 date.monthDay -= mNumDays;
1625 date.monthDay += mNumDays;
1633 end.monthDay += mNumDays - 1;
1846 start.monthDay += mNumDays;
1848 start.monthDay -= mNumDays;
1854 if (mNumDays == 7) {
1860 end.monthDay += mNumDays - 1;
2032 mEventLoader.loadEventsInBackground(mNumDays, events, mFirstJulianDay, new Runnable() {
2142 if (daynum + durationDays > mNumDays) {
2143 durationDays = mNumDays - daynum;
2159 if (daynum < mNumDays && hour < mEarliestStartHour[daynum]) {
2253 drawAllDayEvents(mFirstJulianDay, mNumDays, canvas, p);
2284 final int right = computeDayLeftPosition(mNumDays);
2299 return day * effectiveWidth / mNumDays + mHoursWidth;
2325 } else if (todayIndex >= 1 && todayIndex + 1 < mNumDays) {
2335 r.right = computeDayLeftPosition(mNumDays);
2360 // r.right = mHoursWidth + mNumDays * (mCellWidth + DAY_GAP);
2368 if (mNumDays == 1 && ONE_DAY_HEADER_HEIGHT == 0) {
2384 for (int day = 0; day < mNumDays; day++, cell++) {
2391 if (mNumDays == 1) {
2466 for (int day = 0; day < mNumDays; day++, cell++) {
2508 if (mNumDays > 1) {
2562 if (mNumDays > 1) {
2600 final float stopX = computeDayLeftPosition(mNumDays);
2628 for (int day = 0; day <= mNumDays; day++) {
2660 if (mNumDays == 1 && todayIndex == 0) {
2673 } else if (todayIndex >= 0 && todayIndex < mNumDays) {
2688 if (todayIndex + 1 < mNumDays) {
2690 r.right = computeDayLeftPosition(mNumDays);
2699 r.right = computeDayLeftPosition(mNumDays);
2874 mLines[linesIndex++] = computeDayLeftPosition(mNumDays);
2877 for (int day = 0; day <= mNumDays; day++) {
4148 date.monthDay -= mNumDays;
4149 view.setSelectedDay(mSelectionDay - mNumDays);
4152 date.monthDay += mNumDays;
4153 view.setSelectedDay(mSelectionDay + mNumDays);
4356 if (mNumDays == 1) {
4570 if (day >= mNumDays) {
4571 day = mNumDays - 1;