Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp54 jfieldID frameAvailableListener; member
115 env->GetLongField(thiz, fields.frameAvailableListener); in SurfaceTexture_setFrameAvailableListener()
122 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); in SurfaceTexture_setFrameAvailableListener()
244 fields.frameAvailableListener = env->GetFieldID(clazz, in SurfaceTexture_classInit()
246 if (fields.frameAvailableListener == NULL) { in SurfaceTexture_classInit()
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp788 sp<IConsumerListener> frameAvailableListener; in queueBuffer() local
899 frameAvailableListener = mCore->mConsumerListener; in queueBuffer()
930 frameAvailableListener = mCore->mConsumerListener; in queueBuffer()
976 if (frameAvailableListener != NULL) { in queueBuffer()
977 frameAvailableListener->onFrameAvailable(item); in queueBuffer()