Home
last modified time | relevance | path

Searched refs:mMidiManager (Results 1 – 11 of 11) sorted by relevance

/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/
DMainActivity.java42 private MidiManager mMidiManager; field in MainActivity
89 mMidiManager = (MidiManager) getSystemService(MIDI_SERVICE); in setupMidi()
91 MidiDeviceInfo synthInfo = MidiTools.findDevice(mMidiManager, "AndroidTest", in setupMidi()
94 mPortSelector = new MidiOutputPortConnectionSelector(mMidiManager, this, in setupMidi()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortConnector.java33 private final MidiManager mMidiManager; field in MidiPortConnector
42 mMidiManager = midiManager; in MidiPortConnector()
115 mMidiManager.openDevice(destinationDeviceInfo, in connectToDevicePort()
168 mMidiManager.openDevice(sourceDeviceInfo, in connectToDevicePort()
DMidiPortSelector.java42 protected MidiManager mMidiManager; field in MidiPortSelector
56 mMidiManager = midiManager; in MidiPortSelector()
82 mMidiManager.registerDeviceCallback(this, in MidiPortSelector()
85 MidiDeviceInfo[] infos = mMidiManager.getDevices(); in MidiPortSelector()
DMidiOutputPortConnectionSelector.java56 mSynthConnector = new MidiPortConnector(mMidiManager); in onPortSelected()
DMidiInputPortSelector.java54 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected()
DMidiOutputPortSelector.java56 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortConnector.java33 private final MidiManager mMidiManager; field in MidiPortConnector
42 mMidiManager = midiManager; in MidiPortConnector()
115 mMidiManager.openDevice(destinationDeviceInfo, in connectToDevicePort()
168 mMidiManager.openDevice(sourceDeviceInfo, in connectToDevicePort()
DMidiPortSelector.java42 protected MidiManager mMidiManager; field in MidiPortSelector
56 mMidiManager = midiManager; in MidiPortSelector()
82 mMidiManager.registerDeviceCallback(this, in MidiPortSelector()
85 MidiDeviceInfo[] infos = mMidiManager.getDevices(); in MidiPortSelector()
DMidiOutputPortConnectionSelector.java56 mSynthConnector = new MidiPortConnector(mMidiManager); in onPortSelected()
DMidiInputPortSelector.java54 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected()
DMidiOutputPortSelector.java56 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected()