Lines Matching refs:data
70 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
73 if (!MidiConstants.isAllActiveSensing(data, offset, count)) { in onSend()
74 mEventScheduler.getReceiver().send(data, offset, count, in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
84 byte command = (byte) (data[0] & MidiConstants.STATUS_COMMAND_MASK); in onSend()
85 int channel = (byte) (data[0] & MidiConstants.STATUS_CHANNEL_MASK); in onSend()
88 noteOff(channel, data[1], data[2]); in onSend()
91 noteOn(channel, data[1], data[2]); in onSend()
94 int bend = (data[2] << 7) + data[1]; in onSend()
98 mProgram = data[1]; in onSend()
102 logMidiMessage(data, offset, count); in onSend()
156 public void logMidiMessage(byte[] data, int offset, int count) { in logMidiMessage() argument
159 text += String.format("0x%02X, ", data[offset + i]); in logMidiMessage()
172 mFramer.send(event.data, 0, event.count, event.getTimestamp()); in processMidiEvents()