Home
last modified time | relevance | path

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

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortSelector.java39 protected ArrayAdapter<MidiPortWrapper> mAdapter;
40 protected HashSet<MidiPortWrapper> mBusyPorts = new HashSet<MidiPortWrapper>();
44 private MidiPortWrapper mCurrentWrapper;
59 mAdapter = new ArrayAdapter<MidiPortWrapper>(activity, in MidiPortSelector()
63 mAdapter.add(new MidiPortWrapper(null, 0, 0)); in MidiPortSelector()
108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded()
119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved()
120 MidiPortWrapper currentWrapper = mCurrentWrapper; in onDeviceRemoved()
144 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceStatusChanged()
170 public abstract void onPortSelected(MidiPortWrapper wrapper); in onPortSelected()
DMidiPortWrapper.java24 public class MidiPortWrapper { class
36 public MidiPortWrapper(MidiDeviceInfo info, int portType, int portIndex) { in MidiPortWrapper() method in MidiPortWrapper
104 if (!(other instanceof MidiPortWrapper)) in equals()
106 MidiPortWrapper otherWrapper = (MidiPortWrapper) other; in equals()
DMidiOutputPortConnectionSelector.java52 public void onPortSelected(final MidiPortWrapper wrapper) { in onPortSelected()
DMidiInputPortSelector.java50 public void onPortSelected(final MidiPortWrapper wrapper) { in onPortSelected()
DMidiOutputPortSelector.java50 public void onPortSelected(final MidiPortWrapper wrapper) { in onPortSelected()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortSelector.java39 protected ArrayAdapter<MidiPortWrapper> mAdapter;
40 protected HashSet<MidiPortWrapper> mBusyPorts = new HashSet<MidiPortWrapper>();
44 private MidiPortWrapper mCurrentWrapper;
59 mAdapter = new ArrayAdapter<MidiPortWrapper>(activity, in MidiPortSelector()
63 mAdapter.add(new MidiPortWrapper(null, 0, 0)); in MidiPortSelector()
108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded()
119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved()
120 MidiPortWrapper currentWrapper = mCurrentWrapper; in onDeviceRemoved()
144 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceStatusChanged()
170 public abstract void onPortSelected(MidiPortWrapper wrapper); in onPortSelected()
DMidiPortWrapper.java24 public class MidiPortWrapper { class
36 public MidiPortWrapper(MidiDeviceInfo info, int portType, int portIndex) { in MidiPortWrapper() method in MidiPortWrapper
104 if (!(other instanceof MidiPortWrapper)) in equals()
106 MidiPortWrapper otherWrapper = (MidiPortWrapper) other; in equals()
DMidiOutputPortConnectionSelector.java52 public void onPortSelected(final MidiPortWrapper wrapper) { in onPortSelected()
DMidiInputPortSelector.java50 public void onPortSelected(final MidiPortWrapper wrapper) { in onPortSelected()
DMidiOutputPortSelector.java50 public void onPortSelected(final MidiPortWrapper wrapper) { in onPortSelected()
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMainActivity.java35 import com.example.android.common.midi.MidiPortWrapper;
77 public void onPortSelected(final MidiPortWrapper wrapper) { in onCreate()