/packages/apps/Calendar/src/com/android/calendar/ |
D | EventLoader.java | 63 public int startDay; field in EventLoader.LoadEventDaysRequest 75 public LoadEventDaysRequest(int startDay, int numDays, boolean[] eventDays, in LoadEventDaysRequest() argument 78 this.startDay = startDay; in LoadEventDaysRequest() 94 Cursor cursor = EventDays.query(cr, startDay, numDays, PROJECTION); in processRequest() 104 int firstIndex = Math.max(firstDay - startDay, 0); in processRequest() 105 int lastIndex = Math.min(lastDay - startDay, 30); in processRequest() 127 public int startDay; field in EventLoader.LoadEventsRequest 133 public LoadEventsRequest(int id, int startDay, int numDays, ArrayList<Event> events, in LoadEventsRequest() argument 136 this.startDay = startDay; in LoadEventsRequest() 144 Event.loadEvents(eventLoader.mContext, events, startDay, in processRequest() [all …]
|
D | Event.java | 128 public int startDay; // start Julian day field in Event 165 e.startDay = startDay; in clone() 186 dest.startDay = startDay; in copyTo() 207 e.startDay = 0; in newInstance() 223 public static void loadEvents(Context context, ArrayList<Event> events, int startDay, int days, in loadEvents() argument 235 int endDay = startDay + days - 1; in loadEvents() 261 cEvents = instancesQuery(context.getContentResolver(), EVENT_PROJECTION, startDay, in loadEvents() 263 cAllday = instancesQuery(context.getContentResolver(), EVENT_PROJECTION, startDay, in loadEvents() 272 buildEventsFromCursor(events, cEvents, context, startDay, endDay); in loadEvents() 273 buildEventsFromCursor(events, cAllday, context, startDay, endDay); in loadEvents() [all …]
|
D | Utils.java | 587 int startDay; in getFirstDayOfWeek() local 589 startDay = Calendar.getInstance().getFirstDayOfWeek(); in getFirstDayOfWeek() 591 startDay = Integer.parseInt(pref); in getFirstDayOfWeek() 594 if (startDay == Calendar.SATURDAY) { in getFirstDayOfWeek() 596 } else if (startDay == Calendar.MONDAY) { in getFirstDayOfWeek() 895 if (currEvent.endDay < firstJulianDay || currEvent.startDay > lastJulianDay) { in createDNAStrands() 904 if (event.startDay < firstJulianDay) { in createDNAStrands() 905 event.startDay = firstJulianDay; in createDNAStrands() 926 if (event.startDay == event.endDay && in createDNAStrands() 954 int startMinute = (event.startDay - firstJulianDay) * DAY_IN_MINUTES + event.startTime; in createDNAStrands() [all …]
|
D | EventGeometry.java | 54 int startDay = event.startDay; in computeEventRect() local 57 if (startDay > date || endDay < date) { in computeEventRect() 66 if (startDay < date) { in computeEventRect()
|
D | DayView.java | 1851 if (event.startDay > mLastJulianDay || event.endDay < mFirstJulianDay) { in computeEventRelations() 1856 final int firstDay = Math.max(event.startDay, mFirstJulianDay); in computeEventRelations() 1865 int daynum = event.startDay - mFirstJulianDay; in computeEventRelations() 1866 int durationDays = event.endDay - event.startDay + 1; in computeEventRelations() 1878 int daynum = event.startDay - mFirstJulianDay; in computeEventRelations() 2550 int startDay = event.startDay; in drawAllDayEvents() local 2552 if (startDay > lastDay || endDay < firstDay) { in drawAllDayEvents() 2555 if (startDay < firstDay) { in drawAllDayEvents() 2556 startDay = firstDay; in drawAllDayEvents() 2561 int startIndex = startDay - firstDay; in drawAllDayEvents() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekAdapter.java | 158 int startDay = event.startDay - mFirstJulianDay; in setEvents() local 160 if (startDay < numDays || endDay >= 0) { in setEvents() 161 if (startDay < 0) { in setEvents() 162 startDay = 0; in setEvents() 164 if (startDay > numDays) { in setEvents() 173 for (int j = startDay; j < endDay; j++) { in setEvents()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetModel.java | 290 final int startDay = cursor.getInt(CalendarAppWidgetService.INDEX_START_DAY); in buildFromCursor() local 314 mEventInfos.add(populateEventInfo(eventId, allDay, start, end, startDay, endDay, title, in buildFromCursor() 317 int from = Math.max(startDay, mTodayJulianDay); 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/Dialer/java/com/android/contacts/common/util/ |
D | DateUtils.java | 35 int startDay = Time.getJulianDay(date1, time.gmtoff); in getDayDifference() local 40 return Math.abs(currentDay - startDay); in getDayDifference()
|
/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 219 e.startDay = startDay; in buildTestEvent() 221 e.startMillis = e.startDay * 1000L * 3600L * 24L + e.startTime * 60L * 1000L; in buildTestEvent()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 892 int startDay = Time.getJulianDay(begin, local.getGmtOffset()); in computeTimezoneDependentFields() local 903 if (endMinute == 0 && endDay > startDay) { in computeTimezoneDependentFields() 908 values.put(Instances.START_DAY, startDay); 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 | 1136 int startDay; in queryInternal() local 1139 startDay = Integer.parseInt(uri.getPathSegments().get(2)); in queryInternal() 1151 return handleEventDayQuery(qb, startDay, endDay, projection, selection, in queryInternal()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | SectionParser.java | 1143 int startDay = in parseDVBEIT() local 1158 calendar.set(startYear, startMonth, startDay, startHour, startMinute, startSecond); in parseDVBEIT()
|
/packages/modules/RuntimeI18n/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 6752 Landroid/icu/util/SimpleTimeZone;->startDay:I
|