Back to project page app-o-lantern.
The source code is released under:
Apache License
If you think the Android project app-o-lantern listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.octagonsoftware.appolantern.android; /*from w ww . j a va2 s . co m*/ import android.content.Context; import android.opengl.GLSurfaceView; import android.util.AttributeSet; /** * View that renders full-screen glow, fading between yellow and red. * * @author markroth8 */ public class AppOLanternView extends GLSurfaceView { public AppOLanternView(Context context, AttributeSet attrs) { super(context, attrs); init(); } public AppOLanternView(Context context) { super(context); init(); } private void init() { setEGLContextClientVersion(2); setRenderer(new AppOLanternRenderer()); setRenderMode(RENDERMODE_CONTINUOUSLY); } }