Searched refs:hwBitmap (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | CanvasTests.java | 171 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testDrawHwBitmap_inSwCanvas() local 173 new Canvas(getMutableBitmap()).drawBitmap(hwBitmap, 0, 0, null); in testDrawHwBitmap_inSwCanvas() 178 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testDrawHwBitmap_inPictureCanvas_inSwCanvas() local 181 pictureCanvas.drawBitmap(hwBitmap, 0, 0, null); in testDrawHwBitmap_inPictureCanvas_inSwCanvas() 188 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testDrawHwBitmap_inPictureCanvas_inPictureCanvas_inSwCanvas() local 191 pictureCanvas.drawBitmap(hwBitmap, 0, 0, null); in testDrawHwBitmap_inPictureCanvas_inPictureCanvas_inSwCanvas() 202 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testHwBitmapShaderInSwCanvas1() local 203 BitmapShader bitmapShader = new BitmapShader(hwBitmap, Shader.TileMode.REPEAT, in testHwBitmapShaderInSwCanvas1() 215 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testHwBitmapShaderInSwCanvas2() local 216 BitmapShader bitmapShader = new BitmapShader(hwBitmap, Shader.TileMode.REPEAT, in testHwBitmapShaderInSwCanvas2()
|
D | HardwareBitmapTests.java | 305 Bitmap hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false); in testHardwareExtractAlpha() local 306 Bitmap alphaBitmap = hwBitmap.extractAlpha(); in testHardwareExtractAlpha()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator2.java | 94 Bitmap hwBitmap = Bitmap.wrapHardwareBuffer(image.getHardwareBuffer(), null); in getPixels() local 95 Bitmap swBitmap = hwBitmap.copy(Bitmap.Config.ARGB_8888, false); in getPixels() 96 hwBitmap.recycle(); in getPixels()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 1881 Bitmap hwBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, HARDWARE_OPTIONS); in testHardwareCopyPixelsFromBuffer() local 1882 hwBitmap.copyPixelsFromBuffer(intBuf1); in testHardwareCopyPixelsFromBuffer() 1898 Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in testCopyHWBitmapInStrictMode() local 1899 hwBitmap.copy(Config.ARGB_8888, false); in testCopyHWBitmapInStrictMode() 1907 Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in testCreateScaledFromHWInStrictMode() local 1908 Bitmap.createScaledBitmap(hwBitmap, 200, 200, false); in testCreateScaledFromHWInStrictMode() 1916 Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in testExtractAlphaFromHWInStrictMode() local 1917 hwBitmap.extractAlpha(); in testExtractAlphaFromHWInStrictMode() 1933 Bitmap hwBitmap = mBitmap.copy(Config.HARDWARE, false); in testParcelHWInStrictMode() local 1934 hwBitmap.writeToParcel(Parcel.obtain(), 0); in testParcelHWInStrictMode() [all …]
|