Home
last modified time | relevance | path

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

/aosp12/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewOnMeasurePerfTest.java68 final ColorStateList[] COLORS = {
87 COLORS[random.nextInt(COLORS.length)],
88 COLORS[random.nextInt(COLORS.length)]);
/aosp12/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/
H A DTouchPointView.java40 private static final int[] COLORS = { field in TouchPointView
114 int color = COLORS[finger.pointerId % COLORS.length]; in onDraw()
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/
H A DPartialDamageAnimation.cpp32 static SkColor COLORS[] = { in createContent() local
40 SkColor color = COLORS[static_cast<int>((y / dp(116))) % 4]; in createContent()
H A DRecentsAnimation.cpp31 static SkColor COLORS[] = { in createContent() local
47 bitmap.eraseColor(COLORS[i]); in createContent()
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/
H A DPaintChipsWidget.kt146 var COLORS = arrayOf( regex
197 to buildWidget(context, SHADE_NUMBERS.size, COLORS.size, ClickBehavior.LAUNCH)
205 return buildWidget(context, SHADE_NUMBERS.size, COLORS.size, clickable)
220 COLORS.forEachIndexed colorLoop@{ i, colorlist ->
/aosp12/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
H A DPresentTestFragment.java345 private static final int[] COLORS = { field in PresentTestFragment.DemoPresentationContents
372 this.mColor = COLORS[(int) (Math.random() * COLORS.length)]; in DemoPresentationContents()
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java327 private static final int[] COLORS = new int[] { field in TiledImageView.ColoredTiles
368 mCanvas.drawColor(COLORS[level]); in getTile()
/aosp12/packages/apps/Gallery2/src/com/android/photos/views/
H A DTiledImageView.java327 private static final int[] COLORS = new int[] { field in TiledImageView.ColoredTiles
368 mCanvas.drawColor(COLORS[level]); in getTile()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java230 final int COLORS = 12; in random_color() local
231 hsv[0] = irand(0,COLORS) * (360f/COLORS); in random_color()
/aosp12/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A 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()
H A DCalendarProvider2.java1051 case COLORS: in queryInternal()
1052 qb.setTables(Tables.COLORS); in queryInternal()
2500 case COLORS: in insertInTransactionInner()
3363 case COLORS: in deleteInTransactionInner()
3904 return mDb.delete(Tables.COLORS, selection, selectionArgs); in deleteMatchingColors()
4246 case COLORS: in updateInTransactionInner()
4602 case COLORS: in verifyTransactionAllowed()
4630 case COLORS: in verifyTransactionAllowed()
4893 private static final int COLORS = 32; field in CalendarProvider2
4951 sUriMatcher.addURI(CalendarContract.AUTHORITY, "colors", COLORS); in sUriMatcher.addURI() argument
[all …]