Home
last modified time | relevance | path

Searched refs:BLACK (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()
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,
174 .addVerifier(blackArea, new ColorVerifier(Color.BLACK, 0)) in testDrawSnapped()
197 .addVerifier(blackArea, new ColorVerifier(Color.BLACK, 16)) in testDrawHalfPixelFiltered()
DExactCanvasTests.java71 p.setColor(Color.BLACK); in testPoints()
87 p.setColor(Color.BLACK); in testBlackRectWithStroke()
100 p.setColor(Color.BLACK); in testBlackLineOnGreenBack()
125 p.setColor(Color.BLACK); in testDrawLine()
148 canvas.drawColor(Color.BLACK); in testBasicText()
161 p.setColor(Color.BLACK); in drawTestTextOnPath()
240 p.setColor(Color.BLACK); in testEmptyLayer()
255 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, in testSaveLayerRounding()
267 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, in testUnclippedSaveLayerRounding()
282 int[] colors = new int[] { Color.BLACK, Color.BLACK, Color.BLACK }; in testBlackTriangleVertices()
[all …]
DForceDarkTests.java79 p.setColor(Color.BLACK); in testFgRect()
83 .runWithVerifier(new RectVerifier(Color.BLACK, Color.WHITE, rect, 100)); in testFgRect()
96 p.setColor(Color.BLACK); in testFgRectDisable()
100 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, rect, 0)); in testFgRectDisable()
119 p.setColor(Color.BLACK); in testSiblings()
123 .runWithVerifier(new RectVerifier(Color.BLACK, Color.WHITE, fgRect, 100)); in testSiblings()
DEdgeEffectTests.java280 paint.setColor(Color.BLACK);
310 new ColorVerifier(Color.BLACK)
329 new ColorVerifier(Color.BLACK) in testStretchBottom()
396 canvas.drawColor(Color.BLACK); in testStretchEffectUsesLayer()
403 new ColorVerifier(Color.BLACK) in testStretchEffectUsesLayer()
409 canvas.drawColor(Color.BLACK); in testStretchEffectUsesLayer()
590 paint.setColor(Color.BLACK);
611 new ColorVerifier(Color.BLACK)
637 paint.setColor(Color.BLACK); in testEdgeEffectAnimationDisabledMidAnimation()
658 new ColorVerifier(Color.BLACK) in testEdgeEffectAnimationDisabledMidAnimation()
DPaintTests.kt185 val colors = intArrayOf(Color.BLACK, Color.BLACK, Color.BLACK) in <lambda>()
/cts/tests/app/src/android/app/cts/
DWallpaperColorsTest.java44 colorList.add(Color.valueOf(Color.BLACK)); in getWallpaperColorsTest()
56 WallpaperColors colors1 = new WallpaperColors(Color.valueOf(Color.BLACK), null, null); in equalsTest()
63 WallpaperColors colors3 = new WallpaperColors(Color.valueOf(Color.BLACK), null, null); in equalsTest()
70 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN)); in parcelTest()
115 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN)); in wallpaperColorsHints_default()
122 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN), in wallpaperColorsHints_ctor()
128 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN), in wallpaperColorsHints_ctor()
136 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN), both); in wallpaperColorsHints_ctor()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DColorDrawableTest.java145 d.setColorFilter(Color.BLACK, Mode.SRC_OVER); in testSetColorFilter()
146 assertEquals(Color.BLACK, DrawableTestUtils.getPixel(d, 0, 0)); in testSetColorFilter()
148 d.setColorFilter(new PorterDuffColorFilter(Color.BLACK, Mode.SRC_OVER)); in testSetColorFilter()
149 assertEquals(Color.BLACK, DrawableTestUtils.getPixel(d, 0, 0)); in testSetColorFilter()
155 PorterDuffColorFilter colorFilter = new PorterDuffColorFilter(Color.BLACK, Mode.SRC_OVER); in testGetColorFilter()
166 d.setTint(Color.BLACK); in testSetTint()
168 assertEquals(Color.BLACK, DrawableTestUtils.getPixel(d, 0, 0)); in testSetTint()
/cts/tests/tests/graphics/src/android/graphics/cts/
DLightingColorFilterTest.java51 paint.setColorFilter(new LightingColorFilter(Color.WHITE, Color.BLACK)); in testLightingColorFilter()
56 paint.setColorFilter(new LightingColorFilter(Color.CYAN, Color.BLACK)); in testLightingColorFilter()
96 LightingColorFilter filter = new LightingColorFilter(Color.WHITE, Color.BLACK); in testGetColorAdd()
97 ColorUtils.verifyColor(Color.BLACK, filter.getColorAdd()); in testGetColorAdd()
106 LightingColorFilter filter = new LightingColorFilter(Color.WHITE, Color.BLACK); in testGetColorMultiply()
DPaintFlagsDrawFilterTest.java69 c.drawColor(Color.BLACK); in drawText()
76 combinedBitmap.eraseColor(Color.BLACK); in delta()
85 assertEquals(Color.BLACK, pixelWithFilter); in delta()
121 int colors[] = new int [] { Color.WHITE, Color.BLACK }; in testPaintFlagsDrawFilter2()
174 if (color != Color.BLACK && color != Color.WHITE) { in verifyContainsNonBW()
190 assertTrue(color == Color.BLACK || color == Color.WHITE); in verifyContainsOnlyBlackAndWhite()
DSumPathEffectTest.java49 bitmap.eraseColor(Color.BLACK); in testSumPathEffect()
51 expected.eraseColor(Color.BLACK); in testSumPathEffect()
DPathDashPathEffectTest.java48 b.eraseColor(Color.BLACK); in testPathDashPathEffect()
58 expected.eraseColor(Color.BLACK); in testPathDashPathEffect()
DRadialGradientTest.java56 bitmap.eraseColor(Color.BLACK); in testZeroScaleMatrix()
63 ColorUtils.verifyColor(Color.BLACK, bitmap.getPixel(0, 0), 1); in testZeroScaleMatrix()
64 ColorUtils.verifyColor(Color.BLACK, bitmap.getPixel(1, 0), 1); in testZeroScaleMatrix()
65 ColorUtils.verifyColor(Color.BLACK, bitmap.getPixel(2, 0), 1); in testZeroScaleMatrix()
DPorterDuffColorFilterTest.java65 target.eraseColor(Color.BLACK); in testPorterDuffColorFilter()
75 target.eraseColor(Color.BLACK); in testPorterDuffColorFilter()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java211 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerFullsize()
231 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerCropCenter()
241 Color.BLUE, Color.BLACK, Color.BLUE, Color.BLACK); in testGlProducerCropBottomHalf()
267 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerScaling()
282 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
290 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
319 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducer()
346 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCropCenter()
359 Color.BLUE, Color.BLACK, Color.BLUE, Color.BLACK); in testWindowProducerCropBottomHalf()
378 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerScaling()
[all …]
DTextureViewTest.java127 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testScaling()
144 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testRotateScale()
166 Color.BLACK, Color.BLUE, Color.GREEN, Color.RED); in testRotateScale()
186 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testTransformScale()
214 assertEquals("above texture", Color.BLACK, in testTransformScale()
216 assertEquals("below texture", Color.BLACK, in testTransformScale()
224 assertEquals("Bottom right", Color.BLACK, in testTransformScale()
384 if (pixels[j] != Color.BLACK && pixels[j] != Color.WHITE) { in testSamplingWithTransform()
395 if (pixels[j] != Color.BLACK && pixels[j] != Color.WHITE) { in testSamplingWithTransform()
537 clearColor(Color.BLACK); in drawGlQuad()
[all …]
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java19 public static final int BLACK = 0xFF000000; field in PixelColor
63 this(BLACK); in PixelColor()
/cts/tests/tests/text/src/android/text/style/cts/
DBackgroundColorSpanTest.java51 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.BLACK); in testUpdateDrawState()
55 assertEquals(Color.BLACK, tp.bgColor); in testUpdateDrawState()
64 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.BLACK); in testUpdateDrawStateNull()
DForegroundColorSpanTest.java54 foregroundColorSpan = new ForegroundColorSpan(Color.BLACK); in testGetForegroundColor()
55 assertEquals(Color.BLACK, foregroundColorSpan.getForegroundColor()); in testGetForegroundColor()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DNavigationBarColorTest.java295 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testSetNavigationBarColor()
308 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testSetNavigationBarColor()
323 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testLightNavigationBar()
330 getNavigationBarBitmap(imeSettingForFloatingIme(Color.BLACK, false), in testLightNavigationBar()
347 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testDimmingWindow()
354 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testDimmingWindow()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DStateInitializeActivity.java51 getWindow().setNavigationBarColor(Color.BLACK); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java30 private int mColor = Color.BLACK;
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceControlTest.java181 new RectChecker(DEFAULT_RECT, PixelColor.BLACK)); in testHide()
198 new RectChecker(DEFAULT_RECT, PixelColor.BLACK)); in testReparentOff()
273 final PixelColor black = new PixelColor(PixelColor.BLACK); in testSetGeometry_dstBoundsOffScreen()
306 final PixelColor black = new PixelColor(PixelColor.BLACK); in testSetGeometry_dstBoundsOnScreen()
DMockImeHelper.java53 builder.setNavigationBarColor(Color.BLACK); in createManagedMockImeSession()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DDarkTextThemeTest.java168 verifyColor(mAppWidgetHostView, Color.BLACK); in testWidget_dark()
197 verifyColor(listView.getChildAt(0), Color.BLACK); in testCollection_dark()
198 verifyColor(listView.getChildAt(1), Color.BLACK); in testCollection_dark()
199 verifyColor(listView.getChildAt(2), Color.BLACK); in testCollection_dark()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java208 activity.getWindow().setStatusBarColor(Color.BLACK); in testLightBarIsNotAllowed_fitStatusBar()
209 activity.getWindow().setNavigationBarColor(Color.BLACK); in testLightBarIsNotAllowed_fitStatusBar()
216 Stats s = evaluateDarkBarBitmap(bitmap, Color.BLACK, 0); in testLightBarIsNotAllowed_fitStatusBar()
233 activity.getWindow().setStatusBarColor(Color.BLACK); in testLightBarIsNotAllowed_fitDisplayCutout()
234 activity.getWindow().setNavigationBarColor(Color.BLACK); in testLightBarIsNotAllowed_fitDisplayCutout()
241 Stats s = evaluateDarkBarBitmap(bitmap, Color.BLACK, 0); in testLightBarIsNotAllowed_fitDisplayCutout()

1234