Interface of android.view, in SurfaceHolder · SurfaceHolder.java · Android's reference
public static interface Callback
public abstract void surfaceCreated(SurfaceHolder holder) sourcepublic abstract void surfaceChanged(SurfaceHolder holder, int format, int width, int height) sourcepublic abstract void surfaceDestroyed(SurfaceHolder holder) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.