Lines Matching refs:delegate
36 private VideoSurfaceDelegate delegate;
49 public void setDelegate(VideoSurfaceDelegate delegate) {
50 LogUtil.i("VideoSurfaceTextureImpl.setDelegate", "delegate: " + delegate + " " + toString());
51 this.delegate = delegate;
148 if (delegate != null) {
149 delegate.onSurfaceCreated(this);
151 LogUtil.e("VideoSurfaceTextureImpl.onSurfaceCreated", "delegate is null. " + toString());
156 if (delegate != null) {
157 delegate.onSurfaceReleased(this);
159 LogUtil.e("VideoSurfaceTextureImpl.onSurfaceReleased", "delegate is null. " + toString());
201 // Inform the delegate that the surface is available.
215 if (delegate != null) {
216 delegate.onSurfaceDestroyed(VideoSurfaceTextureImpl.this);
218 LogUtil.e("SurfaceTextureListener.onSurfaceTextureDestroyed", "delegate is null");
241 if (delegate != null) {
242 delegate.onSurfaceClick(VideoSurfaceTextureImpl.this);
244 LogUtil.e("OnClickListener.onClick", "delegate is null");