Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp55 jfieldID frameAvailableListener; member
116 env->GetLongField(thiz, fields.frameAvailableListener); in SurfaceTexture_setFrameAvailableListener()
123 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); in SurfaceTexture_setFrameAvailableListener()
245 fields.frameAvailableListener = env->GetFieldID(clazz, in SurfaceTexture_classInit()
247 if (fields.frameAvailableListener == NULL) { in SurfaceTexture_classInit()
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp801 sp<IConsumerListener> frameAvailableListener; in queueBuffer() local
913 frameAvailableListener = mCore->mConsumerListener; in queueBuffer()
944 frameAvailableListener = mCore->mConsumerListener; in queueBuffer()
987 if (frameAvailableListener != nullptr) { in queueBuffer()
988 frameAvailableListener->onFrameAvailable(item); in queueBuffer()