Home
last modified time | relevance | path

Searched refs:noteIndex (Results 1 – 7 of 7) sorted by relevance

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSawVoice.java36 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
37 super.noteOn(noteIndex, velocity); in noteOn()
38 mOscillator.setPitch(noteIndex); in noteOn()
DSynthEngine.java197 public void noteOff(int channel, int noteIndex, int velocity) { in noteOff() argument
198 SynthVoice voice = mVoices.get(noteIndex); in noteOff()
230 public void noteOn(int channel, int noteIndex, int velocity) { in noteOn() argument
232 noteOff(channel, noteIndex, velocity); in noteOn()
234 mVoices.remove(noteIndex); in noteOn()
242 voice.noteOn(noteIndex, velocity); in noteOn()
243 mVoices.put(noteIndex, voice); in noteOn()
DSynthVoice.java33 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
35 this.mNoteIndex = noteIndex; in noteOn()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSawVoice.java36 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
37 super.noteOn(noteIndex, velocity); in noteOn()
38 mOscillator.setPitch(noteIndex); in noteOn()
DSynthEngine.java197 public void noteOff(int channel, int noteIndex, int velocity) { in noteOff() argument
198 SynthVoice voice = mVoices.get(noteIndex); in noteOff()
230 public void noteOn(int channel, int noteIndex, int velocity) { in noteOn() argument
232 noteOff(channel, noteIndex, velocity); in noteOn()
234 mVoices.remove(noteIndex); in noteOn()
242 voice.noteOn(noteIndex, velocity); in noteOn()
243 mVoices.put(noteIndex, voice); in noteOn()
DSynthVoice.java33 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
35 this.mNoteIndex = noteIndex; in noteOn()
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java658 int noteIndex = cursor.getColumnIndex(NotePad.Notes.COLUMN_NAME_NOTE); in testInserts() local
665 assertEquals(note.note, cursor.getString(noteIndex)); in testInserts()