Searched refs:accessLevel (Results 1 – 3 of 3) sorted by relevance
1066 int accessLevel = cursor.getInt(EVENT_INDEX_ACCESS_LEVEL); in setModelFromCursor() local1083 if (accessLevel > 0) { in setModelFromCursor()1087 accessLevel--; in setModelFromCursor()1089 model.mAccessLevel = accessLevel; in setModelFromCursor()1284 int accessLevel = model.mAccessLevel; in getContentValuesFromModel() local1285 if (accessLevel > 0) { in getContentValuesFromModel()1288 accessLevel++; in getContentValuesFromModel()1290 values.put(Events.ACCESS_LEVEL, accessLevel); in getContentValuesFromModel()
332 int accessLevel = intent.getIntExtra(Events.ACCESS_LEVEL, -1); in CalendarEventModel() local333 if (accessLevel != -1) { in CalendarEventModel()334 if (accessLevel > 0) { in CalendarEventModel()337 accessLevel--; in CalendarEventModel()339 mAccessLevel = accessLevel; in CalendarEventModel()
4366 int accessLevel = getEventAccessLevel(mContext, mSelectedEvent); in onCreateContextMenu() local4367 if (accessLevel == ACCESS_LEVEL_EDIT) { in onCreateContextMenu()4374 if (accessLevel >= ACCESS_LEVEL_DELETE) { in onCreateContextMenu()4402 int accessLevel = getEventAccessLevel(mContext, mSelectedEvent); in onCreateContextMenu() local4403 if (accessLevel == ACCESS_LEVEL_EDIT) { in onCreateContextMenu()4410 if (accessLevel >= ACCESS_LEVEL_DELETE) { in onCreateContextMenu()4490 int accessLevel = Calendars.CAL_ACCESS_NONE; in getEventAccessLevel() local4519 accessLevel = cursor.getInt(CALENDARS_INDEX_ACCESS_LEVEL); in getEventAccessLevel()4524 if (accessLevel < Calendars.CAL_ACCESS_CONTRIBUTOR) { in getEventAccessLevel()