HomeSort by relevance Sort by last modified time
    Searched refs:Calendars (Results 1 - 16 of 16) sorted by null

  /packages/apps/Calendar/src/com/android/calendar/
SelectCalendarsAdapter.java 30 import android.provider.Calendar.Calendars;
49 private static final String CALENDARS_ORDERBY = IS_PRIMARY + " DESC," + Calendars.DISPLAY_NAME +
51 private static final String ACCOUNT_SELECTION = Calendars._SYNC_ACCOUNT + "=?"
52 + " AND " + Calendars._SYNC_ACCOUNT_TYPE + "=?";
74 // These track changes to the visible (selected) and synced state of calendars
92 // How long to wait between requeries of the calendars to see if anything has changed.
103 // This is to keep track of whether or not multiple calendars have the same display name
107 Calendars._ID,
108 Calendars._SYNC_ACCOUNT,
109 Calendars.OWNER_ACCOUNT
    [all...]
SelectCalendarsActivity.java 27 import android.provider.Calendar.Calendars;
46 Calendars._ID,
47 Calendars._SYNC_ACCOUNT_TYPE,
48 Calendars._SYNC_ACCOUNT
59 mView = findViewById(R.id.calendars);
63 mCursor = managedQuery(Calendars.CONTENT_URI, PROJECTION,
66 Calendars._SYNC_ACCOUNT /*sort order*/);
77 // Start a background sync to get the list of calendars from the server.
164 // Calendars (in the background).
167 // hidden) then it will be added to the list of calendars on the phon
    [all...]
EventInfoActivity.java 45 import android.provider.Calendar.Calendars;
156 Calendars._ID, // 0
157 Calendars.DISPLAY_NAME, // 1
158 Calendars.OWNER_ACCOUNT, // 2
159 Calendars.ORGANIZER_CAN_RESPOND // 3
165 static final String CALENDARS_WHERE = Calendars._ID + "=%d";
166 static final String CALENDARS_DUPLICATE_NAME_WHERE = Calendars.DISPLAY_NAME + "=?";
331 // Calendars cursor
332 Uri uri = Calendars.CONTENT_URI;
359 mEventCursor.getInt(EVENT_INDEX_ACCESS_LEVEL) >= Calendars.CONTRIBUTOR_ACCESS
    [all...]
EditEvent.java 53 import android.provider.Calendar.Calendars;
153 Calendars._ID, // 0
154 Calendars.DISPLAY_NAME, // 1
155 Calendars.OWNER_ACCOUNT, // 2
156 Calendars.COLOR, // 3
161 private static final String CALENDARS_WHERE = Calendars.ACCESS_LEVEL + ">=" +
162 Calendars.CONTRIBUTOR_ACCESS + " AND " + Calendars.SYNC_EVENTS + "=1";
473 // dialogs: the "Loading calendars" dialog, and the "No calendars"
    [all...]
AgendaWindowAdapter.java 25 import android.provider.Calendar.Calendars;
545 return Calendars.SELECTED + "=1 AND "
549 return Calendars.SELECTED + "=1";
CalendarView.java 43 import android.provider.Calendar.Calendars;
95 Calendars._ID, // 0
96 Calendars.ACCESS_LEVEL, // 1
97 Calendars.OWNER_ACCOUNT, // 2
101 private static final String CALENDARS_WHERE = Calendars._ID + "=%d";
    [all...]
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 62 CALENDARS_COLUMNS_TO_SKIP.add(Calendar.Calendars._ID);
63 CALENDARS_COLUMNS_TO_SKIP.add(Calendar.Calendars._SYNC_TIME);
64 CALENDARS_COLUMNS_TO_SKIP.add(Calendar.Calendars._SYNC_VERSION);
65 CALENDARS_COLUMNS_TO_SKIP.add(Calendar.Calendars._SYNC_DATA);
66 CALENDARS_COLUMNS_TO_SKIP.add(Calendar.Calendars._SYNC_DIRTY);
67 CALENDARS_COLUMNS_TO_SKIP.add(Calendar.Calendars._SYNC_MARK);
178 values.put(Calendar.Calendars._SYNC_ACCOUNT, getAccount());
179 values.put(Calendar.Calendars.URL, calendarUrl);
180 values.put(Calendar.Calendars.NAME, name);
181 values.put(Calendar.Calendars.DISPLAY_NAME, name)
    [all...]
CalendarProvider2Test.java 29 import android.provider.Calendar.Calendars;
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDebug.java 36 * Displays info about all the user's calendars, for debugging.
43 Calendar.Calendars._ID,
44 Calendar.Calendars.DISPLAY_NAME,
83 cursor = mContentResolver.query(Calendar.Calendars.CONTENT_URI,
86 Calendar.Calendars.DEFAULT_SORT_ORDER);
CalendarProvider2.java 47 import android.provider.Calendar.Calendars;
237 private static final String[] sCalendarsIdProjection = new String[] { Calendars._ID };
635 case CALENDARS:
636 qb.setTables("Calendars");
640 qb.setTables("Calendars");
773 "INNER JOIN Calendars ON (Events.calendar_id = Calendars._id)");
800 "INNER JOIN Calendars ON (Events.calendar_id = Calendars._id)");
    [all...]
CalendarDatabaseHelper.java 148 mCalendarsInserter = new DatabaseUtils.InsertHelper(db, "Calendars");
211 db.execSQL("CREATE TABLE Calendars (" +
236 db.execSQL("CREATE TRIGGER calendar_cleanup DELETE ON Calendars " +
293 "(SELECT _sync_account FROM Calendars WHERE Calendars._id=new.calendar_id)," +
295 "(SELECT _sync_account_type FROM Calendars WHERE Calendars._id=new.calendar_id) " +
709 // The UI should not show attendee status for events in calendars with this column = 0
711 "Calendars ADD COLUMN organizerCanRespond INTEGER NOT NULL DEFAULT 1;");
742 // "cursor" iterates over all the calendars
    [all...]
CalendarAppWidgetService.java 33 import android.provider.Calendar.Calendars;
553 * Query across all calendars for upcoming event instances from now until
572 Calendars.SELECTED, Instances.SELF_ATTENDEE_STATUS,
  /packages/apps/Email/src/com/android/exchange/utility/
CalendarUtilities.java 45 import android.provider.Calendar.Calendars;
392 * @param calendars an array of GregorianCalendar, set to a series of transition times in
394 * @return an RRULE or null if none could be inferred from the calendars
396 static RRule inferRRuleFromCalendars(GregorianCalendar[] calendars) {
398 GregorianCalendar calendar = calendars[0];
407 for (int i = 1; i < calendars.length; i++) {
408 GregorianCalendar cal = calendars[i];
620 * @param transitions calendars representing transitions to/from DST
    [all...]
  /frameworks/base/core/java/android/provider/
Calendar.java 80 * Columns from the Calendars table that other tables join into themselves.
125 * If this calendar is in the list of calendars that are selected for
204 * Contains a list of available calendars.
206 public static class Calendars implements BaseColumns, CalendarsColumns
208 private static final String WHERE_DELETE_FOR_ACCOUNT = Calendars._SYNC_ACCOUNT + "=?"
209 + " AND " + Calendars._SYNC_ACCOUNT_TYPE + "=?";
231 * Convenience method to delete all calendars that match the account.
238 // delete all calendars that match this account
239 return Calendar.Calendars.delete(cr,
247 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/calendars");
    [all...]
  /packages/apps/Email/src/com/android/exchange/
SyncManager.java 85 import android.provider.Calendar.Calendars;
649 ContentUris.withAppendedId(Calendars.CONTENT_URI, observer.mCalendarId), false,
693 Cursor c = mResolver.query(Calendars.CONTENT_URI,
694 new String[] {Calendars._ID, Calendars.SYNC_EVENTS},
717 Cursor c = mResolver.query(Calendars.CONTENT_URI,
718 new String[] {Calendars.SYNC_EVENTS}, Calendars._ID + "=?",
    [all...]
  /packages/apps/Email/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 47 import android.provider.Calendar.Calendars;
68 * Sync adapter class for EAS calendars
103 Calendars._SYNC_ACCOUNT + "=? AND " + Calendars._SYNC_ACCOUNT_TYPE + "=?";
167 Cursor c = mService.mContentResolver.query(Calendars.CONTENT_URI,
168 new String[] {Calendars._ID}, CALENDAR_SELECTION,
286 mContentResolver.delete(Calendars.CONTENT_URI, CALENDAR_SELECTION,
    [all...]

Completed in 512 milliseconds