Android Open Source - AndroidUIExample Symbol Action






From Project

Back to project page AndroidUIExample.

License

The source code is released under:

Apache License

If you think the Android project AndroidUIExample 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 action;
//from   w  w  w. jav a  2s  .  c  o  m
public class SymbolAction extends Action {

  public SymbolAction() {

    final float startX = 0.21875f;
    final float center = 0.5f;

    lineData = new float[]{
        // line 1
        (1f-startX), center, (1f-0.52f), 0.2f,
        // line 2
        .2f, .5f, .9f, .8f,
        // line 2
        (1f-startX), center, (1f-0.52f), 0.8f,};
    
    //make the elbow look cleaner
    lineSegments.add(new LineSegment(0, 8));
    lineSegments.add(new LineSegment(4));
  }
}




Java Source Code List

action.Action.java
action.BackAction.java
action.CloseAction.java
action.DrawerAction.java
action.LineSegment.java
action.PlusAction.java
action.SymbolAction.java
com.example.androidui.ActionView.java
com.example.androidui.MyActivity.java
com.example.androidui.RevealColorView.java
util.BakedBezierInterpolator.java
util.UiHelper.java