Lines Matching refs:surface
108 explicit SetSurfaceAction(const sp<Surface> &surface)
109 : mSurface(surface) {
374 msg->setObject("surface", NULL);
376 msg->setObject("surface", new Surface(bufferProducer, true /* controlledByApp */));
746 CHECK(msg->findObject("surface", &obj));
747 sp<Surface> surface = static_cast<Surface *>(obj.get());
750 surface.get(),
759 || (mVideoDecoder != NULL && mVideoDecoder->setVideoSurface(surface) == OK)) {
760 performSetSurface(surface);
768 mDeferredActions.push_back(new SetSurfaceAction(surface));
784 // If there is a new surface texture, instantiate decoders
2262 void NuPlayer::performSetSurface(const sp<Surface> &surface) {
2265 mSurface = surface;