/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | Devices.h | 49 INLINE InstanceAccess() { devices = Devices::GetInstance(); } 50 INLINE ~InstanceAccess() { devices->Release(); } 51 Devices* operator->() { return devices; } 53 Devices* devices; member in class:Devices::InstanceAccess 64 AwtWin32GraphicsDevice** devices; member in class:Devices
|
H A D | awt_Win32GraphicsEnv.cpp | 40 JNU_ThrowInternalError(env, "Could not update the devices array."); 160 Devices::InstanceAccess devices; local 161 return devices->GetNumDevices();
|
H A D | awt_Win32GraphicsDevice.cpp | 30 * Since a display change can cause the creation of new devices 31 * at any time, there is no referencing of the devices array allowed. 35 * the device in question. Those methods will then lock the devices 66 * Construct this device. Store the screen (index into the devices 88 // Set primary device info: other devices will need to know 580 * appropriate index into the devices array. 603 * This allows the array holding all devices to be released (once 650 * The following methods take a deviceIndex for the list of devices 652 * dereferencing the list of devices allows us to do appropriate 660 Devices::InstanceAccess devices; local 666 Devices::InstanceAccess devices; local 682 Devices::InstanceAccess devices; local 694 Devices::InstanceAccess devices; local 709 Devices::InstanceAccess devices; local 715 Devices::InstanceAccess devices; local 721 Devices::InstanceAccess devices; local 727 Devices::InstanceAccess devices; local 733 Devices::InstanceAccess devices; local 739 Devices::InstanceAccess devices; local 745 Devices::InstanceAccess devices; local 754 Devices::InstanceAccess devices; local 761 Devices::InstanceAccess devices; local 805 Devices::InstanceAccess devices; local 1110 Devices::InstanceAccess devices; local 1283 Devices::InstanceAccess devices; local 1296 Devices::InstanceAccess devices; local [all...] |
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/ |
H A D | PLATFORM_API_MacOSX_Utils.h | 90 AudioDeviceID *devices; member in class:DeviceList
|
H A D | PLATFORM_API_MacOSX_Ports.cpp | 51 * In practice 10.7 OSX drivers (built-in devices, USB audio) implement AudioControl only for AudioDevice. 127 AudioDeviceID devices[count]; local 129 kAudioHardwarePropertyDevices, count*sizeof(AudioDeviceID), devices, 1); 133 if (devices[j] == mixer->deviceID) {
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AbstractMidiDeviceProvider.java | 42 * Create objects representing all MIDI output devices on the system. 50 // $$fb number of MIDI devices may change with time 57 MidiDevice[] devices = getDeviceCache(); 62 if (devices == null || devices.length != 0) { 82 // in case that we are re-reading devices, try to find 92 newDevices[i] = devices[ii]; 93 devices[ii] = null; 111 // in the devices array ?? Close them ? 133 MidiDevice[] devices 190 setDeviceCache(MidiDevice[] devices) argument [all...] |
H A D | DirectAudioDeviceProvider.java | 42 * Set of info objects for all port input devices on the system. 47 * Set of all port input devices on the system. 49 private static DirectAudioDevice[] devices; field in class:DirectAudioDeviceProvider 72 devices = new DirectAudioDevice[0]; 78 // get the number of input devices 85 devices = new DirectAudioDevice[numDevices]; 130 if (devices[index] == null) { 131 devices[index] = new DirectAudioDevice(info); 133 return devices[index];
|
H A D | MidiInDeviceProvider.java | 39 /** Cache of info objects for all MIDI output devices on the system. */ 42 /** Cache of open MIDI input devices on the system. */ 43 private static MidiDevice[] devices = null; field in class:MidiInDeviceProvider 82 if (Printer.debug)Printer.debug("MidiInDevice not enabled, returning 0 devices"); 86 if (Printer.debug)Printer.debug("MidiInDeviceProvider.getNumDevices(): devices: " + numDevices); 90 MidiDevice[] getDeviceCache() { return devices; } 91 void setDeviceCache(MidiDevice[] devices) { this.devices = devices; } argument
|
H A D | MidiOutDeviceProvider.java | 39 /** Cache of info objects for all MIDI output devices on the system. */ 42 /** Cache of open MIDI output devices on the system. */ 43 private static MidiDevice[] devices = null; field in class:MidiOutDeviceProvider 82 if (Printer.debug)Printer.debug("MidiOutDevice not enabled, returning 0 devices"); 88 MidiDevice[] getDeviceCache() { return devices; } 89 void setDeviceCache(MidiDevice[] devices) { this.devices = devices; } argument
|
H A D | PortMixerProvider.java | 42 * Set of info objects for all port input devices on the system. 47 * Set of all port input devices on the system. 49 private static PortMixer[] devices; field in class:PortMixerProvider 72 devices = new PortMixer[0]; 78 // get the number of input devices 85 devices = new PortMixer[numDevices]; 120 if (devices[index] == null) { 121 devices[index] = new PortMixer(info); 123 return devices[index];
|
/openjdk7/jdk/src/macosx/classes/sun/awt/ |
H A D | CGraphicsEnvironment.java | 91 private final Map<Integer, CGraphicsDevice> devices = new HashMap<>(5); field in class:CGraphicsEnvironment 123 if (removed && devices.containsKey(displayId)) { 124 final CGraphicsDevice gd = devices.remove(displayId); 142 * (Re)create all CGraphicsDevices, reuses a devices if it is possible. 146 final Map<Integer, CGraphicsDevice> old = new HashMap<>(devices); 147 devices.clear(); 161 devices.put(id, old.containsKey(id) ? old.get(id) 171 CGraphicsDevice d = devices.get(mainDisplayID); 174 // is to re-initialize the list of devices 177 d = devices [all...] |
/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIWindowSurfaceData.cpp | 259 Devices::InstanceAccess devices; local 260 numScreens = devices->GetNumDevices(); 429 Devices::InstanceAccess devices; local 430 wsdo->device = devices->GetDeviceReference(screen, FALSE);
|
/openjdk7/jdk/src/solaris/native/sun/xawt/ |
H A D | XToolkit.c | 1034 XDeviceInfo* devices; local 1050 devices = XListInputDevices(awt_display, &numDevices); 1052 aDevice = &(devices[devIdx]); 1081 XFreeDeviceList(devices);
|