Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSimpleMonthView.java118 private int mNumCells = mNumDays; field in SimpleMonthView
361 mNumCells = getDaysInMonth(mMonth, mYear); in setMonthParams()
362 for (int i = 0; i < mNumCells; i++) { in setMonthParams()
404 int dividend = (offset + mNumCells) / mNumDays; in calculateNumRows()
405 int remainder = (offset + mNumCells) % mNumDays; in calculateNumRows()
466 for (int day = 1; day <= mNumCells; day++) { in drawDays()
512 if (day < 1 || day > mNumCells) { in getDayFromLocation()
566 (day.get(Calendar.DAY_OF_MONTH) > mNumCells)) { in restoreAccessibilityFocus()
613 for (int day = 1; day <= mNumCells; day++) { in getVisibleVirtualViews()
DCalendarViewLegacyDelegate.java1191 private int mNumCells; field in CalendarViewLegacyDelegate.WeekView
1220 mNumCells = mShowWeekNumber ? mDaysPerWeek + 1 : mDaysPerWeek; in init()
1228 mDayNumbers = new String[mNumCells]; in init()
1229 mFocusDay = new boolean[mNumCells]; in init()
1247 for (; i < mNumCells; i++) { in init()
1328 end = mShowWeekNumber ? mWidth - mWidth / mNumCells : mWidth; in getDayFromLocation()
1330 start = mShowWeekNumber ? mWidth / mNumCells : 0; in getDayFromLocation()
1380 mTempRect.left = mShowWeekNumber ? mWidth / mNumCells : 0; in drawBackground()
1387 mTempRect.right = mShowWeekNumber ? mWidth - mWidth / mNumCells : mWidth; in drawBackground()
1403 final int nDays = mNumCells; in drawWeekNumbersAndDates()
[all …]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthView.java166 protected int mNumCells = mNumDays; field in MonthView
378 mNumCells = Utils.getDaysInMonth(mMonth, mYear); in setMonthParams()
379 for (int i = 0; i < mNumCells; i++) { in setMonthParams()
403 int dividend = (offset + mNumCells) / mNumDays; in calculateNumRows()
404 int remainder = (offset + mNumCells) % mNumDays; in calculateNumRows()
483 for (int dayNumber = 1; dayNumber <= mNumCells; dayNumber++) { in drawMonthNums()
535 if (day < 1 || day > mNumCells) { in getDayFromLocation()
684 if ((day.year != mYear) || (day.month != mMonth) || (day.day > mNumCells)) { in restoreAccessibilityFocus()
731 for (int day = 1; day <= mNumCells; day++) { in getVisibleVirtualViews()