/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 129 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 …]
|
D | EventGeometry.java | 55 int endDay = event.endDay; in computeEventRect() local 57 if (startDay > date || endDay < date) { in computeEventRect() 72 if (endDay > date) { in computeEventRect()
|
D | Utils.java | 895 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 …]
|
D | DayView.java | 1851 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/ |
D | MonthByWeekAdapter.java | 159 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/ |
D | CalendarAppWidgetModel.java | 291 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/ |
D | UtilsTests.java | 214 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/ |
D | CalendarInstancesHelper.java | 896 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()
|
D | MetaData.java | 170 public void write(String timezone, long begin, long end, int startDay, int endDay) { in write() argument
|
D | CalendarProvider2.java | 1119 int endDay; in queryInternal() local 1127 endDay = Integer.parseInt(uri.getPathSegments().get(3)); in queryInternal() 1133 return handleEventDayQuery(qb, startDay, endDay, projection, selection, in queryInternal()
|