Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DCalendarViewLegacyDelegate.java154 private int mDaysPerWeek = 7; field in CalendarViewLegacyDelegate
719 mDayNamesShort = new String[mDaysPerWeek]; in setUpHeader()
720 mDayNamesLong = new String[mDaysPerWeek]; in setUpHeader()
721 for (int i = mFirstDayOfWeek, count = mFirstDayOfWeek + mDaysPerWeek; i < count; i++) { in setUpHeader()
740 if (i < mDaysPerWeek + 1) { in setUpHeader()
1241 mNumCells = mShowWeekNumber ? mDaysPerWeek + 1 : mDaysPerWeek; in init()
1361 int dayPosition = (int) ((x - start) * mDaysPerWeek / (end - start)); in getDayFromLocation()
1364 dayPosition = mDaysPerWeek - 1 - dayPosition; in getDayFromLocation()
1376 for (int i = 0; i < mDaysPerWeek; i++) { in getBoundsForDate()
1559 mSelectedLeft = (mDaysPerWeek - 1 - selectedPosition) * mWidth / mNumCells; in updateSelectionPositions()