/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) { 509 boolean allDay) { 510 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); 515 boolean allDay, String timezone) { 516 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 | 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 | 72 * True if this is an allDay event. The hour, minute, second fields are 75 public boolean allDay; 299 this.allDay = false; 320 * @throws IllegalArgumentException if {@link #allDay} is true but {@code 374 * included only a date and no time field, then the <code>allDay</code> 378 * <code>allDay</code> is set to false. The fields <code>weekDay</code>, 446 allDay = false; 469 allDay = true; 519 * the {@link #allDay} field is set to true and the {@link #hour}, 574 allDay = false [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceSet.java | 202 boolean allDay = start.allDay; 206 if (inUtc || allDay) { 228 if (allDay) { 246 values.put(CalendarContract.Events.ALL_DAY, allDay ? 1 : 0); 279 boolean allDay = cursor.getInt(allDayColumn) == 1; 292 if (!allDay) { 304 if (allDay) { 306 dtstartTime.allDay = true; 338 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 | 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/calendarcommon2/ |
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/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...] |
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/agendadata/ |
CalendarQueryService.java | 160 event.allDay = cursor.getInt(allDayIdx) != 0; 246 public boolean allDay; 260 data.putBoolean(ALL_DAY, 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.
|