Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DEvent.java129 public int endDay; // end Julian day field in Event
166 e.endDay = endDay; in clone()
187 dest.endDay = endDay; in copyTo()
208 e.endDay = 0; in newInstance()
235 int endDay = startDay + days - 1; in loadEvents() local
262 endDay, where, null, SORT_EVENTS_BY); in loadEvents()
264 endDay, whereAllday, null, SORT_ALLDAY_BY); in loadEvents()
272 buildEventsFromCursor(events, cEvents, context, startDay, endDay); in loadEvents()
273 buildEventsFromCursor(events, cAllday, context, startDay, endDay); in loadEvents()
308 int startDay, int endDay, String selection, String[] selectionArgs, String orderBy) { in instancesQuery() argument
[all …]
DEventGeometry.java55 int endDay = event.endDay; in computeEventRect() local
57 if (startDay > date || endDay < date) { in computeEventRect()
72 if (endDay > date) { in computeEventRect()
DUtils.java895 if (currEvent.endDay < firstJulianDay || currEvent.startDay > lastJulianDay) { in createDNAStrands()
913 if (event.endDay > lastJulianDay) { in createDNAStrands()
914 event.endDay = lastJulianDay; in createDNAStrands()
926 if (event.startDay == event.endDay && in createDNAStrands()
955 int endMinute = Math.max((event.endDay - firstJulianDay) * DAY_IN_MINUTES in createDNAStrands()
1074 int end = Math.min(event.endDay - firstJulianDay, numDays - 1); in addAllDayToStrands()
1154 if (event.startDay > event.endDay) { in addNewSegment()
1158 if (event.startDay != event.endDay) { in addNewSegment()
1164 lhs.endDay = lhs.startDay; in addNewSegment()
1167 while (lhs.startDay != event.endDay) { in addNewSegment()
[all …]
DDayView.java1851 if (event.startDay > mLastJulianDay || event.endDay < mFirstJulianDay) { in computeEventRelations()
1857 final int lastDay = Math.min(event.endDay, mLastJulianDay); in computeEventRelations()
1866 int durationDays = event.endDay - event.startDay + 1; in computeEventRelations()
1886 daynum = event.endDay - mFirstJulianDay; in computeEventRelations()
2551 int endDay = event.endDay; in drawAllDayEvents() local
2552 if (startDay > lastDay || endDay < firstDay) { in drawAllDayEvents()
2558 if (endDay > lastDay) { in drawAllDayEvents()
2559 endDay = lastDay; in drawAllDayEvents()
2562 int endIndex = endDay - firstDay; in drawAllDayEvents()
2600 if (startDay <= mSelectionDay && endDay >= mSelectionDay) { in drawAllDayEvents()
[all …]
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java159 int endDay = event.endDay - mFirstJulianDay + 1; in setEvents() local
160 if (startDay < numDays || endDay >= 0) { in setEvents()
167 if (endDay < 0) { in setEvents()
170 if (endDay > numDays) { in setEvents()
171 endDay = numDays; in setEvents()
173 for (int j = startDay; j < endDay; j++) { in setEvents()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java291 final int endDay = cursor.getInt(CalendarAppWidgetService.INDEX_END_DAY); in buildFromCursor() local
314 mEventInfos.add(populateEventInfo(eventId, allDay, start, end, startDay, endDay, title, in buildFromCursor()
318 int to = Math.min(endDay, mMaxJulianDay); in buildFromCursor()
355 int startDay, int endDay, String title, String location, int color, int selfStatus) { in populateEventInfo() argument
371 if (endDay > startDay) { in populateEventInfo()
/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java214 Event buildTestEvent(int startTime, int endTime, boolean allDay, int startDay, int endDay) { in buildTestEvent() argument
220 e.endDay = endDay; in buildTestEvent()
222 e.endMillis = e.endDay * 1000L * 3600L * 24L + e.endTime * 60L * 1000L; in buildTestEvent()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java896 int endDay = Time.getJulianDay(end, local.gmtoff); in computeTimezoneDependentFields() local
903 if (endMinute == 0 && endDay > startDay) { in computeTimezoneDependentFields()
905 endDay -= 1; in computeTimezoneDependentFields()
909 values.put(Instances.END_DAY, endDay); in computeTimezoneDependentFields()
DMetaData.java170 public void write(String timezone, long begin, long end, int startDay, int endDay) { in write() argument
DCalendarProvider2.java1117 int endDay; in queryInternal() local
1125 endDay = Integer.parseInt(uri.getPathSegments().get(3)); in queryInternal()
1131 return handleEventDayQuery(qb, startDay, endDay, projection, selection, in queryInternal()