Home
last modified time | relevance | path

Searched refs:drawColor (Results 1 – 25 of 48) sorted by relevance

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java98 canvas.drawColor(Color.GREEN); in testBlackLineOnGreenBack()
111 canvas.drawColor(Color.BLUE); in testDrawRedRectOnBlueBack()
124 canvas.drawColor(Color.WHITE); in testDrawLine()
137 .addCanvasClient((canvas, width, height) -> canvas.drawColor(Color.WHITE)) in testDrawWhiteScreen()
147 canvas.drawColor(Color.BLACK); in testBasicText()
197 canvas.drawColor(Color.GRAY); in testBasicColorXfermode()
198 canvas.drawColor(Color.BLUE, PorterDuff.Mode.MULTIPLY); in testBasicColorXfermode()
206 canvas.drawColor(Color.GRAY); in testBasicColorBlendMode()
207 canvas.drawColor(Color.BLUE, BlendMode.MULTIPLY); in testBasicColorBlendMode()
222 canvas.drawColor(Color.WHITE); in testBluePaddedSquare()
[all …]
DRenderNodeTests.java108 canvas.drawColor(Color.BLUE); in testBasicDraw()
131 canvas.drawColor(Color.RED); in testAlphaOverlappingRendering()
132 canvas.drawColor(Color.BLUE); in testAlphaOverlappingRendering()
152 canvas.drawColor(Color.RED); in testAlphaNonOverlappingRendering()
153 canvas.drawColor(Color.BLUE); in testAlphaNonOverlappingRendering()
171 canvas.drawColor(0xFF0000AF); in testUseCompositingLayer()
206 canvas.drawColor(Color.BLUE); in testComputeApproximateMemoryUsage()
DSurfaceViewTests.java55 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.GREEN));
57 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.WHITE));
59 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.RED));
186 canvas.drawColor(Color.GREEN); in testSurfaceHolderHardwareCanvas()
DAlphaBlendTest.java47 canvas.drawColor(Color.RED); in onDraw()
48 canvas.drawColor(Color.BLUE); in onDraw()
DEdgeEffectTests.java87 public EdgeEffectValidator(int drawColor) { in EdgeEffectValidator() argument
88 mColorMask = drawColor & 0x00FFFFFF; in EdgeEffectValidator()
89 mInverseColorMask = ~(drawColor & 0x00FFFFFF); in EdgeEffectValidator()
104 canvas.drawColor(Color.BLACK); in assertEdgeEffect()
DHardwareBitmapTests.java115 canvas.drawColor(Color.WHITE); in testReadbackThroughPicture()
135 canvas.drawColor(Color.WHITE); in testReadbackThroughPictureNoEndRecording()
290 canvas.drawColor(Color.CYAN); in testCompressHardware()
293 canvas.drawColor(Color.CYAN); in testCompressHardware()
320 canvas.drawColor(Color.CYAN); in testBitmapCopy()
323 canvas.drawColor(Color.CYAN); in testBitmapCopy()
DPathClippingTests.java71 canvas.drawColor(Color.BLUE);
88 canvas.drawColor(Color.BLUE);
163 canvas.drawColor(Color.BLUE); in testPathScale()
DWideColorGamutTests.java146 canvas.drawColor(greenP3.pack()); in testCanvasDrawColorLong()
180 canvas.drawColor(greenP3.pack()); in testCanvasDrawColorLongBlendMode()
181 canvas.drawColor(redP3.pack(), BlendMode.PLUS); in testCanvasDrawColorLongBlendMode()
DTextureViewTests.java101 canvas.drawColor(fillColor); in createSurfaceTexture()
149 canvas.drawColor(Color.BLUE); in testLockCanvas()
DHardwareRendererTests.kt159 canvas.drawColor(Color.BLUE) in testBasicDrawCpuConsumer()
208 canvas.drawColor(Color.BLUE) in testBasicDrawGpuConsumer()
393 childCanvas.drawColor(Color.RED) in testSpotShadowSetup()
397 drawColor(Color.WHITE) in testSpotShadowSetup()
435 canvas.drawColor(it) in testLotsOfBuffers()
DShaderTests.java155 canvas.drawColor(Color.WHITE); in testRepeatAlphaGradientShader()
173 canvas.drawColor(Color.WHITE); in testClampAlphaGradientShader()
DInfrastructureTests.java48 canvas.drawColor(canvas.isHardwareAccelerated() ? Color.BLACK : Color.WHITE); in testRenderSpecIsolation()
DColorFilterAlphaTest.java144 canvas.drawColor(Color.WHITE); // temporary - ensure test isn't capturing window bg only
DBlendModeColorFilterTest.java77 canvas.drawColor(Color.WHITE); in draw()
DForceDarkTests.java113 canvas.drawColor(Color.WHITE); in testSiblings()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasTest.java42 mCanvas.drawColor(Color.convert(Color.BLUE, ColorSpace.get(ColorSpace.Named.CIE_XYZ))); in testDrawColorXYZ()
47 mCanvas.drawColor(Color.convert(Color.BLUE, ColorSpace.get(ColorSpace.Named.CIE_LAB))); in testDrawColorLAB()
52 mCanvas.drawColor(-1L); in testDrawColorUnknown()
/cts/tests/app/src/android/app/cts/
DWallpaperManagerTest.java84 canvas.drawColor(Color.RED); in setBitmapTest()
90 canvas.drawColor(Color.GREEN); in setBitmapTest()
118 canvas.drawColor(Color.BLACK); in wallpaperChangedBroadcastTest()
249 canvas.drawColor(Color.RED); in wallpaperColors_primary()
277 canvas.drawColor(Color.RED); in wallpaperColors_secondary()
280 canvas.drawColor(Color.BLUE); in wallpaperColors_secondary()
DWallpaperColorsTest.java85 canvas.drawColor(Color.GREEN); in fromBitmapTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java49 canvas.drawColor(mColor); in onDraw()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/
DUnclippedBlueView.java46 canvas.drawColor(Color.BLUE); in onDraw()
/cts/hostsidetests/atrace/AtraceTestApp/src/com/android/cts/atracetestapp/
DAtraceTestAppActivity.java97 canvas.drawColor(Color.BLUE); in onDraw()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java227 public void drawColor(int color) throws Throwable { in drawColor() method in TextureViewCtsActivity
228 drawColor(Color.red(color) / 255.0f, in drawColor()
234 public void drawColor(float red, float green, float blue, float alpha) throws Throwable { in drawColor() method in TextureViewCtsActivity
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DLocalMediaProjectionService.java68 canvas.drawColor(Color.BLUE); in createNotificationIcon()
/cts/tests/tests/media/src/android/media/cts/
DLocalMediaProjectionService.java68 canvas.drawColor(Color.BLUE); in createNotificationIcon()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceViewSurfaceValidatorTest.java83 canvas.drawColor(Color.GREEN); in surfaceChanged()

12