Searched refs:dayStart (Results 1 – 2 of 2) sorted by relevance
369 int dayStart = mShowWeekNum ? (mWidth - mPadding * 2) / mNumCells + mPadding : mPadding; in getDayFromLocation() local370 if (x < dayStart || x > mWidth - mPadding) { in getDayFromLocation()374 int dayPosition = (int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding)); in getDayFromLocation()
1022 int dayStart = mShowWeekNum ? SPACING_WEEK_NUMBER + mPadding : mPadding; in getDayIndexFromLocation() local1023 if (x < dayStart || x > mWidth - mPadding) { in getDayIndexFromLocation()1027 return ((int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding))); in getDayIndexFromLocation()1075 int dayStart = SPACING_WEEK_NUMBER + mPadding; in onHoverEvent() local1076 int dayPosition = (int) ((event.getX() - dayStart) * mNumDays / (mWidth in onHoverEvent()1077 - dayStart - mPadding)); in onHoverEvent()