Home
last modified time | relevance | path

Searched refs:mCalendarId (Results 1 – 9 of 9) 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()
191 mCalendarId = savedInstanceState.getLong(KEY_CALENDAR_ID); in onCreate()
217 if (calendarId != mCalendarId) { in setCalendarId()
218 mCalendarId = calendarId; in setCalendarId()
237 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()
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()
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()
DEditEventView.java706 mModel.mCalendarId = mCalendarsSpinner.getSelectedItemId(); in fillModelFromUI()
715 mModel.mCalendarId = mCalendarsCursor.getLong(EditEventHelper.CALENDARS_INDEX_ID); in fillModelFromUI()
1740 if (calendarId == mModel.mCalendarId && mModel.isCalendarColorInitialized() && in onItemSelected()
1747 mModel.mCalendarId = calendarId; in onItemSelected()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java100 private int mCalendarId; field in CalendarProvider2Test
197 insertEvent(mCalendarId, eventInfo); in execute()
1984 mCalendarId = insertCal("CalendarTestAttendees", DEFAULT_TIMEZONE); in testCalendarAlerts()
1985 String calendarIdString = Integer.toString(mCalendarId); in testCalendarAlerts()
1987 Uri eventUri = insertEvent(mCalendarId, findEvent("normal0")); in testCalendarAlerts()
2105 mCalendarId = insertCal("CalendarTestAttendees", DEFAULT_TIMEZONE); in testAttendees()
2106 String calendarIdString = Integer.toString(mCalendarId); in testAttendees()
2108 Uri eventUri = insertEvent(mCalendarId, findEvent("normal0")); in testAttendees()
2267 mCalendarId = insertCal("Calendar0", DEFAULT_TIMEZONE); in internalTestDirty()
2279 Uri eventUri = insertEvent(mCalendarId, eventInfo); in internalTestDirty()
[all …]
/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()