Home
last modified time | relevance | path

Searched refs:phase (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSawOscillatorDPW.java43 float phase = incrementWrapPhase(); in render() local
45 float squared = phase * phase; in render()
DSineOscillator.java50 float phase = incrementWrapPhase(); in render() local
51 return fastSin(phase) * getAmplitude(); in render()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSawOscillatorDPW.java43 float phase = incrementWrapPhase(); in render() local
45 float squared = phase * phase; in render()
DSineOscillator.java50 float phase = incrementWrapPhase(); in render() local
51 return fastSin(phase) * getAmplitude(); in render()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPathEffects.java40 private static PathEffect makeDash(float phase) { in makeDash() argument
41 return new DashPathEffect(new float[] { 15, 5, 8, 5 }, phase); in makeDash()
44 private static void makeEffects(PathEffect[] e, float phase) { in makeEffects() argument
47 e[2] = new DashPathEffect(new float[] {10, 5, 5, 5}, phase); in makeEffects()
48 e[3] = new PathDashPathEffect(makePathDash(), 12, phase, in makeEffects()
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
DHardcodedColorDetector.java144 final int phase = context.getPhase(); in visitElement() local