Home
last modified time | relevance | path

Searched refs:BLACK (Results 1 – 25 of 80) sorted by relevance

1234

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
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()
147 canvas.drawColor(Color.BLACK); in testBasicText()
160 p.setColor(Color.BLACK); in drawTestTextOnPath()
239 p.setColor(Color.BLACK); in testEmptyLayer()
254 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, in testSaveLayerRounding()
266 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLACK, in testUnclippedSaveLayerRounding()
281 int[] colors = new int[] { Color.BLACK, Color.BLACK, Color.BLACK }; in testBlackTriangleVertices()
[all …]
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()
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()
/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()
DRippleDrawableTest.java95 ColorStateList.valueOf(Color.BLACK), null, null); in verifyPreloadDensityInner()
133 dr.setColor(ColorStateList.valueOf(Color.BLACK)); in testSetColor()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java193 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerFullsize()
213 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerCropCenter()
223 Color.BLUE, Color.BLACK, Color.BLUE, Color.BLACK); in testGlProducerCropBottomHalf()
249 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerScaling()
264 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
272 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
301 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducer()
328 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCropCenter()
341 Color.BLUE, Color.BLACK, Color.BLUE, Color.BLACK); in testWindowProducerCropBottomHalf()
360 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerScaling()
[all …]
DTextureViewTest.java123 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testScaling()
140 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testRotateScale()
162 Color.BLACK, Color.BLUE, Color.GREEN, Color.RED); in testRotateScale()
182 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testTransformScale()
210 assertEquals("above texture", Color.BLACK, in testTransformScale()
212 assertEquals("below texture", Color.BLACK, in testTransformScale()
220 assertEquals("Bottom right", Color.BLACK, in testTransformScale()
363 if (pixels[j] != Color.BLACK && pixels[j] != Color.WHITE) { in testSamplingWithTransform()
373 if (pixels[j] == Color.BLACK || pixels[j] == Color.WHITE) { in testSamplingWithTransform()
512 clearColor(Color.BLACK); in drawGlQuad()
[all …]
/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()
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()
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()
DPorterDuffColorFilterTest.java65 target.eraseColor(Color.BLACK); in testPorterDuffColorFilter()
75 target.eraseColor(Color.BLACK); in testPorterDuffColorFilter()
DBitmapTest.java165 + dst, Color.BLACK, dstBitmap.getPixel(0, 0)); in testCopyConfigs()
352 int[] colorArray = new int[] { Color.RED, Color.GREEN, Color.BLUE, Color.BLACK }; in testCreateBitmap_matrix()
382 new int[] { Color.BLUE, Color.RED, Color.BLACK, Color.GREEN }, dst); in testCreateBitmap_matrix()
755 for (int color : new int[]{ Color.RED, Color.BLUE, Color.GREEN, Color.BLACK, in testEraseColorLong()
1689 bitmap1.eraseColor(Color.BLACK); in testSameAs_simpleSuccess()
1690 bitmap2.eraseColor(Color.BLACK); in testSameAs_simpleSuccess()
1699 bitmap1.eraseColor(Color.BLACK); in testSameAs_simpleFail()
1700 bitmap2.eraseColor(Color.BLACK); in testSameAs_simpleFail()
1711 bitmap1.eraseColor(Color.BLACK); in testSameAs_reconfigure()
1712 bitmap2.eraseColor(Color.BLACK); in testSameAs_reconfigure()
[all …]
/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()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DNavigationBarColorTest.java289 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testSetNavigationBarColor()
302 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testSetNavigationBarColor()
316 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testLightNavigationBar()
323 getNavigationBarBitmap(imeSettingForFloatingIme(Color.BLACK, false), in testLightNavigationBar()
340 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testDimmingWindow()
347 Color.BLACK, false, info.getBottomNavigationBerHeight(), in testDimmingWindow()
/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()
DSuggestionSpanTest.java266 assertEquals(span.getUnderlineColor(), Color.BLACK); in testGetUnderlineColor_EasyCorrectUnderline()
274 assertEquals(span.getUnderlineColor(), Color.BLACK); in testGetUnderlineColor_MisspelledUnderline()
282 assertEquals(span.getUnderlineColor(), Color.BLACK); in testGetUnderlineColor_AutoCorrectionUnderline()
DQuoteSpanTest.java94 QuoteSpan quoteSpan = new QuoteSpan(Color.BLACK); in testGetColor()
95 assertEquals(Color.BLACK, quoteSpan.getColor()); in testGetColor()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java19 public static final int BLACK = 0xFF000000; field in PixelColor
58 this(BLACK); in PixelColor()
/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/pdf/src/android/graphics/pdf/cts/
DPdfRendererTest.java262 assertEquals(Color.BLACK, probes[10]); in renderNoTransformationAndComparePoints()
263 assertEquals(Color.BLACK, probes[11]); in renderNoTransformationAndComparePoints()
266 assertEquals(Color.BLACK, probes[14]); in renderNoTransformationAndComparePoints()
267 assertEquals(Color.BLACK, probes[15]); in renderNoTransformationAndComparePoints()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceViewSurfaceValidatorTest.java105 PixelChecker pixelChecker = new PixelChecker(PixelColor.BLACK) { in testOnTopHasNoBackground()
143 PixelChecker pixelChecker = new PixelChecker(PixelColor.BLACK) { in testBackgroundIsBehindAllSurfaceView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java68 protected int mPreviousColor = Color.BLACK;
266 if (pixel == Color.BLACK || pixel == 0) { in scanImage()
286 return Color.BLACK; in scanImage()

1234