Home
last modified time | relevance | path

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

123

/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java61 Color.WHITE, null); in testBasics()
88 Color.WHITE, colorRectangles); in testOverlayWithOneDrawable()
93 Color.WHITE, null); in testOverlayWithOneDrawable()
108 Color.WHITE, colorRectangles); in testAddTheSameDrawableTwice()
113 Color.WHITE, null); in testAddTheSameDrawableTwice()
127 Color.WHITE, colorRectangles); in testRemoveTheSameDrawableTwice()
134 Color.WHITE, null); in testRemoveTheSameDrawableTwice()
157 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingDrawables()
165 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingDrawables()
170 Color.WHITE, null); in testOverlayWithNonOverlappingDrawables()
[all …]
DViewGroupOverlayTest.java79 Color.WHITE, null); in testBasics()
108 mViewGroupWithOverlay, Color.WHITE, colorRectangles); in testOverlayWithOneView()
113 Color.WHITE, null); in testOverlayWithOneView()
139 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViews()
147 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViews()
152 Color.WHITE, null); in testOverlayWithNonOverlappingViews()
172 mViewGroupWithOverlay, Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViewAndDrawable()
179 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViewAndDrawable()
184 Color.WHITE, null); in testOverlayWithNonOverlappingViewAndDrawable()
207 Color.WHITE, colorRectangles); in testOverlayWithOverlappingViews()
[all …]
DTextureViewTest.java74 waitForColor(center, Color.WHITE); in testFirstFrames()
83 assertEquals(Color.WHITE, getPixel(center)); in testFirstFrames()
87 int color = waitForChange(center, Color.WHITE); in testFirstFrames()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralButtonsActivity.java79 mBtnALabelTxt.setTextColor(Color.WHITE); in showButtonsState()
80 mBtnAStatusTxt.setTextColor(Color.WHITE); in showButtonsState()
86 mBtnBLabelTxt.setTextColor(Color.WHITE); in showButtonsState()
87 mBtnBStatusTxt.setTextColor(Color.WHITE); in showButtonsState()
93 mBtnCLabelTxt.setTextColor(Color.WHITE); in showButtonsState()
94 mBtnCStatusTxt.setTextColor(Color.WHITE); in showButtonsState()
100 mBtnDLabelTxt.setTextColor(Color.WHITE); in showButtonsState()
101 mBtnDStatusTxt.setTextColor(Color.WHITE); in showButtonsState()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DLayerTests.java127 final int expectedColor = Color.WHITE; in testLayerPaintBlend()
177 .runWithAnimationVerifier(new ColorCountVerifier(Color.WHITE, 90 * 90 - 50 * 50)); in testLayerClear()
201 .runWithVerifier(new RectVerifier(Color.WHITE, 0xff8080ff, in testAlphaLayerChild()
225 .runWithVerifier(new ColorVerifier(Color.WHITE, 0 /* zero tolerance */)); in testLayerInitialSizeZero()
266 .runWithVerifier(new ColorVerifier(Color.WHITE, 0 /* zero tolerance */)); in testLayerResizeZero()
294 .runWithVerifier(new RectVerifier(Color.WHITE, Color.GREEN, new Rect(40, 40, 70, 70))); in testSaveLayerClippedWithColorFilter()
327 .runWithVerifier(new RectVerifier(Color.WHITE, Color.RED, new Rect(10, 10, 70, 70))); in testSaveLayerUnclippedWithColorFilterHW()
369 Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, in testSaveLayerUnclippedWithColorFilterSW()
390 .runWithVerifier(new RectVerifier(Color.WHITE, 0xffffE0E0, new Rect(40, 40, 70, 70))); in testSaveLayerClippedWithAlpha()
420 Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE, in testSaveLayerUnclippedWithAlpha()
DExactCanvasTests.java56 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, rect)); in testBlueRect()
119 canvas.drawColor(Color.WHITE); in testDrawLine()
132 .addCanvasClient((canvas, width, height) -> canvas.drawColor(Color.WHITE)) in testDrawWhiteScreen()
143 p.setColor(Color.WHITE); in testBasicText()
204 BitmapVerifier verifier = new RectVerifier(Color.WHITE, Color.BLUE, in testBluePaddedSquare()
212 canvas.drawColor(Color.WHITE); in testBluePaddedSquare()
244 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, in testSaveLayerRounding()
256 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, in testUnclippedSaveLayerRounding()
DShaderTests.java152 Color.TRANSPARENT, Color.WHITE, Shader.TileMode.REPEAT)); in testRepeatAlphaGradientShader()
154 canvas.drawColor(Color.WHITE); in testRepeatAlphaGradientShader()
158 .runWithVerifier(new ColorVerifier(Color.WHITE)); in testRepeatAlphaGradientShader()
170 Color.TRANSPARENT, Color.WHITE, Shader.TileMode.CLAMP)); in testClampAlphaGradientShader()
172 canvas.drawColor(Color.WHITE); in testClampAlphaGradientShader()
176 .runWithVerifier(new ColorVerifier(Color.WHITE)); in testClampAlphaGradientShader()
DPathClippingTests.java118 Color.WHITE, in testCircleWithPoints()
120 Color.WHITE, in testCircleWithPoints()
121 Color.WHITE, in testCircleWithPoints()
148 Color.WHITE, in testViewRotate()
149 Color.WHITE, in testViewRotate()
DShadowTests.java65 Color.WHITE, in testShadowLayout()
66 Color.WHITE, in testShadowLayout()
DPictureTest.java61 ).runWithVerifier(new ColorVerifier(Color.WHITE)); in testPictureRespectsClip()
74 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
DInfrastructureTests.java56 canvas.drawColor(canvas.isHardwareAccelerated() ? Color.BLACK : Color.WHITE); in testRenderSpecIsolation()
85 .runWithVerifier(new RectVerifier(Color.WHITE, Color.RED, clipRect)); in testViewInitializer()
DLayoutTests.java42 new RectVerifier(Color.WHITE, Color.BLUE, new Rect(5, 5, 85, 85))); in testSimpleRectLayout()
DVectorDrawableTests.java45 new RectVerifier(Color.WHITE, Color.RED, new Rect(0, 0, 25, 25))); in testScaleDown()
DGradientTests.java44 paint.setColor(Color.WHITE); in testAlphaPreMultiplication()
/cts/tests/tests/graphics/src/android/graphics/cts/
DLightingColorFilterTest.java50 paint.setColorFilter(new LightingColorFilter(Color.WHITE, Color.BLACK)); in testLightingColorFilter()
73 paint.setColorFilter(new LightingColorFilter(Color.WHITE, Color.MAGENTA)); in testLightingColorFilter()
95 LightingColorFilter filter = new LightingColorFilter(Color.WHITE, Color.BLACK); in testGetColorAdd()
105 LightingColorFilter filter = new LightingColorFilter(Color.WHITE, Color.BLACK); in testGetColorMultiply()
106 ColorUtils.verifyColor(Color.WHITE, filter.getColorMultiply()); in testGetColorMultiply()
DComposeShaderTest.java100 assertEquals(Color.WHITE, bitmap.getPixel(0, 0)); in testXfermode()
130 assertEquals(Color.WHITE, bitmap.getPixel(1, 1)); in testChildLocalMatrix()
137 assertEquals(Color.WHITE, bitmap.getPixel(2, 2)); in testChildLocalMatrix()
145 assertEquals(Color.WHITE, bitmap.getPixel(2, 2)); in testChildLocalMatrix()
DPaintFlagsDrawFilterTest.java120 int colors[] = new int [] { Color.WHITE, Color.BLACK }; in testPaintFlagsDrawFilter2()
172 if (color != Color.BLACK && color != Color.WHITE) { in verifyContainsNonBW()
188 assertTrue(color == Color.BLACK || color == Color.WHITE); in verifyContainsOnlyBlackAndWhite()
DColorTest.java92 assertEquals(Color.WHITE, Color.parseColor("white")); in testParseColor()
142 assertEquals(1, Color.luminance(Color.WHITE), 0); in testLuminance()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DColorDrawableTest.java140 final ColorDrawable d = new ColorDrawable(Color.WHITE); in testSetColorFilter()
141 assertEquals(Color.WHITE, DrawableTestUtils.getPixel(d, 0, 0)); in testSetColorFilter()
152 final ColorDrawable d = new ColorDrawable(Color.WHITE); in testSetTint()
153 assertEquals(Color.WHITE, DrawableTestUtils.getPixel(d, 0, 0)); in testSetTint()
162 final ColorDrawable d = new ColorDrawable(Color.WHITE); in testDraw()
169 assertEquals(Color.WHITE, pixel); in testDraw()
/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/widget/src/android/widget/cts/
DProgressBarTest.java429 Color.WHITE, tintedProgressBar.getProgressTintList().getDefaultColor()); in testProgressTint()
434 Color.WHITE, tintedProgressBar.getProgressBackgroundTintList().getDefaultColor()); in testProgressTint()
439 Color.WHITE, tintedProgressBar.getSecondaryProgressTintList().getDefaultColor()); in testProgressTint()
449 mProgressBar.setProgressBackgroundTintList(ColorStateList.valueOf(Color.WHITE)); in testProgressTint()
453 mProgressBar.setSecondaryProgressTintList(ColorStateList.valueOf(Color.WHITE)); in testProgressTint()
457 mProgressBar.setProgressTintList(ColorStateList.valueOf(Color.WHITE)); in testProgressTint()
459 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTint()
474 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTint()
484 Color.WHITE, tintedProgressBar.getIndeterminateTintList().getDefaultColor()); in testIndeterminateTint()
DCompoundButtonTest.java361 Color.WHITE, tintedButton.getButtonTintList().getDefaultColor()); in testButtonTint()
371 mCompoundButton.setButtonTintList(ColorStateList.valueOf(Color.WHITE)); in testButtonTint()
373 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTint()
379 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTint()
/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/
DPassFailVisualizer.java34 output[y] = Color.WHITE; in getDifferences()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DBitmapVerifier.java25 protected static final int PASS_COLOR = Color.WHITE;
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DScreenshotActivity.java40 int backgroundColor = getIntent().getIntExtra(Utils.SCREENSHOT_COLOR_KEY, Color.WHITE); in onResume()

123