HomeSort by relevance Sort by last modified time
    Searched refs:allDay (Results 1 - 25 of 62) sorted by null

1 2 3

  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetModel.java 87 boolean allDay;
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) {
    [all...]
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);
CalendarAppWidgetProvider.java 207 boolean allDay) {
226 fillInIntent.putExtra(EXTRA_EVENT_ALL_DAY, allDay);
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventActivity.java 136 boolean allDay = intent.getBooleanExtra(EXTRA_EVENT_ALL_DAY, false);
142 if (allDay) {
149 if (allDay) {
158 if (allDay) {
  /frameworks/base/core/java/android/text/format/
Time.java 76 * True if this is an allDay event. The hour, minute, second fields are
79 public boolean allDay;
305 this.allDay = false;
331 * @throws IllegalArgumentException if {@link #allDay} is true but {@code
385 * included only a date and no time field, then the <code>allDay</code>
389 * <code>allDay</code> is set to false. The fields <code>weekDay</code>,
457 allDay = false;
480 allDay = true;
530 * the {@link #allDay} field is set to true and the {@link #hour},
585 allDay = false
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
RecurrenceSet.java 200 boolean allDay = start.allDay;
204 if (inUtc || allDay) {
226 if (allDay) {
244 values.put(CalendarContract.Events.ALL_DAY, allDay ? 1 : 0);
277 boolean allDay = cursor.getInt(allDayColumn) == 1;
290 if (!allDay) {
302 if (allDay) {
304 dtstartTime.allDay = true;
336 final boolean allDay = (null != allDayInteger) ? (allDayInteger == 1) : false
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaAdapter.java 78 boolean allDay;
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)) {
AgendaByDayAdapter.java 263 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) {
    [all...]
AgendaFragment.java 334 showEventInfo(event, vh != null ? vh.allDay : false, mForceReplace);
386 private void showEventInfo(EventInfo event, boolean allDay, boolean replaceFragment) {
403 mOnAttachAllDay = allDay;
408 if (allDay) {
417 Log.d(TAG, "showEventInfo: all day: " + allDay);
AgendaListView.java 154 if (!holder.grayed && ((!holder.allDay && holder.startTimeMilli <= now) ||
155 (holder.allDay && holder.julianDay <= todayJulianDay))) {
195 if (item.allDay) {
203 Attendees.ATTENDEE_STATUS_NONE, item.allDay), holderStartTime);
AgendaWindowAdapter.java 306 boolean allDay;
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;
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertAdapter.java 77 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()) {
AlertService.java 343 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;
    [all...]
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/
Event.java 48 * 1) events with an earlier start (begin for normal events, startday for allday)
49 * 2) events with a later end (end for normal events, endday for allday)
54 * therefore show up in the allday area).
124 public boolean allDay;
164 e.allDay = allDay;
185 dest.allDay = allDay;
206 e.allDay = false;
357 // Sort events in two passes so we ensure the allday and standard event
    [all...]
DeleteEventHelper.java 356 boolean allDay = mModel.mAllDay;
381 values.put(Events.ALL_DAY, allDay ? 1 : 0);
382 values.put(Events.ORIGINAL_ALL_DAY, allDay ? 1 : 0);
415 if (allDay) {
  /frameworks/base/core/tests/coretests/src/android/text/format/
TimeTest.java 369 if (!t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23) {
374 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
381 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
388 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
395 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
402 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
410 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
418 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlarmSchedulerTest.java 65 public EventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) {
67 mAllDay = allDay;
78 void addEventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) {
79 mEvents.add(new EventInfo(eventId, allDay, begin, reminderMinutes));
188 // Set up mock allday data.
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarInstancesHelper.java 209 boolean allDay = entries.getInt(allDayColumn) != 0;
212 if (allDay || TextUtils.isEmpty(eventTimezone)) {
213 // in the events table, allDay events start at midnight.
293 eventTime.allDay = allDay;
301 if (allDay) {
334 if (allDay) {
406 if (allDay) {
697 boolean allDay = false;
700 allDay = allDayInteger != 0
    [all...]
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
RecurrenceSetTest.java 82 null, null, 1250812800000L, "UTC", "P2H", 1 /*allDay*/, false);
83 // allDay=1 just means the start time is 00:00:00 UTC.
98 null, null, 1250841723000L, "America/Los_Angeles", "P2H", 0 /*allDay*/, false);
99 // allDay=1 just means the start time is 00:00:00 UTC.
111 null, null, 1250863200000L, "America/Los_Angeles", "P3600S" /*P1H*/, 0 /*allDay*/,
121 null, null, 1250863200000L, "America/New_York", "P3600S" /*P1H*/, 0 /*allDay*/,
238 String exrule, String exdate, long dtstart, String tzid, String duration, int allDay,
259 assertEquals(allDay,
  /packages/apps/Calendar/tests/src/com/android/calendar/widget/
CalendarAppWidgetServiceTest.java 105 // allDay, begin, end, title, location, eventId
176 private Object[] getRow(int allDay, long begin, long end, String title, String location,
179 row[CalendarAppWidgetService.INDEX_ALL_DAY] = new Integer(allDay);
  /packages/apps/Contacts/src/com/android/contacts/interactions/
CalendarInteractionUtils.java 30 String localTimezone, boolean allDay, Context context) {
42 if (allDay) {
57 // For multi-day allday events or single-day all-day events that are not
101 * allday event and will adjust the time to be on a midnight boundary.
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java 412 boolean allDay = cursor.getInt(allDayColumn) != 0;
415 if (allDay) {
441 boolean allDay;
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, timezone)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthWeekEventsView.java     [all...]
  /developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
CalendarQueryService.java 160 event.allDay = cursor.getInt(allDayIdx) != 0;
246 public boolean allDay;
265 data.putBoolean(ALL_DAY, allDay);

Completed in 493 milliseconds

1 2 3