Home
last modified time | relevance | path

Searched refs:srcBitmap (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DGradientTests.java197 Bitmap srcBitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in createRadialGradientGoldenBitmap() local
198 Canvas srcCanvas = new Canvas(srcBitmap); in createRadialGradientGoldenBitmap()
209 return srcBitmap; in createRadialGradientGoldenBitmap()
DBlendModeTest.java55 BlendModeCanvasClient(BlendMode mode, Bitmap dstBitmap, Bitmap srcBitmap) { in BlendModeCanvasClient() argument
57 mSrcBitmap = srcBitmap; in BlendModeCanvasClient()
DRenderNodeTests.java493 Bitmap srcBitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testBlendModeRenderEffectImplicitInput() local
494 srcBitmap.eraseColor(Color.BLUE); in testBlendModeRenderEffectImplicitInput()
501 RenderEffect.createBitmapEffect(srcBitmap), in testBlendModeRenderEffectImplicitInput()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java264 Bitmap srcBitmap = Bitmap.createBitmap(1, 1, src); in testCopyConfigs() local
265 srcBitmap.eraseColor(Color.WHITE); in testCopyConfigs()
266 Bitmap dstBitmap = srcBitmap.copy(dst, false); in testCopyConfigs()
2368 Bitmap srcBitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferPreservesColors() local
2369 assertNotNull(srcBitmap); in testWrapHardwareBufferPreservesColors()
2372 Bitmap dstBitmap = srcBitmap.copy(Config.ARGB_8888, false); in testWrapHardwareBufferPreservesColors()
2373 srcBitmap.recycle(); in testWrapHardwareBufferPreservesColors()