Home
last modified time | relevance | path

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

/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java109 Bitmap hwBitmap = Bitmap.wrapHardwareBuffer(image.getHardwareBuffer(), null); in getPixels() local
110 Bitmap swBitmap = hwBitmap.copy(Bitmap.Config.ARGB_8888, false); in getPixels()
111 hwBitmap.recycle(); in getPixels()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DCanvasTests.java212 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testDrawHwBitmap_inSwCanvas() local
214 new Canvas(getMutableBitmap()).drawBitmap(hwBitmap, 0, 0, null); in testDrawHwBitmap_inSwCanvas()
219 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testDrawHwBitmap_inPictureCanvas_inSwCanvas() local
222 pictureCanvas.drawBitmap(hwBitmap, 0, 0, null); in testDrawHwBitmap_inPictureCanvas_inSwCanvas()
229 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testDrawHwBitmap_inPictureCanvas_inPictureCanvas_inSwCanvas() local
232 pictureCanvas.drawBitmap(hwBitmap, 0, 0, null); in testDrawHwBitmap_inPictureCanvas_inPictureCanvas_inSwCanvas()
243 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testHwBitmapShaderInSwCanvas1() local
244 BitmapShader bitmapShader = new BitmapShader(hwBitmap, Shader.TileMode.REPEAT, in testHwBitmapShaderInSwCanvas1()
256 Bitmap hwBitmap = getImmutableBitmap().copy(Bitmap.Config.HARDWARE, false); in testHwBitmapShaderInSwCanvas2() local
257 BitmapShader bitmapShader = new BitmapShader(hwBitmap, Shader.TileMode.REPEAT, in testHwBitmapShaderInSwCanvas2()
DHardwareBitmapTests.java306 Bitmap hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false); in testHardwareExtractAlpha() local
307 Bitmap alphaBitmap = hwBitmap.extractAlpha(); in testHardwareExtractAlpha()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java2112 Bitmap hwBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, HARDWARE_OPTIONS); in testHardwareCopyPixelsFromBuffer() local
2113 hwBitmap.copyPixelsFromBuffer(intBuf1); in testHardwareCopyPixelsFromBuffer()
2129 Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in testCopyHWBitmapInStrictMode() local
2130 hwBitmap.copy(Config.ARGB_8888, false); in testCopyHWBitmapInStrictMode()
2138 Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in testCreateScaledFromHWInStrictMode() local
2139 Bitmap.createScaledBitmap(hwBitmap, 200, 200, false); in testCreateScaledFromHWInStrictMode()
2147 Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in testExtractAlphaFromHWInStrictMode() local
2148 hwBitmap.extractAlpha(); in testExtractAlphaFromHWInStrictMode()
2164 Bitmap hwBitmap = mBitmap.copy(Config.HARDWARE, false); in testParcelHWInStrictMode() local
2165 hwBitmap.writeToParcel(Parcel.obtain(), 0); in testParcelHWInStrictMode()
[all …]