Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSineOscillator.java42 float x2 = (x * x); in fastSin() local
44 return x * (x2 * (x2 * (x2 * (x2 * ((x2 * (-IF11)) + IF9) - IF7) + IF5) - IF3) + 1); in fastSin()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSineOscillator.java42 float x2 = (x * x); in fastSin() local
44 return x * (x2 * (x2 * (x2 * (x2 * ((x2 * (-IF11)) + IF9) - IF7) + IF5) - IF3) + 1); in fastSin()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java202 void drawLine(Canvas c, int x1, int y1, int z1, int x2, int y2, int z2) { in drawLine() argument
218 float newx2 = (float)(Math.sin(yrot) * newz2 + Math.cos(yrot) * x2); in drawLine()
220 newz2 = (float)(Math.cos(yrot) * newz2 - Math.sin(yrot) * x2); in drawLine()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java551 float x2 = pt2xStart; in handleEvent() local
569 .addPointer(0, x1, y1).addPointer(1, x2, y2).setIntermediateNote(true)); in handleEvent()
574 x2 += pt2xStep; in handleEvent()
579 .setEventTime(eventTime).addPointer(0, x1, y1, 1, 5).addPointer(1, x2, in handleEvent()
585 .addPointer(1, x2, y2)); in handleEvent()