Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_graphics_SurfaceTexture.cpp56 jfieldID frameAvailableListener; member
117 env->GetLongField(thiz, fields.frameAvailableListener); in SurfaceTexture_setFrameAvailableListener()
124 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); in SurfaceTexture_setFrameAvailableListener()
239 fields.frameAvailableListener = env->GetFieldID(clazz, in SurfaceTexture_classInit()
241 if (fields.frameAvailableListener == NULL) { in SurfaceTexture_classInit()
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp842 sp<IConsumerListener> frameAvailableListener; in queueBuffer() local
954 frameAvailableListener = mCore->mConsumerListener; in queueBuffer()
994 frameAvailableListener = mCore->mConsumerListener; in queueBuffer()
1049 if (frameAvailableListener != nullptr) { in queueBuffer()
1050 frameAvailableListener->onFrameAvailable(item); in queueBuffer()