Home
last modified time | relevance | path

Searched refs:CORNER_ANGLE (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java590 private static final float CORNER_ANGLE = (float) Math.PI * 2 / 3;
611 mPath.lineTo((float)Math.cos(-CORNER_ANGLE) * mSize,
612 (float)Math.sin(-CORNER_ANGLE) * mSize);
614 mPath.lineTo((float)Math.cos(CORNER_ANGLE) * mSize,
615 (float)Math.sin(CORNER_ANGLE) * mSize);
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java640 private static final float CORNER_ANGLE = (float) Math.PI * 2 / 3; field in GameView.Ship
681 mPath.lineTo((float) Math.cos(-CORNER_ANGLE) * mSize, in Ship()
682 (float) Math.sin(-CORNER_ANGLE) * mSize); in Ship()
684 mPath.lineTo((float) Math.cos(CORNER_ANGLE) * mSize, in Ship()
685 (float) Math.sin(CORNER_ANGLE) * mSize); in Ship()