Home
last modified time | relevance | path

Searched refs:endDay (Results 1 – 13 of 13) 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.java972 if (currEvent.endDay < firstJulianDay || currEvent.startDay > lastJulianDay) { in createDNAStrands()
990 if (event.endDay > lastJulianDay) { in createDNAStrands()
991 event.endDay = lastJulianDay; in createDNAStrands()
1003 if (event.startDay == event.endDay && in createDNAStrands()
1032 int endMinute = Math.max((event.endDay - firstJulianDay) * DAY_IN_MINUTES in createDNAStrands()
1151 int end = Math.min(event.endDay - firstJulianDay, numDays - 1); in addAllDayToStrands()
1231 if (event.startDay > event.endDay) { in addNewSegment()
1235 if (event.startDay != event.endDay) { in addNewSegment()
1241 lhs.endDay = lhs.startDay; in addNewSegment()
1244 while (lhs.startDay != event.endDay) { in addNewSegment()
[all …]
DDayView.java2122 if (event.startDay > mLastJulianDay || event.endDay < mFirstJulianDay) { in computeEventRelations()
2128 final int lastDay = Math.min(event.endDay, mLastJulianDay); in computeEventRelations()
2137 int durationDays = event.endDay - event.startDay + 1; in computeEventRelations()
2157 daynum = event.endDay - mFirstJulianDay; in computeEventRelations()
2730 event.endDay = julianDay; in getNewEvent()
2920 int endDay = event.endDay; in drawAllDayEvents() local
2921 if (startDay > lastDay || endDay < firstDay) { in drawAllDayEvents()
2927 if (endDay > lastDay) { in drawAllDayEvents()
2928 endDay = lastDay; in drawAllDayEvents()
2931 int endIndex = endDay - firstDay; in drawAllDayEvents()
[all …]
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java160 int endDay = event.endDay - mFirstJulianDay + 1; in setEvents() local
161 if (startDay < numDays || endDay >= 0) { in setEvents()
168 if (endDay < 0) { in setEvents()
171 if (endDay > numDays) { in setEvents()
172 endDay = numDays; in setEvents()
174 for (int j = startDay; j < endDay; j++) { in setEvents()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java378 int endDay = cursor.getInt(AgendaWindowAdapter.INDEX_END_DAY); in calculateDays() local
381 endDay = Math.min(endDay, dayAdapterInfo.end); in calculateDays()
382 if (endDay > startDay) { in calculateDays()
384 multipleDayList.add(new MultipleDayInfo(position, endDay, id, nextMidnight, in calculateDays()
485 MultipleDayInfo(int position, int endDay, long id, long startTime, long endTime, in MultipleDayInfo() argument
488 mEndDay = endDay; in MultipleDayInfo()
DAgendaWindowAdapter.java740 int endDay = startDay + MIN_QUERY_DURATION; in refresh() local
744 queueQuery(startDay, endDay, goToTime, searchQuery, QUERY_TYPE_CLEAN, id); in refresh()
/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.java235 Event buildTestEvent(int startTime, int endTime, boolean allDay, int startDay, int endDay) { in buildTestEvent() argument
241 e.endDay = endDay; in buildTestEvent()
243 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.java934 int endDay; in queryInternal() local
942 endDay = Integer.parseInt(uri.getPathSegments().get(3)); in queryInternal()
948 return handleEventDayQuery(qb, startDay, endDay, projection, selection, in queryInternal()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DCalendarInteractionUtils.java138 int endDay = Time.getJulianDay(endMillis - 1, localGmtOffset); in singleDayEvent() local
139 return startDay == endDay; in singleDayEvent()