Home
last modified time | relevance | path

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

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java34 import android.provider.CalendarContract.Colors;
205 + " SET calendar_color=(SELECT " + Colors.COLOR + " FROM " + Tables.COLORS + " WHERE "
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 "
209 + Colors.COLOR_TYPE + "=" + Colors.TYPE_CALENDAR + ") "
219 + " SET eventColor=(SELECT " + Colors.COLOR + " FROM " + Tables.COLORS + " WHERE "
220 + Colors.ACCOUNT_NAME + "=" + "(SELECT " + Calendars.ACCOUNT_NAME + " FROM "
222 + ") AND " + Colors.ACCOUNT_TYPE + "=" + "(SELECT " + Calendars.ACCOUNT_TYPE + " FROM "
224 + ") AND " + Colors.COLOR_KEY + "=" + "new." + Events.EVENT_COLOR_KEY + " AND "
[all …]
DCalendarProvider2.java49 import android.provider.CalendarContract.Colors;
121 Colors.ACCOUNT_NAME,
122 Colors.ACCOUNT_TYPE,
123 Colors.COLOR_TYPE,
124 Colors.COLOR_KEY,
125 Colors.COLOR,
133 private static final String COLOR_FULL_SELECTION = Colors.ACCOUNT_NAME + "=? AND "
134 + Colors.ACCOUNT_TYPE + "=? AND " + Colors.COLOR_TYPE + "=? AND " + Colors.COLOR_KEY
1747 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT); in handleInsertException()
2140 Colors.TYPE_EVENT); in insertInTransaction()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarColorPickerDialog.java28 import android.provider.CalendarContract.Colors;
59 Colors.COLOR,
60 Colors.COLOR_KEY
63 static final String COLORS_WHERE = Colors.ACCOUNT_NAME + "=? AND " + Colors.ACCOUNT_TYPE +
64 "=? AND " + Colors.COLOR_TYPE + "=" + Colors.TYPE_CALENDAR;
104 Uri uri = Colors.CONTENT_URI; in onQueryComplete()
DEventInfoFragment.java54 import android.provider.CalendarContract.Colors;
293 Colors._ID, // 0
294 Colors.COLOR, // 1
295 Colors.COLOR_KEY // 2
298 static final String COLORS_WHERE = Colors.ACCOUNT_NAME + "=? AND " + Colors.ACCOUNT_TYPE +
299 "=? AND " + Colors.COLOR_TYPE + "=" + Colors.TYPE_EVENT;
510 uri = Colors.CONTENT_URI; in onQueryComplete()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java37 import android.provider.CalendarContract.Colors;
89 private static final String WHERE_COLOR_ACCOUNT_AND_INDEX = Colors.ACCOUNT_NAME + "=? AND "
90 + Colors.ACCOUNT_TYPE + "=? AND " + Colors.COLOR_KEY + "=?";
1106 m.put(Colors.ACCOUNT_NAME, DEFAULT_ACCOUNT); in insertColor()
1107 m.put(Colors.ACCOUNT_TYPE, DEFAULT_ACCOUNT_TYPE); in insertColor()
1108 m.put(Colors.DATA, obsToString(colorType, colorKey, color)); in insertColor()
1109 m.put(Colors.COLOR_TYPE, colorType); in insertColor()
1110 m.put(Colors.COLOR_KEY, colorKey); in insertColor()
1111 m.put(Colors.COLOR, color); in insertColor()
1113 Uri uri = CalendarContract.Colors.CONTENT_URI; in insertColor()
[all …]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DCalendarColorCache.java21 import android.provider.CalendarContract.Colors;
43 private static String[] PROJECTION = new String[] {Colors.ACCOUNT_NAME, Colors.ACCOUNT_TYPE };
77 mService.startQuery(0, null, Colors.CONTENT_URI, PROJECTION, in CalendarColorCache()
78 Colors.COLOR_TYPE + "=" + Colors.TYPE_CALENDAR, null, null); in CalendarColorCache()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java28 import android.provider.CalendarContract.Colors;
207 Colors._ID, // 0
208 Colors.ACCOUNT_NAME,
209 Colors.ACCOUNT_TYPE,
210 Colors.COLOR, // 1
211 Colors.COLOR_KEY // 2
214 static final String COLORS_WHERE = Colors.ACCOUNT_NAME + "=? AND " + Colors.ACCOUNT_TYPE +
215 "=? AND " + Colors.COLOR_TYPE + "=" + Colors.TYPE_EVENT;
DEditEventFragment.java39 import android.provider.CalendarContract.Colors;
250 mHandler.startQuery(TOKEN_COLORS, null, Colors.CONTENT_URI, in onQueryComplete()
252 Colors.COLOR_TYPE + "=" + Colors.TYPE_EVENT, null, null); in onQueryComplete()
536 mHandler.startQuery(TOKEN_COLORS, null, Colors.CONTENT_URI, in startQuery()
538 Colors.COLOR_TYPE + "=" + Colors.TYPE_EVENT, null, null); in startQuery()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColors.java32 public class Colors extends DreamService implements TextureView.SurfaceTextureListener { class
33 static final String TAG = Colors.class.getSimpleName();
/packages/apps/Messaging/jni/
DGifTranscoder.cpp283 gifIn->SColorMap->Colors[gifIn->SBackGroundColor]; in resizeBoxFilter()
474 ColorARGB indexedColor = gifColorToColorARGB(colorMap->Colors[i]); in findBestColor()
502 return gifColorToColorARGB(colorMap->Colors[colorIndex]); in getColorARGB()