Home
last modified time | relevance | path

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

/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
DVideoProvider.java52 private static final List<Integer> COLORS = Arrays.asList( field in VideoProvider
110 Collections.shuffle(COLORS); in makeIcon()
117 Shader shader = new LinearGradient(0, 0, width - 1, height - 1, COLORS.get(0), in makeIcon()
118 COLORS.get(1), TileMode.CLAMP); in makeIcon()
129 COLORS.get(2), COLORS.get(3), TileMode.CLAMP); in makeIcon()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java72 final ColorStateList[] COLORS = {
91 COLORS[random.nextInt(COLORS.length)],
92 COLORS[random.nextInt(COLORS.length)]);
/frameworks/support/paging/integration-tests/testapp/src/main/java/androidx/paging/integration/testapp/
DItemDataSource.java35 private static final int[] COLORS = new int[] { field in ItemDataSource
47 int bgColor = COLORS[mGenerationId % COLORS.length]; in loadRangeInternal()
/frameworks/base/libs/hwui/tests/common/scenes/
DPartialDamageAnimation.cpp32 static SkColor COLORS[] = { in createContent() local
40 SkColor color = COLORS[static_cast<int>((y / dp(116))) % 4]; in createContent()
DRecentsAnimation.cpp31 static SkColor COLORS[] = { in createContent() local
47 bitmap.eraseColor(COLORS[i]); in createContent()
/frameworks/base/packages/WallpaperCropper/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java230 final int COLORS = 12; in random_color() local
231 hsv[0] = irand(0,COLORS) * (360f/COLORS); in random_color()
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/
DCircularProgressDrawable.java97 private static final int[] COLORS = new int[]{ field in CircularProgressDrawable
140 mRing.setColors(COLORS); in CircularProgressDrawable()
/frameworks/base/libs/hwui/
DFontRenderer.cpp350 static const uint8_t COLORS[2] = {0, 255}; in cacheBitmap() local
364 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1]; in cacheBitmap()