Home
last modified time | relevance | path

Searched refs:COLORS (Results 1 – 8 of 8) 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/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
DAbstractTouchPointView.java41 private static final int[] COLORS = { field in AbstractTouchPointView
120 int color = COLORS[finger.mPointerId % COLORS.length]; in onDraw()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModelTest.java69 private static final int COLORS = 0; field in MediaViewModelTest
229 when(mColors.getAccentColor(DEFAULT_COLORS)).thenReturn(COLORS); in changeColor_updateModel()
241 assertEquals(seekBarViewModel.getSeekBarColor(), COLORS); in changeColor_updateModel() local
/packages/apps/ThemePicker/src/com/android/wallpaper/customization/ui/util/
DThemePickerCustomizationOptionUtil.kt46 COLORS,
106 ThemePickerHomeCustomizationOption.COLORS to in getOptionEntries()
/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/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()
/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.java266 private static final String SQL_DELETE_FROM_COLORS = "DELETE FROM " + Tables.COLORS + " WHERE "
1050 case COLORS: in queryInternal()
1051 qb.setTables(Tables.COLORS); in queryInternal()
2499 case COLORS: in insertInTransactionInner()
2941 return mDb.query(Tables.COLORS, COLORS_PROJECTION, COLOR_FULL_SELECTION, new String[] { in getColorByTypeIndex()
3362 case COLORS: in deleteInTransactionInner()
3860 Cursor c = mDb.query(Tables.COLORS, COLORS_PROJECTION, selection, selectionArgs, null, in deleteMatchingColors()
3903 return mDb.delete(Tables.COLORS, selection, selectionArgs); in deleteMatchingColors()
3969 int result = mDb.update(Tables.COLORS, values, selection, selectionArgs); in handleUpdateColors()
3972 c = mDb.query(Tables.COLORS, COLORS_PROJECTION, selection, selectionArgs, in handleUpdateColors()
[all …]