Home
last modified time | relevance | path

Searched refs:statusInt (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiConstants.java71 int statusInt = statusByte & 0xFF; in getBytesPerMessage() local
72 if (statusInt >= 0xF0) { in getBytesPerMessage()
74 return SYSTEM_BYTE_LENGTHS[statusInt & 0x0F]; in getBytesPerMessage()
75 } else if(statusInt >= 0x80) { in getBytesPerMessage()
77 return CHANNEL_BYTE_LENGTHS[(statusInt >> 4) - 8]; in getBytesPerMessage()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiConstants.java71 int statusInt = statusByte & 0xFF; in getBytesPerMessage() local
72 if (statusInt >= 0xF0) { in getBytesPerMessage()
74 return SYSTEM_BYTE_LENGTHS[statusInt & 0x0F]; in getBytesPerMessage()
75 } else if(statusInt >= 0x80) { in getBytesPerMessage()
77 return CHANNEL_BYTE_LENGTHS[(statusInt >> 4) - 8]; in getBytesPerMessage()