Home
last modified time | relevance | path

Searched refs:mOpenDevice (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiInputPortSelector.java37 private MidiDevice mOpenDevice; field in MidiInputPortSelector
60 mOpenDevice = device; in onPortSelected()
61 mInputPort = mOpenDevice.openInputPort( in onPortSelected()
85 if (mOpenDevice != null) { in onClose()
86 mOpenDevice.close(); in onClose()
88 mOpenDevice = null; in onClose()
DMidiOutputPortSelector.java37 private MidiDevice mOpenDevice; field in MidiOutputPortSelector
63 mOpenDevice = device; in onPortSelected()
85 if (mOpenDevice != null) { in onClose()
86 mOpenDevice.close(); in onClose()
88 mOpenDevice = null; in onClose()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiInputPortSelector.java37 private MidiDevice mOpenDevice; field in MidiInputPortSelector
60 mOpenDevice = device; in onPortSelected()
61 mInputPort = mOpenDevice.openInputPort( in onPortSelected()
85 if (mOpenDevice != null) { in onClose()
86 mOpenDevice.close(); in onClose()
88 mOpenDevice = null; in onClose()
DMidiOutputPortSelector.java37 private MidiDevice mOpenDevice; field in MidiOutputPortSelector
63 mOpenDevice = device; in onPortSelected()
85 if (mOpenDevice != null) { in onClose()
86 mOpenDevice.close(); in onClose()
88 mOpenDevice = null; in onClose()