Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java1468 private int findSelectedCalendarPosition(Cursor calendarsCursor, long calendarId) { in findSelectedCalendarPosition() argument
1469 if (calendarsCursor.getCount() <= 0) { in findSelectedCalendarPosition()
1472 int calendarIdColumn = calendarsCursor.getColumnIndexOrThrow(Calendars._ID); in findSelectedCalendarPosition()
1474 calendarsCursor.moveToPosition(-1); in findSelectedCalendarPosition()
1475 while (calendarsCursor.moveToNext()) { in findSelectedCalendarPosition()
1476 if (calendarsCursor.getLong(calendarIdColumn) == calendarId) { in findSelectedCalendarPosition()
1486 private int findDefaultCalendarPosition(Cursor calendarsCursor) { in findDefaultCalendarPosition() argument
1487 if (calendarsCursor.getCount() <= 0) { in findDefaultCalendarPosition()
1494 int calendarsOwnerIndex = calendarsCursor.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT); in findDefaultCalendarPosition()
1495 int accountNameIndex = calendarsCursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in findDefaultCalendarPosition()
[all …]