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()
953 frameAvailableListener = mCore->mConsumerListener; in queueBuffer()
1007 if (frameAvailableListener != nullptr) { in queueBuffer()
1008 frameAvailableListener->onFrameAvailable(item); in queueBuffer()