Searched refs:hardwareBitmap (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ReadbackFromHardwareBitmap.cpp | 44 sk_sp<Bitmap> hardwareBitmap(createHardwareBitmap()); in createContent() local 47 hardwareBitmap->getSkBitmap(&readback); in createContent() 50 sk_sp<Bitmap> heapBitmap(TestUtils::createBitmap(hardwareBitmap->width(), in createContent() 51 hardwareBitmap->height(), &canvasBitmap)); in createContent() 57 canvas.drawBitmap(*hardwareBitmap, 0, 500, nullptr); in createContent()
|
D | HwBitmap565.cpp | 33 sk_sp<Bitmap> hardwareBitmap = BitmapAllocationTestUtils::allocateHardwareBitmap( in createContent() local 43 canvas.drawBitmap(*hardwareBitmap, 10.0f, 10.0f, nullptr); in createContent()
|
D | HwBitmapInCompositeShader.cpp | 53 sk_sp<Bitmap> hardwareBitmap(Bitmap::createFrom(buffer)); in createContent() local 54 sk_sp<SkShader> hardwareShader(createBitmapShader(*hardwareBitmap)); in createContent()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 243 Bitmap hardwareBitmap = Bitmap.createHardwareBitmap(buffer); in testCreateHardwareBitmapFromGraphicBuffer() local 244 assertTrue(hardwareBitmap.isPremultiplied()); in testCreateHardwareBitmapFromGraphicBuffer() 245 assertFalse(hardwareBitmap.isMutable()); in testCreateHardwareBitmapFromGraphicBuffer()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapRegionDecoder.cpp | 230 sk_sp<Bitmap> hardwareBitmap = Bitmap::allocateHardwareBitmap(bitmap); in nativeDecodeRegion() local 231 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags); in nativeDecodeRegion()
|
D | BitmapFactory.cpp | 504 sk_sp<Bitmap> hardwareBitmap = Bitmap::allocateHardwareBitmap(outputBitmap); in doDecode() local 505 if (!hardwareBitmap.get()) { in doDecode() 508 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags, in doDecode()
|