Home
last modified time | relevance | path

Searched refs:dayStart (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java369 int dayStart = mShowWeekNum ? (mWidth - mPadding * 2) / mNumCells + mPadding : mPadding; in getDayFromLocation() local
370 if (x < dayStart || x > mWidth - mPadding) { in getDayFromLocation()
374 int dayPosition = (int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding)); in getDayFromLocation()
DMonthWeekEventsView.java1022 int dayStart = mShowWeekNum ? SPACING_WEEK_NUMBER + mPadding : mPadding; in getDayIndexFromLocation() local
1023 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() local
1076 int dayPosition = (int) ((event.getX() - dayStart) * mNumDays / (mWidth in onHoverEvent()
1077 - dayStart - mPadding)); in onHoverEvent()