Home
last modified time | relevance | path

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

/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/
DTouchPointView.java40 private static final int[] COLORS = { field in TouchPointView
114 int color = COLORS[finger.pointerId % COLORS.length]; in onDraw()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java345 private static final int[] COLORS = { field in PresentTestFragment.DemoPresentationContents
372 this.mColor = COLORS[(int) (Math.random() * COLORS.length)]; in DemoPresentationContents()
/packages/apps/Car/libs/
Dresource_generator.py28 self.COLORS = "colors"
34 self.COLORS : self.HandleColors,
/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()
1568 + " SET calendar_color=(SELECT " + Colors.COLOR + " FROM " + Tables.COLORS in upgradeToVersion400()
1581 + " SET eventColor=(SELECT " + Colors.COLOR + " FROM " + Tables.COLORS + " WHERE " in upgradeToVersion400()
DCalendarProvider2.java263 private static final String SQL_DELETE_FROM_COLORS = "DELETE FROM " + Tables.COLORS + " WHERE "
1031 case COLORS: in queryInternal()
1032 qb.setTables(Tables.COLORS); in queryInternal()
2476 case COLORS: in insertInTransactionInner()
2918 return mDb.query(Tables.COLORS, COLORS_PROJECTION, COLOR_FULL_SELECTION, new String[] { in getColorByTypeIndex()
3339 case COLORS: in deleteInTransactionInner()
3837 Cursor c = mDb.query(Tables.COLORS, COLORS_PROJECTION, selection, selectionArgs, null, in deleteMatchingColors()
3880 return mDb.delete(Tables.COLORS, selection, selectionArgs); in deleteMatchingColors()
3946 int result = mDb.update(Tables.COLORS, values, selection, selectionArgs); in handleUpdateColors()
3949 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()