Home
last modified time | relevance | path

Searched refs:mCalendarId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java200 public long mCalendarId = -1; field in CalendarEventModel
353 if (mCalendarId == -1) { in isValid()
381 mCalendarId = -1; in clear()
472 result = prime * result + (int) (mCalendarId ^ (mCalendarId >>> 32)); in hashCode()
705 if (mCalendarId != originalModel.mCalendarId) { in checkOriginalModelFields()
DDeleteEventHelper.java379 long calendarId = mModel.mCalendarId; in deleteRepeatingEvent()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java764 if (model.mCalendarId != originalModel.mCalendarId) { in isSameEvent()
1018 model.mCalendarId = cursor.getInt(EVENT_INDEX_CALENDAR_ID); in setModelFromCursor()
1073 if (model.mCalendarId == -1) { in setModelFromCalendarCursor()
1085 if (model.mCalendarId != cursor.getInt(CALENDARS_INDEX_ID)) { in setModelFromCalendarCursor()
1114 || model.mCalendarId == -1; in canModifyCalendar()
1182 long calendarId = model.mCalendarId; in getContentValuesFromModel()
DEditEventFragment.java210 Long.toString(mModel.mCalendarId) in onQueryComplete()
291 if (mModel.mCalendarId == -1) { in onQueryComplete()
DEditEventView.java751 mModel.mCalendarId = mCalendarsSpinner.getSelectedItemId(); in fillModelFromUI()
760 mModel.mCalendarId = mCalendarsCursor.getLong(EditEventHelper.CALENDARS_INDEX_ID); in fillModelFromUI()
1629 if (calendarId == mModel.mCalendarId) { in onItemSelected()
1632 mModel.mCalendarId = calendarId; in onItemSelected()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java95 private int mCalendarId; field in CalendarProvider2Test
187 insertEvent(mCalendarId, eventInfo); in execute()
1914 mCalendarId = insertCal("CalendarTestAttendees", DEFAULT_TIMEZONE); in testAttendees()
1915 String calendarIdString = Integer.toString(mCalendarId); in testAttendees()
1917 Uri eventUri = insertEvent(mCalendarId, findEvent("normal0")); in testAttendees()
2076 mCalendarId = insertCal("Calendar0", DEFAULT_TIMEZONE); in internalTestDirty()
2088 Uri eventUri = insertEvent(mCalendarId, eventInfo); in internalTestDirty()
2240 mCalendarId = insertCal("Calendar0", DEFAULT_TIMEZONE); in testCalendarDeletion()
2241 Uri eventUri = insertEvent(mCalendarId, findEvent("daily0")); in testCalendarDeletion()
2244 Uri eventUri1 = insertEvent(mCalendarId, findEvent("daily1")); in testCalendarDeletion()
[all …]
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DCalendarSyncAdapter.java156 private long mCalendarId = -1; field in CalendarSyncAdapter
191 mCalendarId = c.getLong(CALENDAR_SELECTION_ID); in CalendarSyncAdapter()
193 mCalendarId = CalendarUtilities.createCalendar(mService, mAccount, mMailbox); in CalendarSyncAdapter()
195 mCalendarIdString = Long.toString(mCalendarId); in CalendarSyncAdapter()
420 cv.put(Events.CALENDAR_ID, mCalendarId); in addEvent()
837 cv.put(Events.CALENDAR_ID, mCalendarId); in exceptionParser()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java881 if (observer.mCalendarId != 0) { in registerCalendarObserver()
885 ContentUris.withAppendedId(Calendars.CONTENT_URI, observer.mCalendarId), false, in registerCalendarObserver()
922 long mCalendarId; field in ExchangeService.CalendarObserver
941 mCalendarId = c.getLong(0); in CalendarObserver()
960 new String[] {Long.toString(mCalendarId)}, null); in onChange()
1006 new String[] {Long.toString(mCalendarId)}); in onChange()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java1066 mModel1.mCalendarId = 1; in testIsSameEvent()
1068 mModel2.mCalendarId = 1; in testIsSameEvent()
1077 mModel2.mCalendarId = 2; in testIsSameEvent()
1478 model.mCalendarId = 2; in buildTestModel()