Searched defs:allDay (Results 1 - 19 of 19) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertAdapter.java77 boolean allDay = cursor.getInt(AlertActivity.INDEX_ALL_DAY) != 0;
79 updateView(context, view, eventName, location, startMillis, endMillis, allDay);
83 long startMillis, long endMillis, boolean allDay) {
116 if (allDay) {
132 if (!allDay && tz != Time.getCurrentTimezone()) {
82 updateView(Context context, View view, String eventName, String location, long startMillis, long endMillis, boolean allDay) argument
H A DAlertUtils.java154 static String formatTimeLocation(Context context, long startMillis, boolean allDay, argument
161 int eventDay = Time.getJulianDay(time.toMillis(false), allDay ? 0 : time.gmtoff);
164 if (!allDay) {
180 if (!allDay && tz != Time.getCurrentTimezone()) {
H A DAlertService.java343 info.allDay, info.location);
362 info.allDay, info.location);
379 info.allDay, info.location);
516 if (info.allDay) {
527 getGracePeriodMs(startAdjustedForAllDay, endAdjustedForAllDay, info.allDay);
654 final boolean allDay = alertCursor.getInt(ALERT_INDEX_ALL_DAY) != 0;
682 .append(" allDay:").append(allDay)
755 description, beginTime, endTime, eventId, allDay, newAlert);
761 if (allDay) {
839 getGracePeriodMs(long beginTime, long endTime, boolean allDay) argument
914 boolean allDay; field in class:AlertService.NotificationInfo
917 NotificationInfo(String eventName, String location, String description, long startMillis, long endMillis, long eventId, boolean allDay, boolean newAlert) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetProvider.java207 boolean allDay) {
226 fillInIntent.putExtra(EXTRA_EVENT_ALL_DAY, allDay);
206 getLaunchFillInIntent(Context context, long id, long start, long end, boolean allDay) argument
H A DCalendarAppWidgetModel.java87 boolean allDay; field in class:CalendarAppWidgetModel.EventInfo
125 result = prime * result + (allDay ? 1231 : 1237);
151 if (allDay != other.allDay)
282 final boolean allDay = cursor.getInt(CalendarAppWidgetService.INDEX_ALL_DAY) != 0;
297 if (allDay) {
303 Log.d(TAG, "Row #" + rowId + " allDay:" + allDay + " start:" + start
314 mEventInfos.add(populateEventInfo(eventId, allDay, start, end, startDay, endDay, title,
322 if (allDay) {
354 populateEventInfo(long eventId, boolean allDay, long start, long end, int startDay, int endDay, String title, String location, int color, int selfStatus) argument
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
H A DCalendarAppWidgetServiceTest.java105 // allDay, begin, end, title, location, eventId
176 private Object[] getRow(int allDay, long begin, long end, String title, String location, argument
179 row[CalendarAppWidgetService.INDEX_ALL_DAY] = new Integer(allDay);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DCalendarInteractionUtils.java30 String localTimezone, boolean allDay, Context context) {
42 if (allDay) {
29 getDisplayedDatetime(long startMillis, long endMillis, long currentMillis, String localTimezone, boolean allDay, Context context) argument
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaAdapter.java78 boolean allDay; field in class:AgendaAdapter.ViewHolder
132 boolean allDay = cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0;
133 holder.allDay = allDay;
153 if (allDay) {
200 if (allDay) {
211 if (!allDay && !TextUtils.equals(tzString, eventTz)) {
H A DAgendaByDayAdapter.java263 boolean allDay = holder.allDay;
271 if ((!allDay && row.mEventStartTimeMilli <= System.currentTimeMillis()) ||
272 (allDay && row.mDay <= mTodayJulianDay)) {
315 boolean allDay = cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0;
316 if (allDay) {
385 endTime, instanceId, allDay));
389 nextMidnight, instanceId, allDay));
393 instanceId, allDay));
451 long instanceId, boolean allDay) {
450 RowInfo(int type, int julianDay, int position, long id, long startTime, long endTime, long instanceId, boolean allDay) argument
485 MultipleDayInfo(int position, int endDay, long id, long startTime, long endTime, long instanceId, boolean allDay) argument
[all...]
H A DAgendaFragment.java334 showEventInfo(event, vh != null ? vh.allDay : false, mForceReplace);
386 private void showEventInfo(EventInfo event, boolean allDay, boolean replaceFragment) { argument
403 mOnAttachAllDay = allDay;
408 if (allDay) {
417 Log.d(TAG, "showEventInfo: all day: " + allDay);
H A DAgendaWindowAdapter.java306 boolean allDay; field in class:AgendaWindowAdapter.AgendaItem
635 agendaItem.allDay = cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0;
636 if (agendaItem.allDay) { // UTC to Local time conversion
652 if (agendaItem.allDay) {
667 if (item.allDay) {
682 item.allDay), selectedTime);
722 mSelectedVH.allDay = item.allDay;
1070 mSelectedVH.allDay =
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DAlarmSchedulerTest.java65 public EventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { argument
67 mAllDay = allDay;
78 void addEventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { argument
79 mEvents.add(new EventInfo(eventId, allDay, begin, reminderMinutes));
H A DAlertServiceTest.java202 public Alert(long eventId, int alertStatus, int responseStatus, int allDay, long begin, argument
207 mAllDay = allDay;
220 int addAlertRow(long eventId, int alertStatus, int responseStatus, int allDay, long begin, argument
222 Alert a = new Alert(eventId, alertStatus, responseStatus, allDay, begin, end,
639 /* today allDay */
749 assertTrue(highPriority.get(0).allDay);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarSyncTestingBase.java234 boolean allDay) {
235 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE);
239 boolean allDay) {
246 mAllDay = allDay;
250 boolean allDay, String description) {
257 mAllDay = allDay;
263 boolean allDay, String timezone) {
264 init(title, startDate, endDate, allDay, timezone);
268 boolean allDay, String timezone) {
271 if (allDay) {
233 EventInfo(String title, String startDate, String endDate, boolean allDay) argument
238 EventInfo(String title, long startDate, long endDate, boolean allDay) argument
249 EventInfo(String title, long startDate, long endDate, boolean allDay, String description) argument
262 EventInfo(String title, String startDate, String endDate, boolean allDay, String timezone) argument
267 init(String title, String startDate, String endDate, boolean allDay, String timezone) argument
287 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay) argument
293 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument
298 init(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument
330 EventInfo(String originalTitle, String originalInstance, String title, String description, String startDate, String endDate, boolean allDay) argument
336 init(String originalTitle, String originalInstance, String title, String description, String startDate, String endDate, boolean allDay, String timezone) argument
[all...]
H A DCalendarProvider2Test.java412 boolean allDay = cursor.getInt(allDayColumn) != 0;
415 if (allDay) {
441 boolean allDay; field in class:CalendarProvider2Test.VerifyInstance
462 allDay = time.allDay;
480 if (allDay) {
517 boolean allDay) {
518 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE);
523 boolean allDay, String timezone) {
524 init(title, startDate, endDate, allDay, timezon
516 EventInfo(String title, String startDate, String endDate, boolean allDay) argument
522 EventInfo(String title, String startDate, String endDate, boolean allDay, String timezone) argument
527 init(String title, String startDate, String endDate, boolean allDay, String timezone) argument
550 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay) argument
556 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument
561 init(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument
593 EventInfo(String originalTitle, String originalInstance, String title, String description, String startDate, String endDate, boolean allDay, String customPackageName, String customPackageUri, String mUid2445) argument
601 init(String originalTitle, String originalInstance, String title, String description, String startDate, String endDate, boolean allDay, String timezone, String customPackageName, String customPackageUri, String uid2445) argument
2826 checkEvent(int eventId, String title, long dtStart, long dtEnd, boolean allDay) argument
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DUtilsTests.java235 Event buildTestEvent(int startTime, int endTime, boolean allDay, int startDay, int endDay) { argument
239 e.allDay = allDay;
/packages/apps/Calendar/src/com/android/calendar/
H A DEvent.java124 public boolean allDay; field in class:Event
164 e.allDay = allDay;
185 dest.allDay = allDay;
206 e.allDay = false;
379 e.allDay = cEvents.getInt(PROJECTION_ALL_DAY_INDEX) != 0;
545 Log.e("Cal", "+ allDay = " + allDay);
640 return allDay || endMilli
[all...]
H A DCalendarController.java226 public static long buildViewExtraLong(int response, boolean allDay) { argument
227 long extra = allDay ? ALL_DAY_MASK : 0;
320 // TODO: pass the real allDay status or at least a status that says we don't know the
323 // so currently the missing allDay status has no effect.
H A DUtils.java1141 // This figures out allDay colors as allDay events are found
1145 // if we haven't initialized the allDay portion create it now
1405 String localTimezone, boolean allDay, Context context) {
1417 if (allDay) {
1404 getDisplayedDatetime(long startMillis, long endMillis, long currentMillis, String localTimezone, boolean allDay, Context context) argument

Completed in 252 milliseconds