Searched refs:rad (Results 1 – 3 of 3) sorted by relevance
99 for (double rad = step; rad <= twoPi - step; rad += step) { in verifyColors()100 int x = CENTER + (int)(Math.cos(rad) * RADIUS); in verifyColors()101 int y = CENTER + (int)(Math.sin(rad) * RADIUS); in verifyColors()103 float relPos = (float)(rad / twoPi); in verifyColors()141 Log.w(getClass().getName(), "rad=" + rad + ", x=" + x + ", y=" + y in verifyColors()
37 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInByteArray() local41 int unsigned = (int)(Math.sin(j * (rad + j * sweep)) * Byte.MAX_VALUE) in createSoundDataInByteArray()50 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInShortArray() local54 vai[j] = (short)(Math.sin(j * (rad + j * sweep)) * Short.MAX_VALUE); in createSoundDataInShortArray()61 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInFloatArray() local65 vaf[j] = (float)(Math.sin(j * (rad + j * sweep))); in createSoundDataInFloatArray()77 final double rad = numCycles * 2.0 * Math.PI / numFrames; in createSineWavesShort() local79 short sample = (short)(amplitude * Math.sin(j * rad) * Short.MAX_VALUE); in createSineWavesShort()
48 void setRadius(int rad) {52 radius = rad;