Home
last modified time | relevance | path

Searched refs:dstBitmap (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapShaderTest.java109 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, Config.ARGB_8888); in testClamp() local
110 Canvas canvas = new Canvas(dstBitmap); in testClamp()
117 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testClamp()
131 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, Config.ARGB_8888); in testRepeat() local
132 Canvas canvas = new Canvas(dstBitmap); in testRepeat()
139 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testRepeat()
153 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, Config.ARGB_8888); in testMirror() local
154 Canvas canvas = new Canvas(dstBitmap); in testMirror()
161 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testMirror()
DBitmapTest.java263 Bitmap dstBitmap = srcBitmap.copy(dst, false); in testCopyConfigs() local
265 dstBitmap); in testCopyConfigs()
269 + dst, Color.BLACK, dstBitmap.getPixel(0, 0)); in testCopyConfigs()
272 + dst, Color.WHITE, dstBitmap.getPixel(0, 0)); in testCopyConfigs()
2364 Bitmap dstBitmap = bitmap.copy(Config.ARGB_8888, false); in testWrapHardwareBufferHoldsReference() local
2368 int pixel = dstBitmap.getPixel(0, 0); in testWrapHardwareBufferHoldsReference()
2370 dstBitmap.recycle(); in testWrapHardwareBufferHoldsReference()
2384 Bitmap dstBitmap = srcBitmap.copy(Config.ARGB_8888, false); in testWrapHardwareBufferPreservesColors() local
2390 int pixel = dstBitmap.getPixel(x, y); in testWrapHardwareBufferPreservesColors()
2398 dstBitmap.recycle(); in testWrapHardwareBufferPreservesColors()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java414 void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap); in verify() argument
432 public void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap) { in verify() argument
434 ByteBuffer buffer = ByteBuffer.allocate(dstBitmap.getAllocationByteCount()); in verify()
436 dstBitmap.copyPixelsToBuffer(buffer); in verify()
468 public void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap) { in verify() argument
469 int color = dstBitmap.getPixel(0, 0); in verify()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DRenderNodeTests.java488 Bitmap dstBitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testBlendModeRenderEffectImplicitInput() local
489 dstBitmap.eraseColor(Color.RED); in testBlendModeRenderEffectImplicitInput()
492 RenderEffect.createBitmapEffect(dstBitmap), in testBlendModeRenderEffectImplicitInput()
DBlendModeTest.java55 BlendModeCanvasClient(BlendMode mode, Bitmap dstBitmap, Bitmap srcBitmap) { in BlendModeCanvasClient() argument
56 mDstBitmap = dstBitmap; in BlendModeCanvasClient()