Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp93 class GraphicBufferWrapper { class
95 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer): buffer(buffer) { in GraphicBufferWrapper() function in android::GraphicBufferWrapper
116 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(b); in android_graphics_GraphicBuffer_wrap()
134 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_graphics_GraphicBuffer_create()
140 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_destroy()
141 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_destroy()
167 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_lockCanvas()
168 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_lockCanvas()
224 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_unlockCanvasAndPost()
225 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_unlockCanvasAndPost()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp61 class GraphicBufferWrapper { class
63 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer) in GraphicBufferWrapper() function in GraphicBufferWrapper
96 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_create()
102 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_createFromGraphicBuffer()
106 static void destroyWrapper(GraphicBufferWrapper* wrapper) { in destroyWrapper()
135 return reinterpret_cast<GraphicBufferWrapper*>(nativeObject)->buffer.get(); in GraphicBufferWrapper_to_GraphicBuffer()
188 return reinterpret_cast<jlong>(new GraphicBufferWrapper(buffer)); in android_hardware_HardwareBuffer_read()
215 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_createFromAHardwareBuffer()