Home
last modified time | relevance | path

Searched refs:WHITE (Results 1 – 25 of 93) sorted by relevance

1234

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapFilterTests.java74 bitmap.setPixel(i, j, isWhite ? Color.WHITE : Color.BLACK); in createGridBitmap()
151 Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE,
152 Color.WHITE, Color.BLACK, Color.BLACK, Color.BLACK, Color.WHITE,
153 Color.WHITE, Color.BLACK, Color.BLACK, Color.BLACK, Color.WHITE,
154 Color.WHITE, Color.BLACK, Color.BLACK, Color.BLACK, Color.WHITE,
155 Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE},
175 .addVerifier(whiteArea, new ColorVerifier(Color.WHITE, 0))); in testDrawSnapped()
200 .addVerifier(whiteArea, new ColorVerifier(Color.WHITE, 16))); in testDrawHalfPixelFiltered()
DBitmapBlendModeTest.java64 int[] colors = {Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, Color.RED}; in testDstOutBlendMode()
DExactCanvasTests.java61 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, rect)); in testBlueRect()
124 canvas.drawColor(Color.WHITE); in testDrawLine()
138 .addCanvasClient((canvas, width, height) -> canvas.drawColor(Color.WHITE)) in testDrawWhiteScreen()
149 p.setColor(Color.WHITE); in testBasicText()
218 BitmapVerifier verifier = new RectVerifier(Color.WHITE, Color.BLUE, in testBluePaddedSquare()
223 canvas.drawColor(Color.WHITE); in testBluePaddedSquare()
255 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, in testSaveLayerRounding()
267 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, in testUnclippedSaveLayerRounding()
305 return CompareUtils.verifyPixelWithThreshold(observedColor, Color.WHITE, 0); in testBlackTriangleVertices2()
312 return CompareUtils.verifyPixelWithThreshold(observedColor, Color.WHITE, 0); in testBlackTriangleVertices2()
[all …]
DViewFadingEdgeTests.java102 Color.WHITE, in testCreateLeftFade()
129 Color.WHITE in testCreateRightFade()
149 Color.WHITE, in testCreateTopFade()
175 Color.WHITE in testCreateBottomFade()
197 Color.WHITE, in testCreateLeftAndRightFade()
201 Color.WHITE in testCreateLeftAndRightFade()
DShaderTests.java153 Color.TRANSPARENT, Color.WHITE, Shader.TileMode.REPEAT)); in testRepeatAlphaGradientShader()
155 canvas.drawColor(Color.WHITE); in testRepeatAlphaGradientShader()
159 .runWithVerifier(new ColorVerifier(Color.WHITE)); in testRepeatAlphaGradientShader()
171 Color.TRANSPARENT, Color.WHITE, Shader.TileMode.CLAMP)); in testClampAlphaGradientShader()
173 canvas.drawColor(Color.WHITE); in testClampAlphaGradientShader()
177 .runWithVerifier(new ColorVerifier(Color.WHITE)); in testClampAlphaGradientShader()
DShadowTests.java56 Color.WHITE, in createVerifier()
57 Color.WHITE, in createVerifier()
105 if (color == Color.WHITE) return true; in testRedSpotShadow()
121 if (color == Color.WHITE) return true; in testRedAmbientShadow()
137 if (color == Color.WHITE) return true; in testRedAmbientBlueSpotShadow()
DForceDarkTests.java83 .runWithVerifier(new RectVerifier(Color.BLACK, Color.WHITE, rect, 100)); in testFgRect()
100 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, rect, 0)); in testFgRectDisable()
113 canvas.drawColor(Color.WHITE); in testSiblings()
123 .runWithVerifier(new RectVerifier(Color.BLACK, Color.WHITE, fgRect, 100)); in testSiblings()
DLayoutTests.java45 new RectVerifier(Color.WHITE, Color.BLUE, new Rect(5, 5, 85, 85))); in testSimpleRectLayout()
60 Color.WHITE in testTransformChildViewLayout()
DPathClippingTests.java135 Color.WHITE, in testCircleWithPoints()
137 Color.WHITE, in testCircleWithPoints()
138 Color.WHITE, in testCircleWithPoints()
165 Color.WHITE, in testViewRotate()
166 Color.WHITE, in testViewRotate()
DCanvasTests.java88 Color.WHITE, in testDrawDoubleRoundRect()
89 Color.WHITE, in testDrawDoubleRoundRect()
90 Color.WHITE, in testDrawDoubleRoundRect()
91 Color.WHITE, in testDrawDoubleRoundRect()
100 paint.setColor(Color.WHITE); in testDrawDoubleRoundRect()
130 Color.WHITE, in testDrawDoubleRoundRectWithRadii()
131 Color.WHITE, in testDrawDoubleRoundRectWithRadii()
132 Color.WHITE, in testDrawDoubleRoundRectWithRadii()
141 paint.setColor(Color.WHITE); in testDrawDoubleRoundRectWithRadii()
179 canvas.drawColor(Color.WHITE); in drawRotatedBitmap()
[all …]
DPictureTest.java62 ).runWithVerifier(new ColorVerifier(Color.WHITE)); in testPictureRespectsClip()
75 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
DInfrastructureTests.java48 canvas.drawColor(canvas.isHardwareAccelerated() ? Color.BLACK : Color.WHITE); in testRenderSpecIsolation()
77 .runWithVerifier(new RectVerifier(Color.WHITE, Color.RED, clipRect)); in testViewInitializer()
/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()
65 int[] colors = {Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, Color.RED}; in testDstOutBlendMode()
/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java62 Color.WHITE, null); in testBasics()
89 Color.WHITE, colorRectangles); in testOverlayWithOneDrawable()
94 Color.WHITE, null); in testOverlayWithOneDrawable()
109 Color.WHITE, colorRectangles); in testAddTheSameDrawableTwice()
114 Color.WHITE, null); in testAddTheSameDrawableTwice()
128 Color.WHITE, colorRectangles); in testRemoveTheSameDrawableTwice()
135 Color.WHITE, null); in testRemoveTheSameDrawableTwice()
158 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingDrawables()
166 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingDrawables()
171 Color.WHITE, null); in testOverlayWithNonOverlappingDrawables()
[all …]
DViewGroupOverlayTest.java80 Color.WHITE, null); in testBasics()
109 mViewGroupWithOverlay, Color.WHITE, colorRectangles); in testOverlayWithOneView()
114 Color.WHITE, null); in testOverlayWithOneView()
140 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViews()
148 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViews()
153 Color.WHITE, null); in testOverlayWithNonOverlappingViews()
173 mViewGroupWithOverlay, Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViewAndDrawable()
180 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViewAndDrawable()
185 Color.WHITE, null); in testOverlayWithNonOverlappingViewAndDrawable()
208 Color.WHITE, colorRectangles); in testOverlayWithOverlappingViews()
[all …]
/cts/tests/app/src/android/app/cts/
DWallpaperColorsTest.java43 colorList.add(Color.valueOf(Color.WHITE)); in getWallpaperColorsTest()
57 WallpaperColors colors2 = new WallpaperColors(Color.valueOf(Color.WHITE), null, null); in equalsTest()
69 WallpaperColors wallpaperColors = new WallpaperColors(Color.valueOf(Color.WHITE), in parcelTest()
114 WallpaperColors wallpaperColors = new WallpaperColors(Color.valueOf(Color.WHITE), in wallpaperColorsHints_default()
121 WallpaperColors wallpaperColors = new WallpaperColors(Color.valueOf(Color.WHITE), in wallpaperColorsHints_ctor()
127 wallpaperColors = new WallpaperColors(Color.valueOf(Color.WHITE), in wallpaperColorsHints_ctor()
135 wallpaperColors = new WallpaperColors(Color.valueOf(Color.WHITE), in wallpaperColorsHints_ctor()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DColorDrawableTest.java142 final ColorDrawable d = new ColorDrawable(Color.WHITE); in testSetColorFilter()
143 assertEquals(Color.WHITE, DrawableTestUtils.getPixel(d, 0, 0)); in testSetColorFilter()
154 final ColorDrawable d = new ColorDrawable(Color.WHITE); in testGetColorFilter()
163 final ColorDrawable d = new ColorDrawable(Color.WHITE); in testSetTint()
164 assertEquals(Color.WHITE, DrawableTestUtils.getPixel(d, 0, 0)); in testSetTint()
173 final ColorDrawable d = new ColorDrawable(Color.WHITE); in testDraw()
180 assertEquals(Color.WHITE, pixel); in testDraw()
/cts/tests/tests/graphics/src/android/graphics/cts/
DLightingColorFilterTest.java51 paint.setColorFilter(new LightingColorFilter(Color.WHITE, Color.BLACK)); in testLightingColorFilter()
74 paint.setColorFilter(new LightingColorFilter(Color.WHITE, Color.MAGENTA)); in testLightingColorFilter()
96 LightingColorFilter filter = new LightingColorFilter(Color.WHITE, Color.BLACK); in testGetColorAdd()
106 LightingColorFilter filter = new LightingColorFilter(Color.WHITE, Color.BLACK); in testGetColorMultiply()
107 ColorUtils.verifyColor(Color.WHITE, filter.getColorMultiply()); in testGetColorMultiply()
DComposeShaderTest.java135 assertEquals(Color.WHITE, bitmap.getPixel(0, 0)); in testXfermode()
165 assertEquals(Color.WHITE, bitmap.getPixel(1, 1)); in testChildLocalMatrix()
172 assertEquals(Color.WHITE, bitmap.getPixel(2, 2)); in testChildLocalMatrix()
180 assertEquals(Color.WHITE, bitmap.getPixel(2, 2)); in testChildLocalMatrix()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java448 Color.WHITE, tintedProgressBar.getProgressTintList().getDefaultColor()); in testProgressTint()
453 Color.WHITE, tintedProgressBar.getProgressBackgroundTintList().getDefaultColor()); in testProgressTint()
458 Color.WHITE, tintedProgressBar.getSecondaryProgressTintList().getDefaultColor()); in testProgressTint()
468 mProgressBar.setProgressBackgroundTintList(ColorStateList.valueOf(Color.WHITE)); in testProgressTint()
472 mProgressBar.setSecondaryProgressTintList(ColorStateList.valueOf(Color.WHITE)); in testProgressTint()
476 mProgressBar.setProgressTintList(ColorStateList.valueOf(Color.WHITE)); in testProgressTint()
478 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTint()
493 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTint()
502 Color.WHITE, tintedProgressBar.getProgressTintList().getDefaultColor()); in testProgressTintBlendMode()
507 Color.WHITE, tintedProgressBar.getProgressBackgroundTintList().getDefaultColor()); in testProgressTintBlendMode()
[all …]
DCompoundButtonTest.java398 Color.WHITE, tintedButton.getButtonTintList().getDefaultColor()); in testButtonTint()
408 mCompoundButton.setButtonTintList(ColorStateList.valueOf(Color.WHITE)); in testButtonTint()
410 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTint()
416 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTint()
425 Color.WHITE, tintedButton.getButtonTintList().getDefaultColor()); in testButtonTintBlendMode()
435 mCompoundButton.setButtonTintList(ColorStateList.valueOf(Color.WHITE)); in testButtonTintBlendMode()
437 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTintBlendMode()
443 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTintBlendMode()
DAbsSeekBarTest.java312 Color.WHITE, inflatedView.getThumbTintList().getDefaultColor()); in testThumbTint()
319 verify(mockThumb, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testThumbTint()
343 Color.WHITE, inflatedView.getThumbTintList().getDefaultColor()); in testThumbTintBlendMode()
351 .setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testThumbTintBlendMode()
375 Color.WHITE, inflatedView.getTickMarkTintList().getDefaultColor()); in testTickMarkTint()
383 .setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testTickMarkTint()
407 Color.WHITE, inflatedView.getTickMarkTintList().getDefaultColor()); in testTickMarkTintBlendMode()
415 .setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testTickMarkTintBlendMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DColour.java34 public static final float[] WHITE = new float[]{ field in Colour
/cts/tests/tests/uirendering27/src/android/uirendering/cts/differencevisualizers/
DPassFailVisualizer.java34 output[y] = Color.WHITE; in getDifferences()
/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/
DPassFailVisualizer.java34 output[y] = Color.WHITE; in getDifferences()

1234