Lines Matching refs:mNumDays

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