Searched refs:dstBitmap (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapShaderTest.java | 125 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, config); in testClamp() local 126 Canvas canvas = new Canvas(dstBitmap); in testClamp() 133 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testClamp() 148 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, config); in testRepeat() local 149 Canvas canvas = new Canvas(dstBitmap); in testRepeat() 156 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testRepeat() 171 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, config); in testMirror() local 172 Canvas canvas = new Canvas(dstBitmap); in testMirror() 179 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testMirror() 203 Bitmap dstBitmap = Bitmap.createBitmap(1, 1, config); in testFiltering() local [all …]
|
D | BitmapTest.java | 266 Bitmap dstBitmap = srcBitmap.copy(dst, false); in testCopyConfigs() local 268 dstBitmap); in testCopyConfigs() 272 + dst, Color.BLACK, dstBitmap.getPixel(0, 0)); in testCopyConfigs() 275 + dst, Color.WHITE, dstBitmap.getPixel(0, 0)); in testCopyConfigs() 2352 Bitmap dstBitmap = bitmap.copy(Config.ARGB_8888, false); in testWrapHardwareBufferHoldsReference() local 2356 int pixel = dstBitmap.getPixel(0, 0); in testWrapHardwareBufferHoldsReference() 2358 dstBitmap.recycle(); in testWrapHardwareBufferHoldsReference() 2372 Bitmap dstBitmap = srcBitmap.copy(Config.ARGB_8888, false); in testWrapHardwareBufferPreservesColors() local 2378 int pixel = dstBitmap.getPixel(x, y); in testWrapHardwareBufferPreservesColors() 2386 dstBitmap.recycle(); in testWrapHardwareBufferPreservesColors()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 706 void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap); in verify() argument 724 public void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap) { in verify() argument 726 ByteBuffer buffer = ByteBuffer.allocate(dstBitmap.getAllocationByteCount()); in verify() 728 dstBitmap.copyPixelsToBuffer(buffer); in verify() 760 public void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap) { in verify() argument 761 int color = dstBitmap.getPixel(0, 0); in verify()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BlendModeTest.java | 55 BlendModeCanvasClient(BlendMode mode, Bitmap dstBitmap, Bitmap srcBitmap) { in BlendModeCanvasClient() argument 56 mDstBitmap = dstBitmap; in BlendModeCanvasClient()
|
D | RenderNodeTests.java | 496 Bitmap dstBitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testBlendModeRenderEffectImplicitInput() local 497 dstBitmap.eraseColor(Color.RED); in testBlendModeRenderEffectImplicitInput() 500 RenderEffect.createBitmapEffect(dstBitmap), in testBlendModeRenderEffectImplicitInput()
|