/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapBlendModeTest.java | 50 int[] colors = {Color.RED, Color.RED, Color.RED, Color.RED, Color.RED}; in testClearBlendMode() local 64 int[] colors = {Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, Color.RED}; in testDstOutBlendMode() local
|
D | CanvasTests.java | 105 int[] colors = { in testDrawDoubleRoundRect() local 146 int[] colors = { in testDrawDoubleRoundRectWithRadii() local 201 int[] colors = { in testDrawWithConcatenatedMatrix44() local 589 final int[] colors = new int[10]; in testDrawVerticesTooFewVerts() local 605 final int[] colors = new int[10]; in testDrawVerticesTooFewTexs() local 621 final int[] colors = new int[10]; in testDrawVerticesTooFewColors() local 637 final int[] colors = new int[10]; in testDrawVerticesTooFewIndices() local 915 int[] colors = { in testClipIntersectAndDifference() local
|
D | PaintTests.kt | 185 val colors = intArrayOf(Color.BLACK, Color.BLACK, Color.BLACK) in <lambda>() constant 195 val colors = intArrayOf(Color.BLUE, Color.GREEN, Color.YELLOW) in <lambda>() constant
|
D | ExactCanvasTests.java | 303 int[] colors = new int[] { Color.BLACK, Color.BLACK, Color.BLACK }; in testBlackTriangleVertices() local 364 int[] colors = new int[] { Color.BLACK, Color.BLACK, Color.BLACK }; in testBlackTriangleVertices2() local
|
D | BlendModeColorFilterTest.java | 87 private void testBlendModeColorFilter(int filterColor, BlendMode mode, int[] colors) { in testBlendModeColorFilter()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testclasses/ |
D | BitmapBlendModeTest.java | 51 int[] colors = {Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, Color.RED}; in testClearBlendMode() local 65 int[] colors = {Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, Color.RED}; in testDstOutBlendMode() local
|
D | ExpandingClipTest.java | 46 int[] colors = { in testClipReplace() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 68 final int[] colors = new int[] { Color.GREEN, Color.RED }; in test2Colors() local 78 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; in testColorArray() local 89 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; in testMultiColor() local 99 private void verifyColors(int[] colors, float[] positions, int tolerance) { in verifyColors() 177 int[] colors = null; in testNullColorInts() local 183 long[] colors = null; in testNullColorLongs() local 209 long[] colors = new long[2]; in testMismatchColorLongs() local 234 long[] colors = new long[2]; in testInvalidColorLongs() local
|
D | RadialGradientTest.java | 140 int[] colors = null; in testNullColorInts() local 146 long[] colors = null; in testNullColorLongs() local 172 long[] colors = new long[2]; in testMismatchColorLongs() local 197 long[] colors = new long[2]; in testInvalidColorLongs() local
|
D | BitmapTest.java | 340 int[] colors = createColors(100); in testCreateBitmap1() local 494 int[] colors = createColors(100); in testCreateBitmapFromColorsNegativeWidthHeight() local 502 int[] colors = createColors(100); in testCreateBitmapFromColorsIllegalStride() local 510 int[] colors = createColors(100); in testCreateBitmapFromColorsNegativeOffset() local 518 int[] colors = createColors(100); in testCreateBitmapFromColorsOffsetTooLarge() local 526 int[] colors = createColors(100); in testCreateBitmapFromColorsScalnlineTooLarge() local 534 int[] colors = createColors(100); in testCreateBitmap6() local 569 int[] colors = createColors(100); in testCreateBitmap_displayMetrics_mutable() local 596 int[] colors = createColors(100); in testCreateBitmap_displayMetrics_immutable() local 610 int[] colors = createColors(100); in testCreateBitmap_noDisplayMetrics_immutable() local [all …]
|
D | ColorTest.java | 57 int[][] colors = { in resourceColor() local
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 356 int[] colors; in testSetColors() local 710 int[] colors = drawable.getColors(); in testInflationWithThemeAndNonThemeResources() local 713 assertEquals(context.getColor(R.color.colorPrimary), colors[1]); in testInflationWithThemeAndNonThemeResources() local 714 assertEquals(context.getColor(R.color.colorPrimaryDark), colors[2]); in testInflationWithThemeAndNonThemeResources() local 728 int[] colors = drawable.getColors(); in testGradientColorInflationWithThemeAndNonThemeResources() local 731 assertEquals(context.getColor(R.color.colorAccent), colors[0]); in testGradientColorInflationWithThemeAndNonThemeResources() local 732 assertEquals(context.getColor(R.color.colorPrimary), colors[1]); in testGradientColorInflationWithThemeAndNonThemeResources() local 733 assertEquals(context.getColor(R.color.colorPrimaryDark), colors[2]); in testGradientColorInflationWithThemeAndNonThemeResources() local 747 int[] colors = drawable.getColors(); in testGradientColorInflationWithAllThemeResources() local 750 assertEquals(context.getColor(R.color.colorPrimary), colors[0]); in testGradientColorInflationWithAllThemeResources() local [all …]
|
D | ColorStateListDrawableTest.java | 56 final int[] colors = new int[]{Color.RED, Color.BLUE}; in setup() local 106 final int[] colors = new int[]{Color.MAGENTA, Color.CYAN}; in testHasFocusStateSpecified() local
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperColorsTest.java | 47 WallpaperColors colors = new WallpaperColors(colorList.get(0), colorList.get(1), in getWallpaperColorsTest() local 87 WallpaperColors colors = WallpaperColors.fromBitmap(bmp); in fromBitmapTest() local 97 WallpaperColors colors = WallpaperColors.fromDrawable(drawable); in fromDrawableTest() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SwitchTest.java | 109 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessThumbTint() local 126 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessThumbTintBlendMode() local 143 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessTrackTint() local 160 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessTrackTintBlendMode() local
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ColorStateListTest.java | 53 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testConstructor() local 106 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testWithAlpha() local 119 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testWithLStar() local
|
/cts/suite/cts/utils/ |
D | grapher.py | 29 colors = { variable
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
D | Cube.java | 44 int colors[] = { in Cube() local
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuItemTest.java | 94 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessIconTint() local
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | OrganizationInfoTest.java | 36 final int[] colors = { in testSetOrganizationColor() local
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | MultiFramePixelChecker.java | 31 public MultiFramePixelChecker(int[] colors) { in MultiFramePixelChecker()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | SamplePointWideGamutVerifier.java | 33 public SamplePointWideGamutVerifier(Point[] points, Color[] colors, float eps) { in SamplePointWideGamutVerifier()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | ASurfaceControlBackPressureTest.java | 219 int[] colors = new int[]{Color.RED, Color.GREEN, Color.BLUE}; in testSurfaceTransaction_setEnableBackPressure() local 249 int[] colors = new int[]{Color.RED, Color.GREEN, Color.BLUE}; in testSurfaceTransaction_defaultBackPressureDisabled() local
|
/cts/tests/tests/text/src/android/text/cts/ |
D | HtmlTest.java | 168 ForegroundColorSpan[] colors = s.getSpans(0, s.length(), type); in testColor() local 203 ForegroundColorSpan[] colors = s.getSpans(0, s.length(), type); in testColorInvalid() local 217 ForegroundColorSpan[] colors = s.getSpans(0, s.length(), type); in testUseCssColor() local
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | TextureTestRenderer.java | 71 int[] colors = { in TextureTestRenderer() local
|