Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DEnvelopeADSR.java31 private static final float MIN_TIME = 0.001f; field in EnvelopeADSR
48 if (time < MIN_TIME) in setAttackTime()
49 time = MIN_TIME; in setAttackTime()
54 if (time < MIN_TIME) in setDecayTime()
55 time = MIN_TIME; in setDecayTime()
66 if (time < MIN_TIME) in setReleaseTime()
67 time = MIN_TIME; in setReleaseTime()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DEnvelopeADSR.java31 private static final float MIN_TIME = 0.001f; field in EnvelopeADSR
48 if (time < MIN_TIME) in setAttackTime()
49 time = MIN_TIME; in setAttackTime()
54 if (time < MIN_TIME) in setDecayTime()
55 time = MIN_TIME; in setDecayTime()
66 if (time < MIN_TIME) in setReleaseTime()
67 time = MIN_TIME; in setReleaseTime()