Lines Matching defs:surfaceHolder
26 import android.view.SurfaceHolder;
56 public void surfaceCreated(SurfaceHolder surfaceHolder) {
57 super.surfaceCreated(surfaceHolder);
61 surface = surfaceHolder.getSurface();
67 surfaceHolder.setSizeFromLayout();
68 surfaceHolder.setFormat(PixelFormat.RGBA_8888);
72 public void surfaceDestroyed(SurfaceHolder surfaceHolder) {
73 super.surfaceDestroyed(surfaceHolder);
78 public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) {
79 super.surfaceChanged(surfaceHolder, format, width, height);
81 mRenderScript.setSurface(surfaceHolder, width, height);