Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DCalendarColorPickerDialog.java72 private long mCalendarId; field in CalendarColorPickerDialog
152 Calendars.CONTENT_URI, mCalendarId), values, null, null, Utils.UNDO_DELAY); in onColorSelected()
171 outState.putLong(KEY_CALENDAR_ID, mCalendarId); in onSaveInstanceState()
187 mCalendarId = savedInstanceState.getLong(KEY_CALENDAR_ID); in onCreate()
213 if (calendarId != mCalendarId) { in setCalendarId()
214 mCalendarId = calendarId; in setCalendarId()
233 ContentUris.withAppendedId(Calendars.CONTENT_URI, mCalendarId), in startQuery()
DCalendarEventModel.java202 public long mCalendarId = -1; field in CalendarEventModel
362 if (mCalendarId == -1) { in isValid()
390 mCalendarId = -1; in clear()
487 result = prime * result + (int) (mCalendarId ^ (mCalendarId >>> 32)); in hashCode()
720 if (mCalendarId != originalModel.mCalendarId) { in checkOriginalModelFields()
DDeleteEventHelper.java379 long calendarId = mModel.mCalendarId; in deleteRepeatingEvent()
/packages/apps/Calendar/src/com/android/calendar/event/
DCreateEventDialogFragment.java83 private long mCalendarId = -1; field in CreateEventDialogFragment
167 mCalendarId); in onCreateDialog()
212 mModel.mCalendarId = mCalendarId; in createAllDayEvent()
311 mCalendarId = cursor.getLong(calendarIdIndex); in setCalendarFields()
DEditEventHelper.java802 if (model.mCalendarId != originalModel.mCalendarId) { in isSameEvent()
1056 model.mCalendarId = cursor.getInt(EVENT_INDEX_CALENDAR_ID); in setModelFromCursor()
1119 if (model.mCalendarId == -1) { in setModelFromCalendarCursor()
1131 if (model.mCalendarId != cursor.getInt(CALENDARS_INDEX_ID)) { in setModelFromCalendarCursor()
1164 || model.mCalendarId == -1; in canModifyCalendar()
1233 long calendarId = model.mCalendarId; in getContentValuesFromModel()
DEditEventFragment.java125 private long mCalendarId = -1; field in EditEventFragment
243 Long.toString(mModel.mCalendarId) in onQueryComplete()
337 mCalendarId); in onQueryComplete()
480 mCalendarId = mEvent.calendarId; in startQuery()
527 mModel.mCalendarId = mCalendarId; in startQuery()
DEditEventView.java699 mModel.mCalendarId = mCalendarsSpinner.getSelectedItemId(); in fillModelFromUI()
708 mModel.mCalendarId = mCalendarsCursor.getLong(EditEventHelper.CALENDARS_INDEX_ID); in fillModelFromUI()
1732 if (calendarId == mModel.mCalendarId && mModel.isCalendarColorInitialized() && in onItemSelected()
1739 mModel.mCalendarId = calendarId; in onItemSelected()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java97 private int mCalendarId; field in CalendarProvider2Test
189 insertEvent(mCalendarId, eventInfo); in execute()
2042 mCalendarId = insertCal("CalendarTestAttendees", DEFAULT_TIMEZONE); in testAttendees()
2043 String calendarIdString = Integer.toString(mCalendarId); in testAttendees()
2045 Uri eventUri = insertEvent(mCalendarId, findEvent("normal0")); in testAttendees()
2204 mCalendarId = insertCal("Calendar0", DEFAULT_TIMEZONE); in internalTestDirty()
2216 Uri eventUri = insertEvent(mCalendarId, eventInfo); in internalTestDirty()
2368 mCalendarId = insertCal("Calendar0", DEFAULT_TIMEZONE); in testCalendarDeletion()
2369 Uri eventUri = insertEvent(mCalendarId, findEvent("daily0")); in testCalendarDeletion()
2372 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()
840 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.java1089 mModel1.mCalendarId = 1; in testIsSameEvent()
1091 mModel2.mCalendarId = 1; in testIsSameEvent()
1100 mModel2.mCalendarId = 2; in testIsSameEvent()
1543 model.mCalendarId = 2; in buildTestModel()