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

1 2

  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 234 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) {
    [all...]
CalendarProvider2Test.java 404 boolean allDay = cursor.getInt(allDayColumn) != 0;
407 if (allDay) {
433 boolean allDay;
454 allDay = time.allDay;
472 if (allDay) {
508 boolean allDay) {
509 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE);
514 boolean allDay, String timezone) {
515 init(title, startDate, endDate, allDay, timezone)
    [all...]
  /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 236 if (eventInfo.allDay) {
245 if (!eventInfo.allDay && eventInfo.start <= now && now <= eventInfo.end) {
253 if (!eventInfo.allDay) {
262 if (eventInfo.allDay) {
307 if (eventInfo.allDay) {
314 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 111 boolean allDay = intent.getBooleanExtra(EXTRA_EVENT_ALL_DAY, false);
117 if (allDay) {
124 if (allDay) {
131 if (allDay) {
  /frameworks/opt/calendar/src/com/android/calendarcommon/
RecurrenceSet.java 191 boolean allDay = start.allDay;
195 if (inUtc || allDay) {
217 if (allDay) {
235 values.put(CalendarContract.Events.ALL_DAY, allDay ? 1 : 0);
268 boolean allDay = cursor.getInt(allDayColumn) == 1;
281 if (!allDay) {
293 if (allDay) {
295 dtstartTime.allDay = true;
327 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 252 boolean allDay = holder.allDay;
260 if ((!allDay && row.mEventStartTimeMilli <= System.currentTimeMillis()) ||
261 (allDay && row.mDay <= mTodayJulianDay)) {
304 boolean allDay = cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0;
305 if (allDay) {
367 instanceId, allDay));
378 endTime, instanceId, allDay));
436 long instanceId, boolean allDay) {
445 mAllDay = allDay;
    [all...]
AgendaFragment.java 305 showEventInfo(event, vh != null ? vh.allDay : false, mForceReplace);
353 private void showEventInfo(EventInfo event, boolean allDay, boolean replaceFragment) {
368 mOnAttachAllDay = allDay;
373 if (allDay) {
AgendaListView.java 154 if (!holder.grayed && ((!holder.allDay && holder.startTimeMilli <= now) ||
155 (holder.allDay && holder.julianDay <= todayJulianDay))) {
187 if (event.allDay) {
195 Attendees.ATTENDEE_STATUS_NONE, event.allDay),
AgendaWindowAdapter.java 283 boolean allDay;
613 event.allDay = cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0;
614 if (event.allDay) { // UTC
628 if (event.allDay) {
687 event.allDay), -1);
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertAdapter.java 75 boolean allDay = cursor.getInt(AlertActivity.INDEX_ALL_DAY) != 0;
77 updateView(context, view, eventName, location, startMillis, endMillis, allDay);
81 long startMillis, long endMillis, boolean allDay) {
114 if (allDay) {
130 if (!allDay && tz != Time.getCurrentTimezone()) {
AlertService.java 290 info.allDay, info.location);
309 info.allDay, info.location);
326 info.allDay, info.location);
508 final boolean allDay = alertCursor.getInt(ALERT_INDEX_ALL_DAY) != 0;
514 + " endTime:" + endTime + " allDay:" + allDay);
577 description, beginTime, endTime, eventId, allDay, newAlert);
584 if (allDay) {
597 if (allDay) {
644 } else if (allDay && tz != null && DateUtils.isToday(beginTimeAdjustedForAllDay))
    [all...]
AlertUtils.java 112 static String formatTimeLocation(Context context, long startMillis, boolean allDay,
122 if (!allDay) {
138 if (!allDay && tz != Time.getCurrentTimezone()) {
  /frameworks/base/core/java/android/text/format/
Time.java 51 * True if this is an allDay event. The hour, minute, second fields are
54 public boolean allDay;
270 this.allDay = false;
291 * @throws IllegalArgumentException if {@link #allDay} is true but {@code
416 * included only a date and no time field, then the <code>allDay</code>
420 * <code>allDay</code> is set to false. The fields <code>weekDay</code>,
471 * the {@link #allDay} field is set to true and the {@link #hour},
580 this.allDay = that.allDay;
598 this.allDay = false
    [all...]
  /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).
118 public boolean allDay;
158 e.allDay = allDay;
179 dest.allDay = allDay;
200 e.allDay = false;
351 // 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 362 if (!t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23) {
367 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 ||
403 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
411 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 ||
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon/
RecurrenceSetTest.java 70 null, null, 1250812800000L, "UTC", "P2H", 1 /*allDay*/, false);
71 // allDay=1 just means the start time is 00:00:00 UTC.
83 null, null, 1250841723000L, "America/Los_Angeles", "P2H", 0 /*allDay*/, false);
84 // allDay=1 just means the start time is 00:00:00 UTC.
94 null, null, 1250863200000L, "America/Los_Angeles", "P3600S" /*P1H*/, 0 /*allDay*/,
102 null, null, 1250863200000L, "America/Los_Angeles", "P3600S" /*P1H*/, 0 /*allDay*/,
130 String exrule, String exdate, long dtstart, String tzid, String duration, int allDay,
151 assertEquals(allDay,
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarInstancesHelper.java 211 boolean allDay = entries.getInt(allDayColumn) != 0;
214 if (allDay || TextUtils.isEmpty(eventTimezone)) {
215 // in the events table, allDay events start at midnight.
295 eventTime.allDay = allDay;
303 if (allDay) {
336 if (allDay) {
408 if (allDay) {
698 boolean allDay = false;
701 allDay = allDayInteger != 0
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthWeekEventsView.java     [all...]
  /packages/apps/Calendar/tests/src/com/android/calendar/
UtilsTests.java 211 Event buildTestEvent(int startTime, int endTime, boolean allDay, int startDay, int endDay) {
215 e.allDay = allDay;
  /packages/apps/Calendar/tests/src/com/android/calendar/widget/
CalendarAppWidgetServiceTest.java 95 // allDay, begin, end, title, location, eventId
147 // allDay, begin, end, title, location, eventId
284 private Object[] getRow(int allDay, long begin, long end, String title, String location,
287 row[CalendarAppWidgetService.INDEX_ALL_DAY] = new Integer(allDay);
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java 202 public Alert(long eventId, int alertStatus, int responseStatus, int allDay, long begin,
207 mAllDay = allDay;
220 int addAlertRow(long eventId, int alertStatus, int responseStatus, int allDay, long begin,
222 Alert a = new Alert(eventId, alertStatus, responseStatus, allDay, begin, end,
664 assertTrue(highPriority.get(0).allDay);
    [all...]

Completed in 398 milliseconds

1 2