Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_graphics_GraphicBuffer.cpp89 class GraphicBufferWrapper { class
91 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer): buffer(buffer) { in GraphicBufferWrapper() function in android::GraphicBufferWrapper
121 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_graphics_GraphicBuffer_create()
127 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_destroy()
128 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_destroy()
139 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_lockCanvas()
140 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_lockCanvas()
191 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_unlockCanvasAndPost()
192 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_unlockCanvasAndPost()
208 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_write()
[all …]
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()
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()
202 return reinterpret_cast<jlong>(new GraphicBufferWrapper(buffer)); in android_hardware_HardwareBuffer_read()
239 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_createFromAHardwareBuffer()