Home
last modified time | relevance | path

Searched refs:dstBitmap (Results 1 – 4 of 4) 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.java159 Bitmap dstBitmap = srcBitmap.copy(dst, false); in testCopyConfigs() local
161 dstBitmap); in testCopyConfigs()
165 + dst, Color.BLACK, dstBitmap.getPixel(0, 0)); in testCopyConfigs()
168 + dst, Color.WHITE, dstBitmap.getPixel(0, 0)); in testCopyConfigs()
2126 Bitmap dstBitmap = bitmap.copy(Config.ARGB_8888, false); in testWrapHardwareBufferHoldsReference() local
2130 int pixel = dstBitmap.getPixel(0, 0); in testWrapHardwareBufferHoldsReference()
2132 dstBitmap.recycle(); in testWrapHardwareBufferHoldsReference()
2146 Bitmap dstBitmap = srcBitmap.copy(Config.ARGB_8888, false); in testWrapHardwareBufferPreservesColors() local
2152 int pixel = dstBitmap.getPixel(x, y); in testWrapHardwareBufferPreservesColors()
2160 dstBitmap.recycle(); in testWrapHardwareBufferPreservesColors()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java389 void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap); in verify() argument
407 public void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap) { in verify() argument
409 ByteBuffer buffer = ByteBuffer.allocate(dstBitmap.getAllocationByteCount()); in verify()
411 dstBitmap.copyPixelsToBuffer(buffer); in verify()
443 public void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap) { in verify() argument
444 int color = dstBitmap.getPixel(0, 0); in verify()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeTest.java55 BlendModeCanvasClient(BlendMode mode, Bitmap dstBitmap, Bitmap srcBitmap) { in BlendModeCanvasClient() argument
56 mDstBitmap = dstBitmap; in BlendModeCanvasClient()