Home
last modified time | relevance | path

Searched refs:accessLevel (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java1066 int accessLevel = cursor.getInt(EVENT_INDEX_ACCESS_LEVEL); in setModelFromCursor() local
1083 if (accessLevel > 0) { in setModelFromCursor()
1087 accessLevel--; in setModelFromCursor()
1089 model.mAccessLevel = accessLevel; in setModelFromCursor()
1284 int accessLevel = model.mAccessLevel; in getContentValuesFromModel() local
1285 if (accessLevel > 0) { in getContentValuesFromModel()
1288 accessLevel++; in getContentValuesFromModel()
1290 values.put(Events.ACCESS_LEVEL, accessLevel); in getContentValuesFromModel()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java332 int accessLevel = intent.getIntExtra(Events.ACCESS_LEVEL, -1); in CalendarEventModel() local
333 if (accessLevel != -1) { in CalendarEventModel()
334 if (accessLevel > 0) { in CalendarEventModel()
337 accessLevel--; in CalendarEventModel()
339 mAccessLevel = accessLevel; in CalendarEventModel()
DDayView.java4366 int accessLevel = getEventAccessLevel(mContext, mSelectedEvent); in onCreateContextMenu() local
4367 if (accessLevel == ACCESS_LEVEL_EDIT) { in onCreateContextMenu()
4374 if (accessLevel >= ACCESS_LEVEL_DELETE) { in onCreateContextMenu()
4402 int accessLevel = getEventAccessLevel(mContext, mSelectedEvent); in onCreateContextMenu() local
4403 if (accessLevel == ACCESS_LEVEL_EDIT) { in onCreateContextMenu()
4410 if (accessLevel >= ACCESS_LEVEL_DELETE) { in onCreateContextMenu()
4490 int accessLevel = Calendars.CAL_ACCESS_NONE; in getEventAccessLevel() local
4519 accessLevel = cursor.getInt(CALENDARS_INDEX_ACCESS_LEVEL); in getEventAccessLevel()
4524 if (accessLevel < Calendars.CAL_ACCESS_CONTRIBUTOR) { in getEventAccessLevel()