Home
last modified time | relevance | path

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

1234

/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()
DHardwareRendererTest.java69 canvas.drawColor(Color.BLUE); in lockHardwareCanvasSingleBuffer()
95 canvas.drawColor(Color.RED); in hardwareBufferRendererLeakTest()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java111 canvas.drawColor(Color.GREEN); in testBlackLineOnGreenBack()
124 canvas.drawColor(Color.BLUE); in testDrawRedRectOnBlueBack()
137 canvas.drawColor(Color.WHITE); in testDrawLine()
153 .addCanvasClient((canvas, width, height) -> canvas.drawColor(Color.WHITE)) in testDrawWhiteScreen()
163 canvas.drawColor(Color.BLACK); in testBasicText()
219 canvas.drawColor(Color.GRAY); in testBasicColorXfermode()
220 canvas.drawColor(Color.BLUE, PorterDuff.Mode.MULTIPLY); in testBasicColorXfermode()
228 canvas.drawColor(Color.GRAY); in testBasicColorBlendMode()
229 canvas.drawColor(Color.BLUE, BlendMode.MULTIPLY); in testBasicColorBlendMode()
244 canvas.drawColor(Color.WHITE); in testBluePaddedSquare()
[all …]
DAlphaBlendTest.java47 canvas.drawColor(Color.RED); in onDraw()
48 canvas.drawColor(Color.BLUE); in onDraw()
DRenderNodeTests.java134 canvas.drawColor(Color.BLUE); in testBasicDraw()
157 canvas.drawColor(Color.RED); in testAlphaOverlappingRendering()
158 canvas.drawColor(Color.BLUE); in testAlphaOverlappingRendering()
178 canvas.drawColor(Color.RED); in testAlphaNonOverlappingRendering()
179 canvas.drawColor(Color.BLUE); in testAlphaNonOverlappingRendering()
197 canvas.drawColor(0xFF0000AF); in testUseCompositingLayer()
232 canvas.drawColor(Color.BLUE); in testComputeApproximateMemoryUsage()
405 recordingCanvas.drawColor(Color.TRANSPARENT); in testBitmapRenderEffect()
510 recordingCanvas.drawColor(Color.TRANSPARENT); in testBlendModeRenderEffectImplicitInput()
1015 canvas.drawColor(Color.RED); in testUpdateModel()
[all …]
DSurfaceViewTests.java77 (canvas, width, height) -> canvas.drawColor(Color.GREEN));
79 (canvas, width, height) -> canvas.drawColor(Color.WHITE));
81 (canvas, width, height) -> canvas.drawColor(Color.RED));
106 canvas.drawColor(color); in makeHardwareBufferRendererCallback()
277 canvas.drawColor(Color.GREEN);
290 canvas.drawColor(Color.GREEN);
345 canvas.drawColor(Color.BLACK);
366 canvas.drawColor(Color.BLACK);
385 canvas.drawColor(Color.BLACK);
404 canvas.drawColor(Color.BLACK);
[all …]
DHardwareBitmapTests.java115 canvas.drawColor(Color.WHITE); in testReadbackThroughPicture()
135 canvas.drawColor(Color.WHITE); in testReadbackThroughPictureNoEndRecording()
284 canvas.drawColor(Color.CYAN); in testCompressHardware()
287 canvas.drawColor(Color.CYAN); in testCompressHardware()
314 canvas.drawColor(Color.CYAN); in testBitmapCopy()
317 canvas.drawColor(Color.CYAN); in testBitmapCopy()
DPathClippingTests.java87 canvas.drawColor(Color.BLUE);
104 canvas.drawColor(Color.BLUE);
179 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()
DColorSpaceTests.java197 canvas.drawColor(Color.pack(1.0f, 1.0f, 1.0f, 1.0f, dest)); in testEmojiRespectsColorSpace()
266 canvas.drawColor(Color.pack(1.0f, 1.0f, 1.0f, 1.0f, dest)); in testMultiAtlasGlyphsWithColorSpace()
333 canvas.drawColor(0xffff0000); in drawAsset()
365 canvas.drawColor(source); in transformViaBitmap()
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()
DInfrastructureTests.java48 canvas.drawColor(canvas.isHardwareAccelerated() ? Color.BLACK : Color.WHITE); in testRenderSpecIsolation()
DShaderTests.java159 canvas.drawColor(Color.WHITE); in testRepeatAlphaGradientShader()
177 canvas.drawColor(Color.WHITE); in testClampAlphaGradientShader()
208 canvas.drawColor(Color.WHITE); in testAnisotropicFilteredBitmapShader()
DHardwareBufferRendererTests.kt86 record { canvas -> canvas.drawColor(Color.BLUE) } in <lambda>()
170 record { canvas -> canvas.drawColor(Color.BLUE) } in <lambda>()
437 drawColor(Color.BLUE) in <lambda>()
580 childCanvas.drawColor(Color.RED) in <lambda>()
584 parentCanvas.drawColor(Color.WHITE) in <lambda>()
DBlendModeColorFilterTest.java77 canvas.drawColor(Color.WHITE); in draw()
/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/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperManagerTest.java240 canvas.drawColor(Color.RED); in setBitmap_homeScreen_homeStatic_lockScreenUnset_setsLockToHomeAndUpdatesHome()
262 canvas.drawColor(Color.RED); in setBitmap_homeScreen_homeLive_lockScreenUnset_setsLockToHomeAndUpdatesHome()
280 canvas.drawColor(Color.RED); in setBitmap_lockScreen_lockScreenUnset_changesLockOnly()
298 canvas.drawColor(Color.GREEN); in setBitmap_lockScreen_lockScreenSet_changesLockOnly()
304 canvas.drawColor(Color.RED); in setBitmap_lockScreen_lockScreenSet_changesLockOnly()
320 canvas.drawColor(Color.RED); in setBitmap_both_lockScreenUnset_changesHome()
338 canvas.drawColor(Color.GREEN); in setBitmap_both_lockScreenSet_changesHomeAndClearsLock()
344 canvas.drawColor(Color.RED); in setBitmap_both_lockScreenSet_changesHomeAndClearsLock()
359 canvas.drawColor(Color.RED); in setBitmap_default_lockScreenUnset_sameAsBoth()
605 canvas.drawColor(Color.BLACK); in wallpaperChangedBroadcastTest()
[all …]
/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.java228 public void drawColor(int color) throws Throwable { in drawColor() method in TextureViewCtsActivity
229 drawColor(Color.red(color) / 255.0f, in drawColor()
235 public void drawColor(float red, float green, float blue, float alpha) throws Throwable { in drawColor() method in TextureViewCtsActivity
/cts/tests/tests/media/common/src/android/media/cts/
DLocalMediaProjectionService.java72 canvas.drawColor(Color.BLUE); in createNotificationIcon()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20116/src/android/security/cts/CVE_2022_20116/
DPocService.java49 canvas.drawColor(Color.BLUE); in createNotificationIcon()
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DGetWalletCardsResponseTest.java96 canvas.drawColor(Color.WHITE); in createBitmap()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39704/src/android/security/cts/CVE_2021_39704/
DPocService.java100 canvas.drawColor(Color.BLUE); in createNotificationIcon()

1234