Searched refs:COLORS (Results 1 – 9 of 9) sorted by relevance
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/ |
D | VideoProvider.java | 52 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/ |
D | TextViewOnMeasurePerfTest.java | 72 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/ |
D | ItemDataSource.java | 35 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/ |
D | PartialDamageAnimation.cpp | 32 static SkColor COLORS[] = { in createContent() local 40 SkColor color = COLORS[static_cast<int>((y / dp(116))) % 4]; in createContent()
|
D | RecentsAnimation.cpp | 31 static SkColor COLORS[] = { in createContent() local 47 bitmap.eraseColor(COLORS[i]); in createContent()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 327 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/ |
D | DessertCaseView.java | 230 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/ |
D | CircularProgressDrawable.java | 97 private static final int[] COLORS = new int[]{ field in CircularProgressDrawable 140 mRing.setColors(COLORS); in CircularProgressDrawable()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 350 static const uint8_t COLORS[2] = {0, 255}; in cacheBitmap() local 364 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1]; in cacheBitmap()
|