Searched refs:noteIndex (Results 1 – 7 of 7) sorted by relevance
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 197 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()
|
D | SawVoice.java | 36 public void noteOn(int noteIndex, int velocity) { in noteOn() argument 37 super.noteOn(noteIndex, velocity); in noteOn() 38 mOscillator.setPitch(noteIndex); in noteOn()
|
D | SynthVoice.java | 33 public void noteOn(int noteIndex, int velocity) { in noteOn() argument 35 this.mNoteIndex = noteIndex; in noteOn()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 197 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()
|
D | SawVoice.java | 36 public void noteOn(int noteIndex, int velocity) { in noteOn() argument 37 super.noteOn(noteIndex, velocity); in noteOn() 38 mOscillator.setPitch(noteIndex); in noteOn()
|
D | SynthVoice.java | 33 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/ |
D | NotePadProviderTest.java | 658 int noteIndex = cursor.getColumnIndex(NotePad.Notes.COLUMN_NAME_NOTE); in testInserts() local 665 assertEquals(note.note, cursor.getString(noteIndex)); in testInserts()
|