Home
last modified time | relevance | path

Searched refs:mPhase (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSawOscillator.java20 private float mPhase = 0.0f; field in SawOscillator
58 mPhase += mPhaseIncrement; in incrementWrapPhase()
59 while (mPhase > 1.0) { in incrementWrapPhase()
60 mPhase -= 2.0; in incrementWrapPhase()
62 while (mPhase < -1.0) { in incrementWrapPhase()
63 mPhase += 2.0; in incrementWrapPhase()
65 return mPhase; in incrementWrapPhase()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSawOscillator.java20 private float mPhase = 0.0f; field in SawOscillator
58 mPhase += mPhaseIncrement; in incrementWrapPhase()
59 while (mPhase > 1.0) { in incrementWrapPhase()
60 mPhase -= 2.0; in incrementWrapPhase()
62 while (mPhase < -1.0) { in incrementWrapPhase()
63 mPhase += 2.0; in incrementWrapPhase()
65 return mPhase; in incrementWrapPhase()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPathEffects.java38 private float mPhase; field in PathEffects.SampleView
79 makeEffects(mEffects, mPhase); in onDraw()
80 mPhase += 1; in onDraw()