/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetModel.java | 87 boolean allDay; field in CalendarAppWidgetModel.EventInfo 125 result = prime * result + (allDay ? 1231 : 1237); in hashCode() 151 if (allDay != other.allDay) in equals() 282 final boolean allDay = cursor.getInt(CalendarAppWidgetService.INDEX_ALL_DAY) != 0; in buildFromCursor() 297 if (allDay) { in buildFromCursor() 303 Log.d(TAG, "Row #" + rowId + " allDay:" + allDay + " start:" + start in buildFromCursor() 314 mEventInfos.add(populateEventInfo(eventId, allDay, start, end, startDay, endDay, title, in buildFromCursor() 322 if (allDay) { in buildFromCursor() 354 private EventInfo populateEventInfo(long eventId, boolean allDay, long start, long end, in populateEventInfo() argument 363 if (allDay) { in populateEventInfo() [all …]
|
D | CalendarAppWidgetService.java | 242 if (eventInfo.allDay) { 251 if (!eventInfo.allDay && eventInfo.start <= now && now <= eventInfo.end) { 259 if (!eventInfo.allDay) { 268 if (eventInfo.allDay) { 313 if (eventInfo.allDay) { 320 mContext, eventInfo.id, start, end, eventInfo.allDay);
|
D | CalendarAppWidgetProvider.java | 207 boolean allDay) { in getLaunchFillInIntent() argument 226 fillInIntent.putExtra(EXTRA_EVENT_ALL_DAY, allDay); in getLaunchFillInIntent()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaByDayAdapter.java | 263 boolean allDay = holder.allDay; in getView() 271 if ((!allDay && row.mEventStartTimeMilli <= System.currentTimeMillis()) || in getView() 272 (allDay && row.mDay <= mTodayJulianDay)) { in getView() 315 boolean allDay = cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0; in calculateDays() 316 if (allDay) { in calculateDays() 385 endTime, instanceId, allDay)); in calculateDays() 389 nextMidnight, instanceId, allDay)); in calculateDays() 393 instanceId, allDay)); in calculateDays() 451 long instanceId, boolean allDay) { in RowInfo() argument 460 mAllDay = allDay; in RowInfo() [all …]
|
D | AgendaAdapter.java | 78 boolean allDay; field in AgendaAdapter.ViewHolder 132 boolean allDay = cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0; in bindView() 133 holder.allDay = allDay; in bindView() 153 if (allDay) { in bindView() 200 if (allDay) { in bindView() 211 if (!allDay && !TextUtils.equals(tzString, eventTz)) { in bindView()
|
D | AgendaFragment.java | 334 showEventInfo(event, vh != null ? vh.allDay : false, mForceReplace); in goTo() 386 private void showEventInfo(EventInfo event, boolean allDay, boolean replaceFragment) { in showEventInfo() argument 403 mOnAttachAllDay = allDay; in showEventInfo() 408 if (allDay) { in showEventInfo() 417 Log.d(TAG, "showEventInfo: all day: " + allDay); in showEventInfo()
|
D | AgendaListView.java | 154 if (!holder.grayed && ((!holder.allDay && holder.startTimeMilli <= now) || in updatePastEvents() 155 (holder.allDay && holder.julianDay <= todayJulianDay))) { in updatePastEvents() 195 if (item.allDay) { in onItemClick() 203 Attendees.ATTENDEE_STATUS_NONE, item.allDay), holderStartTime); in onItemClick()
|
D | AgendaWindowAdapter.java | 306 boolean allDay; field in AgendaWindowAdapter.AgendaItem 635 agendaItem.allDay = cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0; in buildAgendaItemFromCursor() 636 if (agendaItem.allDay) { // UTC to Local time conversion in buildAgendaItemFromCursor() 652 if (agendaItem.allDay) { in buildAgendaItemFromCursor() 667 if (item.allDay) { in sendViewEvent() 682 item.allDay), selectedTime); in sendViewEvent() 722 mSelectedVH.allDay = item.allDay; in refresh() 1070 mSelectedVH.allDay = in onQueryComplete()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertService.java | 343 info.allDay, info.location); in generateAlerts() 362 info.allDay, info.location); in generateAlerts() 379 info.allDay, info.location); in generateAlerts() 516 if (info.allDay) { in getNextRefreshTime() 527 getGracePeriodMs(startAdjustedForAllDay, endAdjustedForAllDay, info.allDay); in getNextRefreshTime() 654 final boolean allDay = alertCursor.getInt(ALERT_INDEX_ALL_DAY) != 0; in processQuery() 682 .append(" allDay:").append(allDay) in processQuery() 755 description, beginTime, endTime, eventId, allDay, newAlert); in processQuery() 761 if (allDay) { in processQuery() 771 if (allDay) { in processQuery() [all …]
|
D | AlertAdapter.java | 77 boolean allDay = cursor.getInt(AlertActivity.INDEX_ALL_DAY) != 0; in bindView() 79 updateView(context, view, eventName, location, startMillis, endMillis, allDay); in bindView() 83 long startMillis, long endMillis, boolean allDay) { in updateView() argument 116 if (allDay) { in updateView() 132 if (!allDay && tz != Time.getCurrentTimezone()) { in updateView()
|
D | AlertUtils.java | 154 static String formatTimeLocation(Context context, long startMillis, boolean allDay, 161 int eventDay = Time.getJulianDay(time.toMillis(false), allDay ? 0 : time.gmtoff); 164 if (!allDay) { 180 if (!allDay && tz != Time.getCurrentTimezone()) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 124 public boolean allDay; field in Event 164 e.allDay = allDay; in clone() 185 dest.allDay = allDay; in copyTo() 206 e.allDay = false; in newInstance() 379 e.allDay = cEvents.getInt(PROJECTION_ALL_DAY_INDEX) != 0; in generateEventFromCursor() 545 Log.e("Cal", "+ allDay = " + allDay); in dump() 640 return allDay || endMillis - startMillis >= DateUtils.DAY_IN_MILLIS; in drawAsAllday()
|
D | DeleteEventHelper.java | 356 boolean allDay = mModel.mAllDay; in deleteRepeatingEvent() 381 values.put(Events.ALL_DAY, allDay ? 1 : 0); in deleteRepeatingEvent() 382 values.put(Events.ORIGINAL_ALL_DAY, allDay ? 1 : 0); in deleteRepeatingEvent() 415 if (allDay) { in deleteRepeatingEvent()
|
D | CalendarController.java | 226 public static long buildViewExtraLong(int response, boolean allDay) { in buildViewExtraLong() argument 227 long extra = allDay ? ALL_DAY_MASK : 0; in buildViewExtraLong()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventActivity.java | 136 boolean allDay = intent.getBooleanExtra(EXTRA_EVENT_ALL_DAY, false); in getEventInfoFromIntent() 142 if (allDay) { in getEventInfoFromIntent() 149 if (allDay) { in getEventInfoFromIntent() 158 if (allDay) { in getEventInfoFromIntent()
|
D | EditEventHelper.java | 347 boolean allDay = originalModel.mAllDay; in saveEvent() 348 values.put(Events.ORIGINAL_ALL_DAY, allDay ? 1 : 0); in saveEvent() 764 untilTime.allDay = true; in updatePastEvents() 772 dtstart.allDay = true; in updatePastEvents()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 209 boolean allDay = entries.getInt(allDayColumn) != 0; in performInstanceExpansion() 212 if (allDay || TextUtils.isEmpty(eventTimezone)) { in performInstanceExpansion() 293 eventTime.allDay = allDay; in performInstanceExpansion() 301 if (allDay) { in performInstanceExpansion() 334 if (allDay) { in performInstanceExpansion() 406 if (allDay) { in performInstanceExpansion() 697 boolean allDay = false; in updateInstancesLocked() 700 allDay = allDayInteger != 0; in updateInstancesLocked() 705 if (allDay) { in updateInstancesLocked()
|
D | CalendarProvider2.java | 1682 untilTime.allDay = true; in setRecurrenceEnd() 1688 dtstart.allDay = true; in setRecurrenceEnd() 1820 boolean allDay = values.getAsBoolean(Events.ALL_DAY); in handleInsertException() 1851 values.put(Events.ORIGINAL_ALL_DAY, allDay); in handleInsertException() 3025 boolean allDay = false; in updateEventRawTimesLocked() 3028 allDay = allDayInteger != 0; in updateEventRawTimesLocked() 3031 if (allDay || TextUtils.isEmpty(timezone)) { in updateEventRawTimesLocked() 3037 time.allDay = allDay; in updateEventRawTimesLocked() 3057 time.allDay = allDayInteger != 0; in updateEventRawTimesLocked() 3066 time.allDay = allDay; in updateEventRawTimesLocked()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 412 boolean allDay = cursor.getInt(allDayColumn) != 0; in execute() 415 if (allDay) { in execute() 441 boolean allDay; field in CalendarProvider2Test.VerifyInstance 462 allDay = time.allDay; in VerifyInstance() 480 if (allDay) { in execute() 517 boolean allDay) { in EventInfo() argument 518 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo() 523 boolean allDay, String timezone) { in EventInfo() argument 524 init(title, startDate, endDate, allDay, timezone); in EventInfo() 528 boolean allDay, String timezone) { in init() argument [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlarmSchedulerTest.java | 65 public EventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { in EventInfo() argument 67 mAllDay = allDay; in EventInfo() 78 void addEventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { in addEventInfo() argument 79 mEvents.add(new EventInfo(eventId, allDay, begin, reminderMinutes)); in addEventInfo()
|
D | AlertServiceTest.java | 202 public Alert(long eventId, int alertStatus, int responseStatus, int allDay, long begin, in Alert() argument 207 mAllDay = allDay; in Alert() 220 int addAlertRow(long eventId, int alertStatus, int responseStatus, int allDay, long begin, in addAlertRow() argument 222 Alert a = new Alert(eventId, alertStatus, responseStatus, allDay, begin, end, in addAlertRow() 749 assertTrue(highPriority.get(0).allDay); in testProcessQuery_skipDeclinedDismissed()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.java | 842 boolean allDay = event.allDay; in drawEvent() 844 if (allDay) { in drawEvent() 877 if (allDay) { in drawEvent() 902 if (allDay) { in drawEvent() 920 } else if (allDay) { in drawEvent() 930 if (allDay) { in drawEvent() 934 if (showTimes && !allDay) { in drawEvent() 1083 if (!e.allDay) { in onHoverEvent()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | CalendarInteractionUtils.java | 30 String localTimezone, boolean allDay, Context context) { in getDisplayedDatetime() argument 42 if (allDay) { in getDisplayedDatetime()
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 176 private Object[] getRow(int allDay, long begin, long end, String title, String location, in getRow() argument 179 row[CalendarAppWidgetService.INDEX_ALL_DAY] = new Integer(allDay); in getRow()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 235 Event buildTestEvent(int startTime, int endTime, boolean allDay, int startDay, int endDay) { in buildTestEvent() argument 239 e.allDay = allDay; in buildTestEvent()
|