Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp90 class GraphicBufferWrapper { class
92 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer): buffer(buffer) { in GraphicBufferWrapper() function in android::GraphicBufferWrapper
105 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(b); in android_graphics_GraphicBuffer_wrap()
123 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_graphics_GraphicBuffer_create()
129 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_destroy()
130 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_destroy()
156 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_lockCanvas()
157 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_lockCanvas()
214 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_unlockCanvasAndPost()
215 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_unlockCanvasAndPost()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp60 class GraphicBufferWrapper { class
62 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer) in GraphicBufferWrapper() function in GraphicBufferWrapper
95 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_create()
99 static void destroyWrapper(GraphicBufferWrapper* wrapper) { in destroyWrapper()
113 return reinterpret_cast<GraphicBufferWrapper*>(nativeObject)->buffer.get(); in GraphicBufferWrapper_to_GraphicBuffer()
166 return reinterpret_cast<jlong>(new GraphicBufferWrapper(buffer)); in android_hardware_HardwareBuffer_read()
193 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_createFromAHardwareBuffer()