Home | History | Annotate | Download | only in view

Lines Matching refs:mSurface

109     private SurfaceTexture mSurface;
226 mSurface.detachFromGLContext();
230 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface);
238 if (shouldRelease) mSurface.release();
239 mSurface = null;
310 if (mSurface != null) {
311 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
313 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
344 mSurface = mAttachInfo.mHardwareRenderer.createSurfaceTexture(mLayer);
346 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
347 nCreateNativeWindow(mSurface);
365 mSurface.setOnFrameAvailableListener(mUpdateListener);
368 mListener.onSurfaceTextureAvailable(mSurface, getWidth(), getHeight());
385 mAttachInfo.mHardwareRenderer.setSurfaceTexture(mLayer, mSurface);
386 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
399 if (mSurface != null) {
404 mSurface.setOnFrameAvailableListener(mUpdateListener);
407 mSurface.setOnFrameAvailableListener(null);
433 mListener.onSurfaceTextureUpdated(mSurface);
599 return mSurface != null;
687 return mSurface;
709 if (mSurface != null) {
710 mSurface.release();
712 mSurface = surfaceTexture;