Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java234 int julianDay = child.getFirstJulianDay(); in onActivityCreated() local
235 mFirstVisibleDay.setJulianDay(julianDay); in onActivityCreated()
237 mTempTime.setJulianDay(julianDay + DAYS_PER_WEEK); in onActivityCreated()
539 int julianDay = child.getFirstJulianDay(); in updateMonthHighlight()
544 julianDay += DAYS_PER_WEEK; in updateMonthHighlight()
546 mTempTime.setJulianDay(julianDay); in updateMonthHighlight()
DSimpleWeeksAdapter.java150 int julianDay = params.get(WEEK_PARAMS_JULIAN_DAY); in updateParams() local
151 mSelectedDay.setJulianDay(julianDay); in updateParams()
152 mSelectedWeek = Utils.getWeeksSinceEpochFromJulianDay(julianDay, mFirstDayOfWeek); in updateParams()
DMonthByWeekFragment.java160 int julianDay = child.getFirstJulianDay(); in updateUri() local
161 mFirstLoadedJulianDay = julianDay; in updateUri()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java203 DayInfo(int julianDay, String label) { in DayInfo() argument
204 mJulianDay = julianDay; in DayInfo()
407 private DayInfo populateDayInfo(int julianDay, Time recycle) { in populateDayInfo() argument
408 long millis = recycle.setJulianDay(julianDay); in populateDayInfo()
412 if (julianDay == mTodayJulianDay + 1) { in populateDayInfo()
419 return new DayInfo(julianDay, label); in populateDayInfo()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java554 public final boolean intersects(int julianDay, int startMinute, in intersects() argument
556 if (endDay < julianDay) { in intersects()
560 if (startDay > julianDay) { in intersects()
564 if (endDay == julianDay) { in intersects()
577 if (startDay == julianDay && startTime > endMinute) { in intersects()
DCalendarViewAdapter.java302 long julianDay = Time.getJulianDay(mMilliTime,t.gmtoff); in buildDayOfWeek() local
306 if (julianDay == mTodayJulianDay) { in buildDayOfWeek()
310 } else if (julianDay == mTodayJulianDay - 1) { in buildDayOfWeek()
314 } else if (julianDay == mTodayJulianDay + 1) { in buildDayOfWeek()
DUtils.java553 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument
559 return (julianDay - refDay) / 7; in getWeeksSinceEpochFromJulianDay()
1267 public static String getDayOfWeekString(int julianDay, int todayJulianDay, long millis, in getDayOfWeekString() argument
1272 if (julianDay == todayJulianDay) { in getDayOfWeekString()
1275 } else if (julianDay == todayJulianDay - 1) { in getDayOfWeekString()
1278 } else if (julianDay == todayJulianDay + 1) { in getDayOfWeekString()
DAllInOneActivity.java892 int julianDay = Time.getJulianDay(visibleMillisSinceEpoch, time.gmtoff); in updateSecondaryTitleFields() local
895 String dayString = Utils.getDayOfWeekString(julianDay, todayJulianDay, in updateSecondaryTitleFields()