Home | History | Annotate | Download | only in calendar

Lines Matching refs:Cursor

31 import android.database.Cursor;
4493 Cursor cursor = cr.query(ContentUris.withAppendedId(Events.CONTENT_URI, e.id),
4499 if (cursor == null) {
4503 if (cursor.getCount() == 0) {
4504 cursor.close();
4508 cursor.moveToFirst();
4509 long calId = cursor.getLong(0);
4510 cursor.close();
4514 cursor = cr.query(uri, CALENDARS_PROJECTION, where, null, null);
4517 if (cursor != null) {
4518 cursor.moveToFirst();
4519 accessLevel = cursor.getInt(CALENDARS_INDEX_ACCESS_LEVEL);
4520 calendarOwnerAccount = cursor.getString(CALENDARS_INDEX_OWNER_ACCOUNT);
4521 cursor.close();