Android Open Source - graph-android Graph Surface View






From Project

Back to project page graph-android.

License

The source code is released under:

GNU General Public License

If you think the Android project graph-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package lorian.graph.android.opengl;
/*from   ww w  .java 2  s. c  o  m*/
import android.content.Context;
import android.opengl.GLSurfaceView;


public class GraphSurfaceView extends GLSurfaceView {

  public GraphRenderer renderer;

  
  public GraphSurfaceView(Context context) {
    super(context);
    setEGLContextClientVersion(1);
    super.setEGLConfigChooser(8 , 8, 8, 8, 16, 0);
    renderer = new GraphRenderer(context);
  
    
    setRenderer(renderer);
    setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);
  }
  /*
  public void recalculateWindowSettings()
  {
    renderer.recalculateWindowSettings();
  }
  public void recalculateFunctions()
  {
    renderer.recalculateFunctions();
  }
  */
  public void setRenderAxes(boolean render)
  {
    renderer.render_axes = render;
  }
  public void setRenderFunctions(boolean render)
  {
    renderer.render_functions = render;
  }

}




Java Source Code List

com.michaelnovakjr.numberpicker.NumberPickerButton.java
com.michaelnovakjr.numberpicker.NumberPickerDialog.java
com.michaelnovakjr.numberpicker.NumberPickerPreference.java
com.michaelnovakjr.numberpicker.NumberPicker.java
lorian.graph.WindowSettings.java
lorian.graph.android.FunctionDataArray.java
lorian.graph.android.GraphActivity.java
lorian.graph.android.InputActivity.java
lorian.graph.android.Util.java
lorian.graph.android.WindowSettingsActivity.java
lorian.graph.android.opengl.Color.java
lorian.graph.android.opengl.GraphRenderer.java
lorian.graph.android.opengl.GraphSurfaceView.java
lorian.graph.function.Calculate.java
lorian.graph.function.Factor.java
lorian.graph.function.Function.java
lorian.graph.function.MathChars.java
lorian.graph.function.MathFunctions.java
lorian.graph.function.PointXY.java
lorian.graph.function.Term.java
lorian.graph.function.Util.java
lorian.graph.function.Variable.java
yuku.ambilwarna.AmbilWarnaDialog.java
yuku.ambilwarna.AmbilWarnaKotak.java