Lines Matching refs:surface
308 const sp<PersistentSurface> &surface) {
309 return mCodec->setInputSurface(surface);
994 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface));
995 if (surface != NULL) {
996 bufferProducer = surface->getIGraphicBufferProducer();
1001 "The surface has been released");
1035 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface));
1036 if (surface != NULL) {
1037 bufferProducer = surface->getIGraphicBufferProducer();
1042 "The surface has been released");
1078 sp<Surface> surface = new Surface(
1080 if (surface == NULL) {
1102 (jlong)surface.get());
1115 surface->incStrong(&sRefBaseOwner);
1143 // no need to release surface as it will be released by Surface's jni