Searched refs:mCurrent (Results 1 – 3 of 3) sorted by relevance
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | EnvelopeADSR.java | 37 private float mCurrent; field in EnvelopeADSR 83 mCurrent += mAttackRate; in render() 84 if (mCurrent > 1.0f) { in render() 85 mCurrent = 1.0f; in render() 90 mCurrent -= mDecayRate; in render() 91 if (mCurrent < mSustainLevel) { in render() 92 mCurrent = mSustainLevel; in render() 97 mCurrent -= mRreleaseRate; in render() 98 if (mCurrent < 0.0f) { in render() 99 mCurrent = 0.0f; in render() [all …]
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | EnvelopeADSR.java | 37 private float mCurrent; field in EnvelopeADSR 83 mCurrent += mAttackRate; in render() 84 if (mCurrent > 1.0f) { in render() 85 mCurrent = 1.0f; in render() 90 mCurrent -= mDecayRate; in render() 91 if (mCurrent < mSustainLevel) { in render() 92 mCurrent = mSustainLevel; in render() 97 mCurrent -= mRreleaseRate; in render() 98 if (mCurrent < 0.0f) { in render() 99 mCurrent = 0.0f; in render() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixTrackingGL.java | 49 private MatrixStack mCurrent; field in MatrixTrackingGL 74 mCurrent = mModelView; in MatrixTrackingGL() 262 mCurrent.glFrustumf(left, right, bottom, top, near, far); in glFrustumf() 269 mCurrent.glFrustumx(left, right, bottom, top, near, far); in glFrustumx() 361 mCurrent.glLoadIdentity(); in glLoadIdentity() 367 mCurrent.glLoadMatrixf(m, offset); in glLoadMatrixf() 374 mCurrent.glLoadMatrixf(m); in glLoadMatrixf() 381 mCurrent.glLoadMatrixx(m, offset); in glLoadMatrixx() 388 mCurrent.glLoadMatrixx(m); in glLoadMatrixx() 425 mCurrent = mModelView; in glMatrixMode() [all …]
|