Java Code Examples for android.view.SurfaceHolder.Callback

The following examples show how to use android.view.SurfaceHolder.Callback. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
Source Project: letv   Source File: DanmakuSurfaceView.java    License: Apache License 2.0 4 votes vote down vote up
public void setCallback(DrawHandler.Callback callback) {
    this.mCallback = callback;
    if (this.handler != null) {
        this.handler.setCallback(callback);
    }
}