Home
last modified time | relevance | path

Searched defs:colors (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapBlendModeTest.java50 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
DExactCanvasTests.java282 int[] colors = new int[] { Color.BLACK, Color.BLACK, Color.BLACK }; in testBlackTriangleVertices() local
343 int[] colors = new int[] { Color.BLACK, Color.BLACK, Color.BLACK }; in testBlackTriangleVertices2() local
DCanvasTests.java87 int[] colors = { in testDrawDoubleRoundRect() local
128 int[] colors = { in testDrawDoubleRoundRectWithRadii() local
520 final int[] colors = new int[10]; in testDrawVerticesTooFewVerts() local
536 final int[] colors = new int[10]; in testDrawVerticesTooFewTexs() local
552 final int[] colors = new int[10]; in testDrawVerticesTooFewColors() local
568 final int[] colors = new int[10]; in testDrawVerticesTooFewIndices() local
DPaintTests.kt185 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
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testclasses/
DBitmapBlendModeTest.java51 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
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java68 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
DSystemPalette.java191 final int[] colors = new int[13]; in getAllAccent1Colors() local
209 final int[] colors = new int[13]; in getAllAccent2Colors() local
227 final int[] colors = new int[13]; in getAllAccent3Colors() local
245 final int[] colors = new int[13]; in getAllNeutral1Colors() local
263 final int[] colors = new int[13]; in getAllNeutral2Colors() local
DRadialGradientTest.java140 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
DBitmapTest.java337 int[] colors = createColors(100); in testCreateBitmap1() local
491 int[] colors = createColors(100); in testCreateBitmapFromColorsNegativeWidthHeight() local
499 int[] colors = createColors(100); in testCreateBitmapFromColorsIllegalStride() local
507 int[] colors = createColors(100); in testCreateBitmapFromColorsNegativeOffset() local
515 int[] colors = createColors(100); in testCreateBitmapFromColorsOffsetTooLarge() local
523 int[] colors = createColors(100); in testCreateBitmapFromColorsScalnlineTooLarge() local
531 int[] colors = createColors(100); in testCreateBitmap6() local
566 int[] colors = createColors(100); in testCreateBitmap_displayMetrics_mutable() local
593 int[] colors = createColors(100); in testCreateBitmap_displayMetrics_immutable() local
607 int[] colors = createColors(100); in testCreateBitmap_noDisplayMetrics_immutable() local
[all …]
DColorTest.java47 int colors [][] = { in resourceColor() local
/cts/tests/tests/widget/src/android/widget/cts/
DSwitchTest.java101 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessThumbTint() local
118 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessThumbTintBlendMode() local
135 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessTrackTint() local
152 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessTrackTintBlendMode() local
/cts/tests/app/src/android/app/cts/
DWallpaperColorsTest.java47 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
DWallpaperManagerTest.java272 WallpaperColors colors = mWallpaperManager.getWallpaperColors( in wallpaperColors_primary() local
303 WallpaperColors colors = mWallpaperManager.getWallpaperColors( in wallpaperColors_secondary() local
576 public void onColorsChanged(WallpaperColors colors, int which) { in onColorsChanged()
/cts/tests/tests/content/src/android/content/res/cts/
DColorStateListTest.java35 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testConstructor() local
84 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testWithAlpha() local
96 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testWithLStar() local
/cts/suite/cts/utils/
Dgrapher.py29 colors = { variable
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DCube.java44 int colors[] = { in Cube() local
/cts/tests/tests/view/src/android/view/cts/
DMenuItemTest.java83 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessIconTint() local
DASurfaceControlBackPressureTest.java223 int[] colors = new int[]{PixelColor.RED, PixelColor.GREEN, PixelColor.BLUE}; in testSurfaceTransaction_setEnableBackPressure() local
255 int[] colors = new int[]{PixelColor.RED, PixelColor.GREEN, PixelColor.BLUE}; in testSurfaceTransaction_defaultBackPressureDisabled() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DOrganizationInfoTest.java36 final int[] colors = { in testSetOrganizationColor() local
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DMultiFramePixelChecker.java31 public MultiFramePixelChecker(int[] colors) { in MultiFramePixelChecker()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DSamplePointWideGamutVerifier.java33 public SamplePointWideGamutVerifier(Point[] points, Color[] colors, float eps) { in SamplePointWideGamutVerifier()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DColorStateListDrawableTest.java56 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
DGradientDrawableTest.java356 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
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java168 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/
DTextureTestRenderer.java71 int[] colors = { in TextureTestRenderer() local

12