Home
last modified time | relevance | path

Searched refs:allocateHeapBitmap (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/tests/common/
DBitmapAllocationTestUtils.h30 static sk_sp<Bitmap> allocateHeapBitmap(int width, int height, SkColorType colorType, in allocateHeapBitmap() function
44 sk_sp<Bitmap> heapBitmap(Bitmap::allocateHeapBitmap(&skBitmap)); in allocateHardwareBitmap()
60 createBitmapAllocationScene<BaseScene, &allocateHeapBitmap>}); in registerBitmapAllocationScene()
DTestUtils.h147 return Bitmap::allocateHeapBitmap(info);
153 return Bitmap::allocateHeapBitmap(outBitmap); in createBitmap()
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp51 sk_sp<Bitmap> adobeBitmap = Bitmap::allocateHeapBitmap(adobeInfo); in TEST()
57 sk_sp<Bitmap> bitmap = Bitmap::allocateHeapBitmap(info); in TEST()
88 sk_sp<Bitmap> bitmap = Bitmap::allocateHeapBitmap(info); in TEST()
DCacheManagerTests.cpp56 Bitmap::allocateHeapBitmap(SkImageInfo::MakeA8(displayInfo.w, displayInfo.h)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/hwui/
DBitmap.h68 static sk_sp<Bitmap> allocateHeapBitmap(SkBitmap* bitmap);
69 static sk_sp<Bitmap> allocateHeapBitmap(const SkImageInfo& info);
133 static sk_sp<Bitmap> allocateHeapBitmap(size_t size, const SkImageInfo& i, size_t rowBytes);
DBitmap.cpp103 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(SkBitmap* bitmap) { in allocateHeapBitmap() function in android::Bitmap
104 return allocateBitmap(bitmap, &Bitmap::allocateHeapBitmap); in allocateHeapBitmap()
107 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(const SkImageInfo& info) { in allocateHeapBitmap() function in android::Bitmap
113 return allocateHeapBitmap(size, info, info.minRowBytes()); in allocateHeapBitmap()
116 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateHeapBitmap() function in android::Bitmap
/frameworks/base/core/jni/android/graphics/
DImageDecoder.cpp296 nativeBitmap = Bitmap::allocateHeapBitmap(&bm); in ImageDecoder_nDecodeBitmap()
393 scaledPixelRef = Bitmap::allocateHeapBitmap(&scaledBm); in ImageDecoder_nDecodeBitmap()
DBitmap.cpp363 sk_sp<Bitmap> nativeBitmap = Bitmap::allocateHeapBitmap(&bitmap); in Bitmap_creator()
772 nativeBitmap = Bitmap::allocateHeapBitmap(bitmap.get()); in Bitmap_createFromParcel()
DGraphics.cpp494 mStorage = android::Bitmap::allocateHeapBitmap(bitmap); in allocPixelRef()
/frameworks/base/libs/hwui/
DVectorDrawable.cpp615 cache.bitmap = Bitmap::allocateHeapBitmap(info); in allocateBitmapIfNeeded()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp507 sk_sp<Bitmap> androidBitmap = Bitmap::allocateHeapBitmap(&bitmap); in drawBitmapArray()