Home
last modified time | relevance | path

Searched refs:javaAllocator (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DBitmapRegionDecoder.cpp86 JavaPixelAllocator *javaAllocator = new JavaPixelAllocator(env); in createBitmapRegionDecoder() local
87 decoder->setAllocator(javaAllocator); in createBitmapRegionDecoder()
88 javaAllocator->unref(); in createBitmapRegionDecoder()
DBitmapFactory.cpp307 JavaPixelAllocator javaAllocator(env); in doDecode() local
311 (SkBitmap::Allocator*)&recyclingAllocator : (SkBitmap::Allocator*)&javaAllocator; in doDecode()
316 decoder->setSkipWritingZeroes(outputAllocator == &javaAllocator); in doDecode()
429 if (outputAllocator != &javaAllocator) { in doDecode()
486 return GraphicsJNI::createBitmap(env, outputBitmap, javaAllocator.getStorageObj(), in doDecode()