Home
last modified time | relevance | path

Searched refs:COLORS (Results 1 – 3 of 3) sorted by relevance

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java154 public static final String COLORS = "Colors"; field
205 + " SET calendar_color=(SELECT " + Colors.COLOR + " FROM " + Tables.COLORS + " WHERE "
219 + " SET eventColor=(SELECT " + Colors.COLOR + " FROM " + Tables.COLORS + " WHERE "
330 mColorsInserter = new DatabaseUtils.InsertHelper(db, Tables.COLORS); in onOpen()
749 db.execSQL("CREATE TABLE " + Tables.COLORS + " (" + in createColorsTable()
1563 + " SET calendar_color=(SELECT " + Colors.COLOR + " FROM " + Tables.COLORS in upgradeToVersion400()
1576 + " SET eventColor=(SELECT " + Colors.COLOR + " FROM " + Tables.COLORS + " WHERE " in upgradeToVersion400()
DCalendarProvider2.java249 private static final String SQL_DELETE_FROM_COLORS = "DELETE FROM " + Tables.COLORS + " WHERE "
871 case COLORS: in queryInternal()
872 qb.setTables(Tables.COLORS); in queryInternal()
2225 case COLORS: in insertInTransaction()
2667 return mDb.query(Tables.COLORS, COLORS_PROJECTION, COLOR_FULL_SELECTION, new String[] { in getColorByTypeIndex()
3075 case COLORS: in deleteInTransaction()
3573 Cursor c = mDb.query(Tables.COLORS, COLORS_PROJECTION, selection, selectionArgs, null, in deleteMatchingColors()
3616 return mDb.delete(Tables.COLORS, selection, selectionArgs); in deleteMatchingColors()
3682 int result = mDb.update(Tables.COLORS, values, selection, selectionArgs); in handleUpdateColors()
3685 c = mDb.query(Tables.COLORS, COLORS_PROJECTION, selection, selectionArgs, in handleUpdateColors()
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java327 private static final int[] COLORS = new int[] { field in TiledImageView.ColoredTiles
368 mCanvas.drawColor(COLORS[level]); in getTile()