Searched defs:device (Results 1 - 25 of 28) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/awt/
H A DPointerInfo.java47 private GraphicsDevice device; field in class:PointerInfo
53 PointerInfo(GraphicsDevice device, Point location) { argument
54 this.device = device;
66 return device;
H A DRobot.java101 * Creates a Robot for the given screen device. Coordinates passed
174 /* check if the given device is a screen device */
175 private void checkIsScreenDevice(GraphicsDevice device) { argument
176 if (device == null || device.getType() != GraphicsDevice.TYPE_RASTER_SCREEN) {
177 throw new IllegalArgumentException("not a valid screen device");
/openjdk7/jdk/test/java/awt/Multiscreen/TranslucencyThrowsExceptionWhenFullScreen/
H A DTranslucencyThrowsExceptionWhenFullScreen.java51 for (GraphicsDevice device : devices) {
52 testGraphicsDevice(device, frame);
61 private static void testGraphicsDevice(GraphicsDevice device, Frame frame) { argument
62 device.setFullScreenWindow(frame);
65 throw new RuntimeException("Test fails, there's no exception for device="+device);
67 device.setFullScreenWindow(null);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DMidiDeviceReceiverEnvelope.java38 private final MidiDevice device; field in class:MidiDeviceReceiverEnvelope
46 * @param device the owner {@code MidiDevice}
49 public MidiDeviceReceiverEnvelope(MidiDevice device, Receiver receiver) { argument
50 if (device == null || receiver == null) {
53 this.device = device;
68 return device;
H A DMidiDeviceTransmitterEnvelope.java38 private final MidiDevice device; field in class:MidiDeviceTransmitterEnvelope
46 * @param device the owner {@code MidiDevice}
49 public MidiDeviceTransmitterEnvelope(MidiDevice device, Transmitter transmitter) { argument
50 if (device == null || transmitter == null) {
53 this.device = device;
73 return device;
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRGraphicsConfig.java39 private XRGraphicsConfig(X11GraphicsDevice device, int visualnum, argument
41 super(device, visualnum, depth, colormap, doubleBuffer);
48 public static XRGraphicsConfig getConfig(X11GraphicsDevice device, argument
54 return new XRGraphicsConfig(device, visualnum, depth, colormap,
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Palette.h56 AwtPalette(AwtWin32GraphicsDevice *device);
78 AwtWin32GraphicsDevice *device; member in class:AwtPalette
H A Dawt_Palette.cpp57 * install the palette of the HDC onto the device associated with
96 * device.
108 AwtPalette::AwtPalette(AwtWin32GraphicsDevice *device) argument
110 this->device = device;
255 hDC = device->GetDC();
260 device->ReleaseDC(hDC);
265 hDC = device->GetDC();
268 device->ReleaseDC(hDC);
286 device
[all...]
/openjdk7/jdk/src/share/classes/sun/audio/
H A DAudioDevice.java44 * multiple streams for the workstation's single-channel device.
78 public static final AudioDevice device = new AudioDevice(); field in class:AudioDevice
140 // fix for bug 4302884: Audio device is not released when AudioClip stops
315 * Open the device (done automatically)
325 * Close the device (done automatically)
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DContext.java42 private final D3DGraphicsDevice device; field in class:D3DContext
44 D3DContext(RenderQueue rq, D3DGraphicsDevice device) { argument
46 this.device = device;
140 return device;
157 * Indicates that the device was successfully initialized and can
162 * Indicates that the device has all of the necessary capabilities
H A DD3DGraphicsConfig.java62 private D3DGraphicsDevice device; field in class:D3DGraphicsConfig
64 protected D3DGraphicsConfig(D3DGraphicsDevice device) { argument
65 super(device, 0);
66 this.device = device;
255 return device;
265 return device.getContext();
286 if (!device.isCapPresent(cap)) {
290 if (!isOpaque && !device.isCapPresent(CAPS_RT_PLAIN_ALPHA)) {
315 return device
[all...]
/openjdk7/jdk/src/macosx/classes/sun/awt/
H A DCGraphicsConfig.java37 private final CGraphicsDevice device; field in class:CGraphicsConfig
40 public CGraphicsConfig(CGraphicsDevice device) { argument
41 this.device = device;
53 final Rectangle2D nativeBounds = nativeGetBounds(device.getCGDisplayID());
77 return device;
82 double xscale = device.getXResolution() / 72.0;
83 double yscale = device.getYResolution() / 72.0;
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_CommonUtils.c78 * deviceID contains packed card, device and subdevice numbers
80 * "default" device has id == ALSA_DEFAULT_DEVICE_ID
82 UINT32 encodeDeviceID(int card, int device, int subdevice) { argument
83 return (((card & 0x3FF) << 20) | ((device & 0x3FF) << 10)
88 void decodeDeviceID(UINT32 deviceID, int* card, int* device, int* subdevice, argument
92 *device = (deviceID >> 10) & 0x3FF;
101 void getDeviceString(char* buffer, int card, int device, int subdevice, argument
106 card, device, subdevice);
110 card, device);
117 int card, device, subdevic local
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_CommonUtils.c78 * deviceID contains packed card, device and subdevice numbers
80 * "default" device has id == ALSA_DEFAULT_DEVICE_ID
82 UINT32 encodeDeviceID(int card, int device, int subdevice) { argument
83 return (((card & 0x3FF) << 20) | ((device & 0x3FF) << 10)
88 void decodeDeviceID(UINT32 deviceID, int* card, int* device, int* subdevice, argument
92 *device = (deviceID >> 10) & 0x3FF;
101 void getDeviceString(char* buffer, int card, int device, int subdevice, argument
106 card, device, subdevice);
110 card, device);
117 int card, device, subdevic local
[all...]
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DSeedGenerator.java32 * of current system activity or from an entropy gathering device.
51 * from an entropy gathering device, such as /dev/random. This can be
54 * specifying the location of the entropy gathering device.
448 * instance we actually use. It opens the entropy gathering device
465 final URL device = new URL(deviceName);
478 if (device.getProtocol().equalsIgnoreCase("file")) {
479 File deviceFile = getDeviceFile(device);
482 return device.openStream();
499 private File getDeviceFile(URL device) throws IOException { argument
501 URI deviceURI = device
[all...]
/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DMidiSystem.java109 * and the device name, separated by the hash mark (&quot;#&quot;).
112 * MIDI device provider} class. The device name is matched against
115 * Either the class name, or the device name may be omitted.
128 * <p>If a device name is specified, the resulting list of
134 * is found, or the device name is not specified,
135 * the first suitable device from the resulting
137 * a device is suitable if it implements the respective
138 * interface; whereas for Receiver and Transmitter, a device is
149 * in the list of installed MIDI device provider
1438 isAppropriateDevice(MidiDevice device, Class deviceClass, boolean allowSynthesizer, boolean allowSequencer) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/
H A DWin32GraphicsConfig.java81 * Returns a Win32GraphicsConfiguration object with the given device
89 public static Win32GraphicsConfig getConfig(Win32GraphicsDevice device, argument
92 return new Win32GraphicsConfig(device, pixFormatID);
100 public Win32GraphicsConfig(GraphicsDevice device, int visualnum) { argument
101 this.screen = (Win32GraphicsDevice)device;
103 ((Win32GraphicsDevice)device).addDisplayChangedListener(this);
107 * Return the graphics device associated with this configuration.
149 * associated with the graphics device. When attributes of that
150 * device change (for example, when the device palett
[all...]
H A DWin32GraphicsDevice.java59 ColorModel colorModel; // static for device
66 // really matter if a thread does an operation on graphics device which is
105 // device is removed)
115 * Returns the type of the graphics device.
125 * Returns the Win32 screen of the device.
133 * invalid as a result of device removal event.
140 * Called from native code when the device was removed.
151 * device.
160 * configurations associated with this graphics device.
233 * associated with this graphics device, o
549 private Win32GraphicsDevice device; field in class:Win32GraphicsDevice.Win32FSWindowAdapter
552 Win32FSWindowAdapter(Win32GraphicsDevice device) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLGraphicsConfig.java98 protected CGLGraphicsConfig(CGraphicsDevice device, int pixfmt, argument
101 super(device);
131 public static CGLGraphicsConfig getConfig(CGraphicsDevice device, argument
148 cfginfo = getCGLConfigInfo(device.getCGDisplayID(), pixfmt,
168 return new CGLGraphicsConfig(device, pixfmt, cfginfo, caps);
/openjdk7/jdk/src/windows/classes/sun/java2d/opengl/
H A DWGLGraphicsConfig.java84 protected WGLGraphicsConfig(Win32GraphicsDevice device, int visualnum, argument
87 super(device, visualnum);
96 device.getScreen()));
110 public static WGLGraphicsConfig getConfig(Win32GraphicsDevice device, argument
127 new WGLGetConfigInfo(device.getScreen(), pixfmt);
148 return new WGLGraphicsConfig(device, pixfmt, cfginfo, caps);
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIWindowSurfaceData.h185 AwtWin32GraphicsDevice *device; member in struct:_GDIWinSDOps
/openjdk7/jdk/src/solaris/classes/sun/java2d/opengl/
H A DGLXGraphicsConfig.java79 private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, argument
82 super(device, visualnum, 0, 0,
103 public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, argument
120 new GLXGetConfigInfo(device.getScreen(), visualnum);
141 return new GLXGraphicsConfig(device, visualnum, cfginfo, caps);
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11GraphicsConfig.java89 public static X11GraphicsConfig getConfig(X11GraphicsDevice device, argument
94 return new X11GraphicsConfig(device, visualnum, depth, colormap, doubleBuffer);
106 public static X11GraphicsConfig getConfig(X11GraphicsDevice device, argument
110 return new X11GraphicsConfig(device, visualnum, depth, colormap, false);
117 protected X11GraphicsConfig(X11GraphicsDevice device, argument
121 this.screen = device;
137 * Return the graphics device associated with this configuration.
257 * the device, with X coordinates
269 * in device space.
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_PCM.cpp78 // add "default" device
91 // default device
664 // get real AudioDeviceID for default input device (macosx current input device)
693 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)inRefCon; local
699 (int)inBusNumber, (int)inNumberFrames, (int)(inNumberFrames * device->asbd.mBytesPerFrame));
703 int bytesToRead = inNumberFrames * device->asbd.mBytesPerFrame;
706 bytesToRead = audioBuffer->mDataByteSize / device->asbd.mBytesPerFrame * device->asbd.mBytesPerFrame;
708 int bytesRead = device
735 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)inRefCon; local
823 OSX_DirectAudioDevice *device = new OSX_DirectAudioDevice(); local
930 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
943 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
952 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
959 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
969 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
979 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
988 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
997 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
1006 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
1017 OSX_DirectAudioDevice *device = (OSX_DirectAudioDevice*)id; local
[all...]
/openjdk7/jdk/src/solaris/native/java/net/
H A Dnet_util_md.c595 char device[16]; local
623 &metric, &use, &refcnt, &flags, device) == 31) {
651 if (strcmp(device, "lo") != 0) {
1109 char device[16]; local
1131 &metric, &use, &refcnt, &flags, device) == 31) {
1211 if (strcmp(devname, device) == 0) {

Completed in 80 milliseconds

12