Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DDayView.java536 protected int mNumDays = 7; field in DayView
651 mNumDays = numDays; in DayView()
665 if (mNumDays == 1) { in DayView()
726 DAY_HEADER_HEIGHT = mNumDays == 1 ? ONE_DAY_HEADER_HEIGHT : MULTI_DAY_HEADER_HEIGHT; in DayView()
886 mEarliestStartHour = new int[mNumDays]; in init()
887 mHasAllDayEvent = new boolean[mNumDays]; in init()
894 + (mNumDays + 1); // max vertical lines we might draw in init()
1105 end.monthDay += mNumDays - 1; in updateTitle()
1111 if (mNumDays != 1) { in updateTitle()
1149 mBaseDate.monthDay += mNumDays; in compareToVisibleTimeRange()
[all …]
DDayFragment.java71 private int mNumDays; field in DayFragment
78 mNumDays = numOfDays; in DayFragment()
116 .getInstance(getActivity()), mViewSwitcher, mEventLoader, mNumDays); in makeView()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java150 protected int mNumDays = DEFAULT_NUM_DAYS; field in SimpleWeekView
152 protected int mNumCells = mNumDays;
230 mNumDays = params.get(VIEW_PARAMS_NUM_DAYS); in setWeekParams()
239 mNumCells = mShowWeekNum ? mNumDays + 1 : mNumDays; in setWeekParams()
374 int dayPosition = (int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding)); in getDayFromLocation()
DMonthWeekEventsView.java307 if (sortedEvents.size() != mNumDays) { in setEvents()
310 + sortedEvents.size() + " days=" + mNumDays); in setEvents()
498 mNumCells = mNumDays + 1; in setWeekParams()
526 if (julianToday >= mFirstJulianDay && julianToday < mFirstJulianDay + mNumDays) { in updateToday()
583 x = day * effectiveWidth / mNumDays + xOffset; in computeDayLeftPosition()
682 int numCount = mNumDays; in drawWeekNums()
1014 mSelectedLeft = selectedPosition * effectiveWidth / mNumDays + mPadding; in updateSelectionPositions()
1015 mSelectedRight = (selectedPosition + 1) * effectiveWidth / mNumDays + mPadding; in updateSelectionPositions()
1027 return ((int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding))); in getDayIndexFromLocation()
1076 int dayPosition = (int) ((event.getX() - dayStart) * mNumDays / (mWidth in onHoverEvent()