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

1 2 3

  /art/test/048-reflect-v8/src/
IFaceA.java 17 // Stored as a complex annotation Calendars(Calendar,Calendar)
19 @Calendars ({
User.java 17 // Stored as a complex annotation Calendars(Calendar,Calendar)
25 @Calendars ({
User2.java 17 // Stored as a complex annotation Calendars(Calendar,Calendar,Calendar)
20 @Calendars ({
UserComplex.java 17 // Stored as a complex annotation Calendars(Calendar,Calendar)
19 // In other words { Calendars([C,C]), C }
21 // Note that trying to do {C,Calendars,C} or similar
24 @Calendars ({
AnnotationTestFixture.java 23 @Calendars ({
31 @Calendars ({
41 @Calendars ({
AnnotationTest.java 33 printAnnotationsByType(Calendars.class, SingleUser.class);
36 printAnnotationsByType(Calendars.class, User.class);
39 printAnnotationsByType(Calendars.class, User2.class);
42 // Order of outer-most annotations Calendars[C,C],S vs C,Calendars[C,C] is unspecified.
46 // (Calendars[] itself has to maintain value() order).
48 printAnnotationsByType(Calendars.class, UserComplex.class);
51 printAnnotationsByType(Calendars.class, UserSub.class);
56 printAnnotationsByType(Calendars.class, UserSub2.class);
57 // Edge case: UserSub2 doesn't directly have a Calendars annotation
    [all...]
Calendars.java 24 public @interface Calendars {
Calendar.java 25 @Repeatable(Calendars.class)
AnnotationTestHelpers.java 27 } else if (anno instanceof Calendars) {
28 return asString((Calendars)anno);
67 public static String asString(Calendars calendars) {
68 if (calendars == null) {
72 String s = "@Calendars(value=[";
74 Calendar[] allValues = calendars.value();
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectCalendarsSyncFragment.java 36 import android.provider.CalendarContract.Calendars;
57 private static final String SELECTION = Calendars.ACCOUNT_NAME + "=? AND "
58 + Calendars.ACCOUNT_TYPE + "=?";
61 private static final String SORT_ORDER = IS_PRIMARY + " DESC," + Calendars.CALENDAR_DISPLAY_NAME
65 Calendars._ID,
66 Calendars.CALENDAR_DISPLAY_NAME,
67 Calendars.CALENDAR_COLOR,
68 Calendars.SYNC_EVENTS,
69 Calendars.ACCOUNT_NAME,
70 Calendars.ACCOUNT_TYPE
    [all...]
SelectVisibleCalendarsFragment.java 26 import android.provider.CalendarContract.Calendars;
47 private static final String SELECTION = Calendars.SYNC_EVENTS + "=?";
51 Calendars._ID,
52 Calendars.ACCOUNT_NAME,
53 Calendars.ACCOUNT_TYPE,
54 Calendars.OWNER_ACCOUNT,
55 Calendars.CALENDAR_DISPLAY_NAME,
56 Calendars.CALENDAR_COLOR,
57 Calendars.VISIBLE,
58 Calendars.SYNC_EVENTS
    [all...]
SelectSyncedCalendarsMultiAccountActivity.java 25 import android.provider.CalendarContract.Calendars;
44 Calendars._ID,
45 Calendars.ACCOUNT_TYPE,
46 Calendars.ACCOUNT_NAME,
47 Calendars.ACCOUNT_TYPE + " || " + Calendars.ACCOUNT_NAME + " AS " +
57 // Start a background sync to get the list of calendars from the server.
88 findViewById(R.id.calendars).getContext(), mAccountsCursor,
98 }.startQuery(0, null, Calendars.CONTENT_URI, PROJECTION,
101 Calendars.ACCOUNT_NAME /*sort order*/)
    [all...]
SelectSyncedCalendarsMultiAccountAdapter.java 32 import android.provider.CalendarContract.Calendars;
61 + Calendars.CALENDAR_DISPLAY_NAME + " COLLATE NOCASE";
62 private static final String ACCOUNT_SELECTION = Calendars.ACCOUNT_NAME + "=?"
63 + " AND " + Calendars.ACCOUNT_TYPE + "=?";
82 // These track changes to the synced state of calendars
100 // How long to wait between requeries of the calendars to see if anything has changed.
109 // This is to keep track of whether or not multiple calendars have the same display name
115 Calendars._ID,
116 Calendars.ACCOUNT_NAME,
117 Calendars.OWNER_ACCOUNT
    [all...]
SelectCalendarsSyncAdapter.java 25 import android.provider.CalendarContract.Calendars;
112 mIdColumn = c.getColumnIndexOrThrow(Calendars._ID);
113 mNameColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME);
114 mColorColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR);
115 mSyncedColumn = c.getColumnIndexOrThrow(Calendars.SYNC_EVENTS);
116 mAccountNameColumn = c.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME);
117 mAccountTypeColumn = c.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE);
SelectCalendarsSimpleAdapter.java 26 import android.provider.CalendarContract.Calendars;
128 * Sets up the background drawables for the calendars list
186 mIdColumn = c.getColumnIndexOrThrow(Calendars._ID);
187 mNameColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME);
188 mColorColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR);
189 mVisibleColumn = c.getColumnIndexOrThrow(Calendars.VISIBLE);
190 mOwnerAccountColumn = c.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT);
191 mAccountNameColumn = c.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME);
192 mAccountTypeColumn = c.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDatabaseHelper.java 33 import android.provider.CalendarContract.Calendars;
142 public static final String CALENDARS = "Calendars";
204 private static final String CALENDAR_UPDATE_COLOR_TRIGGER_SQL = "UPDATE " + Tables.CALENDARS
206 + Colors.ACCOUNT_NAME + "=" + "new." + Calendars.ACCOUNT_NAME + " AND "
207 + Colors.ACCOUNT_TYPE + "=" + "new." + Calendars.ACCOUNT_TYPE + " AND "
208 + Colors.COLOR_KEY + "=" + "new." + Calendars.CALENDAR_COLOR_KEY + " AND "
210 + " WHERE " + Calendars._ID + "=" + "old." + Calendars._ID
214 + CALENDAR_COLOR_UPDATE_TRIGGER_NAME + " UPDATE OF " + Calendars.CALENDAR_COLOR_KE
    [all...]
CalendarProvider2.java 48 import android.provider.CalendarContract.Calendars;
97 private static final String ACCOUNT_SELECTION_PREFIX = Calendars.ACCOUNT_NAME + "=? AND "
98 + Calendars.ACCOUNT_TYPE + "=?";
137 private static final String GENERIC_ACCOUNT_NAME = Calendars.ACCOUNT_NAME;
138 private static final String GENERIC_ACCOUNT_TYPE = Calendars.ACCOUNT_TYPE;
205 private static final String SQL_WHERE_CALENDAR_COLOR = Calendars.ACCOUNT_NAME + "=? AND "
206 + Calendars.ACCOUNT_TYPE + "=? AND " + Calendars.CALENDAR_COLOR_KEY + "=?";
209 + Tables.CALENDARS + " WHERE " + Events.ACCOUNT_NAME + "=? AND " + Events.ACCOUNT_TYPE
221 Tables.EVENTS + "." + Events.CALENDAR_ID + "=" + Tables.CALENDARS + "." + Calendars._ID
    [all...]
CalendarDebug.java 36 * Displays info about all the user's calendars, for debugging.
43 CalendarContract.Calendars._ID,
44 CalendarContract.Calendars.CALENDAR_DISPLAY_NAME,
84 cursor = mContentResolver.query(CalendarContract.Calendars.CONTENT_URI,
87 CalendarContract.Calendars.DEFAULT_SORT_ORDER);
  /packages/apps/Calendar/src/com/android/calendar/event/
CreateEventDialogFragment.java 28 import android.provider.CalendarContract.Calendars;
201 mService.startQuery(TOKEN_CALENDARS, null, Calendars.CONTENT_URI,
277 int calendarOwnerIndex = cursor.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT);
278 int accountNameIndex = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME);
279 int accountTypeIndex = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE);
305 int calendarIdIndex = cursor.getColumnIndexOrThrow(Calendars._ID);
306 int colorIndex = cursor.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR);
307 int calendarNameIndex = cursor.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME);
308 int accountNameIndex = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME);
309 int calendarOwnerIndex = cursor.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
CalendarColorPickerDialog.java 27 import android.provider.CalendarContract.Calendars;
49 Calendars.ACCOUNT_NAME,
50 Calendars.ACCOUNT_TYPE,
51 Calendars.CALENDAR_COLOR
150 values.put(Calendars.CALENDAR_COLOR_KEY, mColorKeyMap.get(color));
152 Calendars.CONTENT_URI, mCalendarId), values, null, null, Utils.UNDO_DELAY);
237 ContentUris.withAppendedId(Calendars.CONTENT_URI, mCalendarId),
CalendarSettingsActivity.java 28 import android.provider.CalendarContract.Calendars;
57 args.putString(Calendars.ACCOUNT_NAME, acct.name);
58 args.putString(Calendars.ACCOUNT_TYPE, acct.type);
  /packages/apps/Contacts/src/com/android/contacts/interactions/
CalendarInteractionsLoader.java 10 import android.provider.CalendarContract.Calendars;
83 * @return events inside phone owners' calendars, that are shared with people inside mEmails
128 * NOTE #1: This function is only needed for supporting non google accounts. For calendars
178 * @return the Ids of calendars that are owned by accounts on the phone.
181 String[] projection = new String[] {Calendars._ID, Calendars.CALENDAR_ACCESS_LEVEL};
182 Cursor cursor = getContext().getContentResolver().query(Calendars.CONTENT_URI, projection,
183 Calendars.VISIBLE + " = 1 AND " + Calendars.CALENDAR_ACCESS_LEVEL + " = ? ",
184 new String[] {String.valueOf(Calendars.CAL_ACCESS_OWNER)}, null)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
CalendarTest.java 35 import android.provider.CalendarContract.Calendars;
88 Calendars._ID,
89 Calendars.ACCOUNT_NAME,
90 Calendars.ACCOUNT_TYPE,
91 Calendars._SYNC_ID,
92 Calendars.CAL_SYNC7,
93 Calendars.CAL_SYNC8,
94 Calendars.DIRTY,
95 Calendars.NAME,
96 Calendars.CALENDAR_DISPLAY_NAME
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
CalendarTracker.java 27 import android.provider.CalendarContract.Calendars;
95 final String[] projection = { Calendars._ID,
96 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + primary };
100 cursor = mUserContext.getContentResolver().query(Calendars.CONTENT_URI, projection,
224 cr.registerContentObserver(Calendars.CONTENT_URI, true, mObserver, userId);
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeEventRuleSettings.java 25 import android.provider.CalendarContract.Calendars;
179 final List<CalendarInfo> calendars = new ArrayList<>(); local
183 addCalendars(userContext, calendars);
186 Collections.sort(calendars, CALENDAR_NAME);
187 return calendars;
200 final String[] projection = { Calendars._ID, Calendars.CALENDAR_DISPLAY_NAME,
201 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + primary };
205 cursor = context.getContentResolver().query(Calendars.CONTENT_URI, projection
    [all...]

Completed in 188 milliseconds

1 2 3