/cts/tests/tests/view/src/android/view/cts/ |
D | ViewOverlayTest.java | 61 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 …]
|
D | ViewGroupOverlayTest.java | 79 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 …]
|
D | TextureViewTest.java | 74 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/ |
D | USBAudioPeripheralButtonsActivity.java | 79 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/ |
D | LayerTests.java | 127 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()
|
D | ExactCanvasTests.java | 56 .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()
|
D | ShaderTests.java | 152 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()
|
D | PathClippingTests.java | 118 Color.WHITE, in testCircleWithPoints() 120 Color.WHITE, in testCircleWithPoints() 121 Color.WHITE, in testCircleWithPoints() 148 Color.WHITE, in testViewRotate() 149 Color.WHITE, in testViewRotate()
|
D | ShadowTests.java | 65 Color.WHITE, in testShadowLayout() 66 Color.WHITE, in testShadowLayout()
|
D | PictureTest.java | 61 ).runWithVerifier(new ColorVerifier(Color.WHITE)); in testPictureRespectsClip() 74 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
|
D | InfrastructureTests.java | 56 canvas.drawColor(canvas.isHardwareAccelerated() ? Color.BLACK : Color.WHITE); in testRenderSpecIsolation() 85 .runWithVerifier(new RectVerifier(Color.WHITE, Color.RED, clipRect)); in testViewInitializer()
|
D | LayoutTests.java | 42 new RectVerifier(Color.WHITE, Color.BLUE, new Rect(5, 5, 85, 85))); in testSimpleRectLayout()
|
D | VectorDrawableTests.java | 45 new RectVerifier(Color.WHITE, Color.RED, new Rect(0, 0, 25, 25))); in testScaleDown()
|
D | GradientTests.java | 44 paint.setColor(Color.WHITE); in testAlphaPreMultiplication()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | LightingColorFilterTest.java | 50 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()
|
D | ComposeShaderTest.java | 100 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()
|
D | PaintFlagsDrawFilterTest.java | 120 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()
|
D | ColorTest.java | 92 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/ |
D | ColorDrawableTest.java | 140 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/ |
D | Colour.java | 34 public static final float[] WHITE = new float[]{ field in Colour
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ProgressBarTest.java | 429 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()
|
D | CompoundButtonTest.java | 361 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/ |
D | PassFailVisualizer.java | 34 output[y] = Color.WHITE; in getDifferences()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | BitmapVerifier.java | 25 protected static final int PASS_COLOR = Color.WHITE;
|
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
D | ScreenshotActivity.java | 40 int backgroundColor = getIntent().getIntExtra(Utils.SCREENSHOT_COLOR_KEY, Color.WHITE); in onResume()
|