Searched refs:allocator (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 105 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in free_handle() local 106 allocator.free(handle); in free_handle() 136 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in reallocate() local 137 allocator.free(handle); in reallocate() 146 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); in initSize() local 147 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride); in initSize()
|
/frameworks/native/include/binder/ |
D | MemoryDealer.h | 50 SimpleBestFitAllocator* allocator() const;
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 242 const ssize_t offset = allocator()->allocate(size); in allocate() 251 allocator()->deallocate(offset); in deallocate() 256 allocator()->dump(what); in dump() 263 SimpleBestFitAllocator* MemoryDealer::allocator() const { in allocator() function in android::MemoryDealer
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 245 JavaPixelAllocator allocator(env); in Bitmap_copy() local 247 if (!src->copyTo(&result, dstConfig, &allocator)) { in Bitmap_copy() 251 …return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(), isMutable, … in Bitmap_copy() 490 JavaPixelAllocator allocator(env); in Bitmap_extractAlpha() local 492 src->extractAlpha(dst, paint, &allocator, &offset); in Bitmap_extractAlpha() 507 return GraphicsJNI::createBitmap(env, dst, allocator.getStorageObj(), true, NULL, NULL); in Bitmap_extractAlpha()
|
D | BitmapRegionDecoder.cpp | 258 JavaPixelAllocator* allocator = (JavaPixelAllocator*) decoder->getAllocator(); in nativeDecodeRegion() local 259 jbyteArray buff = allocator->getStorageObjAndReset(); in nativeDecodeRegion()
|
/frameworks/base/libs/hwui/ |
D | DisplayListRenderer.h | 195 LinearAllocator& alloc() { return mDisplayListData->allocator; } in alloc() 207 T* dstBuffer = (T*) mDisplayListData->allocator.alloc(count * sizeof(T)); in refBuffer()
|
D | DisplayList.cpp | 160 mSize = mDisplayListData->allocator.usedSize(); in initFromDisplayListRenderer() 167 LinearAllocator& alloc = mDisplayListData->allocator; in initFromDisplayListRenderer()
|
D | DisplayList.h | 90 LinearAllocator allocator;
|
D | DisplayListOp.h | 72 static void* operator new(size_t size, LinearAllocator& allocator) { in new() argument 73 return allocator.alloc(size); in new()
|
/frameworks/native/include/gui/ |
D | BufferQueue.h | 104 const sp<IGraphicBufferAlloc>& allocator = NULL);
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 67 const sp<IGraphicBufferAlloc>& allocator) : in BufferQueue() argument 87 if (allocator == NULL) { in BufferQueue() 94 mGraphicBufferAlloc = allocator; in BufferQueue()
|