Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSimpleMonthView.java62 private static final int DAYS_IN_WEEK = 7; field in SimpleMonthView
197 for (int i = 0; i < DAYS_IN_WEEK; i++) { in updateDayOfWeekLabels()
198 mDayOfWeekLabels[i] = tinyWeekdayNames[(mWeekStart + i - 1) % DAYS_IN_WEEK + 1]; in updateDayOfWeekLabels()
486 mHighlightedDay = row == 0 ? 1 : (row * DAYS_IN_WEEK) - offset + 1; in onFocusChanged()
491 mHighlightedDay = Math.min(mDaysInMonth, (row * DAYS_IN_WEEK) - offset); in onFocusChanged()
497 mHighlightedDay = day < 1 ? day + DAYS_IN_WEEK : day; in onFocusChanged()
502 final int maxWeeks = (offset + mDaysInMonth) / DAYS_IN_WEEK; in onFocusChanged()
503 final int day = col - offset + (DAYS_IN_WEEK * maxWeeks) + 1; in onFocusChanged()
504 mHighlightedDay = day > mDaysInMonth ? day - DAYS_IN_WEEK : day; in onFocusChanged()
534 final int maxRows = (maxDay / DAYS_IN_WEEK) - ((maxDay % DAYS_IN_WEEK == 0) ? 1 : 0); in findClosestRow()
[all …]