Lines Matching refs:todayIndex
2321 int todayIndex = mTodayJulianDay - mFirstJulianDay; in drawAllDayHighlights() local
2322 if (todayIndex < 0) { in drawAllDayHighlights()
2325 } else if (todayIndex >= 1 && todayIndex + 1 < mNumDays) { in drawAllDayHighlights()
2327 startIndex = todayIndex + 1; in drawAllDayHighlights()
2559 int todayIndex = mTodayJulianDay - mFirstJulianDay; in drawDayHeader() local
2570 p.setTypeface(todayIndex == day ? mBold : Typeface.DEFAULT); in drawDayHeader()
2592 p.setTypeface(todayIndex == day ? mBold : Typeface.DEFAULT); in drawDayHeader()
2648 int todayIndex = mTodayJulianDay - mFirstJulianDay; in drawBgColors() local
2660 if (mNumDays == 1 && todayIndex == 0) { in drawBgColors()
2673 } else if (todayIndex >= 0 && todayIndex < mNumDays) { in drawBgColors()
2679 r.left = computeDayLeftPosition(todayIndex) + 1; in drawBgColors()
2680 r.right = computeDayLeftPosition(todayIndex + 1); in drawBgColors()
2688 if (todayIndex + 1 < mNumDays) { in drawBgColors()
2689 r.left = computeDayLeftPosition(todayIndex + 1) + 1; in drawBgColors()
2696 } else if (todayIndex < 0) { in drawBgColors()