Lines Matching refs:daynum
1956 int daynum = mSelectionDay - mFirstJulianDay; in adjustHourSelection() local
1957 if (daynum < mEarliestStartHour.length && daynum >= 0 in adjustHourSelection()
1959 && mEarliestStartHour[daynum] > mSelectionHour in adjustHourSelection()
2136 int daynum = event.startDay - mFirstJulianDay; in computeEventRelations() local
2138 if (daynum < 0) { in computeEventRelations()
2139 durationDays += daynum; in computeEventRelations()
2140 daynum = 0; in computeEventRelations()
2142 if (daynum + durationDays > mNumDays) { in computeEventRelations()
2143 durationDays = mNumDays - daynum; in computeEventRelations()
2145 for (int day = daynum; durationDays > 0; day++, durationDays--) { in computeEventRelations()
2149 int daynum = event.startDay - mFirstJulianDay; in computeEventRelations() local
2151 if (daynum >= 0 && hour < mEarliestStartHour[daynum]) { in computeEventRelations()
2152 mEarliestStartHour[daynum] = hour; in computeEventRelations()
2157 daynum = event.endDay - mFirstJulianDay; in computeEventRelations()
2159 if (daynum < mNumDays && hour < mEarliestStartHour[daynum]) { in computeEventRelations()
2160 mEarliestStartHour[daynum] = hour; in computeEventRelations()
2346 int daynum = mSelectionDay - mFirstJulianDay; in drawAllDayHighlights() local
2347 mRect.left = computeDayLeftPosition(daynum) + 1; in drawAllDayHighlights()
2348 mRect.right = computeDayLeftPosition(daynum + 1); in drawAllDayHighlights()
2490 int daynum = mSelectionDay - mFirstJulianDay; in drawSelectedRect() local
2493 r.left = computeDayLeftPosition(daynum) + 1; in drawSelectedRect()
2494 r.right = computeDayLeftPosition(daynum + 1) + 1; in drawSelectedRect()
2764 int daynum = mSelectionDay - mFirstJulianDay; in getCurrentSelectionPosition() local
2765 box.left = computeDayLeftPosition(daynum) + 1; in getCurrentSelectionPosition()
2766 box.right = computeDayLeftPosition(daynum + 1); in getCurrentSelectionPosition()