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
112 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(b); in android_graphics_GraphicBuffer_wrap()
130 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_graphics_GraphicBuffer_create()
136 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_destroy()
137 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_destroy()
148 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_lockCanvas()
149 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_lockCanvas()
200 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_unlockCanvasAndPost()
201 reinterpret_cast<GraphicBufferWrapper*>(wrapperHandle); in android_graphics_GraphicBuffer_unlockCanvasAndPost()
[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()
188 return reinterpret_cast<jlong>(new GraphicBufferWrapper(buffer)); in android_hardware_HardwareBuffer_read()
215 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_createFromAHardwareBuffer()