OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:eventCursor
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Calendar/src/com/android/calendar/
GoogleCalendarUriIntentFilter.java
154
Cursor
eventCursor
= getContentResolver().query(Events.CONTENT_URI,
157
if (debug) Log.d(TAG, "Found: " +
eventCursor
.getCount());
159
if (
eventCursor
!= null &&
eventCursor
.getCount() > 0) {
160
if (
eventCursor
.getCount() > 1) {
161
Log.i(TAG, "NOTE: found " +
eventCursor
.getCount()
167
while (
eventCursor
.moveToNext()) {
168
int eventId =
eventCursor
.getInt(EVENT_INDEX_ID);
169
long startMillis =
eventCursor
.getLong(EVENT_INDEX_START);
170
long endMillis =
eventCursor
.getLong(EVENT_INDEX_END)
[
all
...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDebug.java
100
Cursor
eventCursor
= mContentResolver.query(
104
eventCount =
eventCursor
.getCount();
106
eventCursor
.close();
/packages/apps/Calendar/src/com/android/calendar/alerts/
GlobalDismissManager.java
288
Cursor
eventCursor
= resolver.query(Events.CONTENT_URI, EVENT_PROJECTION,
291
eventCursor
.moveToPosition(-1);
292
int calendar_id_idx =
eventCursor
.getColumnIndex(Events.CALENDAR_ID);
293
int event_id_idx =
eventCursor
.getColumnIndex(Events._ID);
295
while (
eventCursor
.moveToNext()) {
296
eventsToCalendars.put(
eventCursor
.getLong(event_id_idx),
297
eventCursor
.getLong(calendar_id_idx));
301
eventCursor
.close();
AlertReceiver.java
644
Cursor
eventCursor
= getEventCursor(context, eventId);
646
if (
eventCursor
!= null &&
eventCursor
.moveToFirst()) {
647
syncAccount =
eventCursor
.getString(EVENT_INDEX_ACCOUNT_NAME);
650
if (
eventCursor
!= null) {
651
eventCursor
.close();
[
all
...]
Completed in 90 milliseconds