Home
last modified time | relevance | path

Searched refs:allocateHeapBitmap (Results 1 – 12 of 12) 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.h183 return Bitmap::allocateHeapBitmap(info);
189 return Bitmap::allocateHeapBitmap(outBitmap); in createBitmap()
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp87 sk_sp<Bitmap> adobeBitmap = Bitmap::allocateHeapBitmap(adobeInfo); in TEST()
93 sk_sp<Bitmap> bitmap = Bitmap::allocateHeapBitmap(info); in TEST()
124 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.cpp79 static sk_sp<Bitmap> allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateHeapBitmap() function
91 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(SkBitmap* bitmap) { in allocateHeapBitmap() function in android::Bitmap
92 return allocateBitmap(bitmap, &android::allocateHeapBitmap); in allocateHeapBitmap()
95 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(const SkImageInfo& info) { in allocateHeapBitmap() function in android::Bitmap
101 return android::allocateHeapBitmap(size, info, info.minRowBytes()); in allocateHeapBitmap()
DBitmap.h49 static sk_sp<Bitmap> allocateHeapBitmap(SkBitmap* bitmap);
50 static sk_sp<Bitmap> allocateHeapBitmap(const SkImageInfo& info);
/frameworks/base/core/jni/android/graphics/
DImageDecoder.cpp280 nativeBitmap = Bitmap::allocateHeapBitmap(&bm); in ImageDecoder_nDecodeBitmap()
377 scaledPixelRef = Bitmap::allocateHeapBitmap(&scaledBm); in ImageDecoder_nDecodeBitmap()
DBitmap.cpp683 sk_sp<Bitmap> nativeBitmap = Bitmap::allocateHeapBitmap(&bitmap); in Bitmap_creator()
1133 nativeBitmap = Bitmap::allocateHeapBitmap(bitmap.get()); in Bitmap_createFromParcel()
DGraphics.cpp611 mStorage = android::Bitmap::allocateHeapBitmap(bitmap); in allocPixelRef()
/frameworks/base/libs/hwui/
DPathCache.cpp165 sk_sp<Bitmap> bitmap = Bitmap::allocateHeapBitmap(SkImageInfo::MakeA8(width, height)); in drawPath()
DVectorDrawable.cpp606 cache.bitmap = Bitmap::allocateHeapBitmap(info); in allocateBitmapIfNeeded()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp456 sk_sp<Bitmap> androidBitmap = Bitmap::allocateHeapBitmap(&bitmap); in drawBitmapArray()