JNI for android.view.Surface