Searched refs:MidiEvent (Results 1 – 6 of 6) sorted by relevance
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiEventScheduler.java | 42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend() 49 public static class MidiEvent extends SchedulableEvent { class in MidiEventScheduler 53 private MidiEvent(int count) { in MidiEvent() method in MidiEventScheduler.MidiEvent 58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() method in MidiEventScheduler.MidiEvent 78 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, in createScheduledEvent() 80 MidiEvent event; in createScheduledEvent() 82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent() 84 event = (MidiEvent) removeEventfromPool(); in createScheduledEvent() 86 event = new MidiEvent(POOL_EVENT_SIZE); in createScheduledEvent() 103 if (event instanceof MidiEvent) { in addEventToPool() [all …]
|
D | MidiEventThread.java | 37 MidiEvent event = (MidiEvent) waitNextEvent(); in run()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiEventScheduler.java | 42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend() 49 public static class MidiEvent extends SchedulableEvent { class in MidiEventScheduler 53 private MidiEvent(int count) { in MidiEvent() method in MidiEventScheduler.MidiEvent 58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() method in MidiEventScheduler.MidiEvent 78 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, in createScheduledEvent() 80 MidiEvent event; in createScheduledEvent() 82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent() 84 event = (MidiEvent) removeEventfromPool(); in createScheduledEvent() 86 event = new MidiEvent(POOL_EVENT_SIZE); in createScheduledEvent() 103 if (event instanceof MidiEvent) { in addEventToPool() [all …]
|
D | MidiEventThread.java | 37 MidiEvent event = (MidiEvent) waitNextEvent(); in run()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 24 import com.example.android.common.midi.MidiEventScheduler.MidiEvent; 170 MidiEvent event = (MidiEvent) mEventScheduler.getNextEvent(now); in processMidiEvents() 174 event = (MidiEvent) mEventScheduler.getNextEvent(now); in processMidiEvents()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 24 import com.example.android.common.midi.MidiEventScheduler.MidiEvent; 170 MidiEvent event = (MidiEvent) mEventScheduler.getNextEvent(now); in processMidiEvents() 174 event = (MidiEvent) mEventScheduler.getNextEvent(now); in processMidiEvents()
|