Searched refs:gd (Results 1 - 25 of 55) sorted by relevance

123

/openjdk7/jdk/test/java/awt/FullScreen/UninitializedDisplayModeChangeTest/
H A DDisplayModeChanger.java40 final GraphicsDevice gd =
47 if (gd.isFullScreenSupported()) {
50 gd.setFullScreenWindow(f);
51 if (gd.isDisplayChangeSupported()) {
52 DisplayMode dm = findDisplayMode(gd);
53 if (gd != null) {
54 gd.setDisplayMode(dm);
62 gd.setFullScreenWindow(null);
77 private static DisplayMode findDisplayMode(GraphicsDevice gd) { argument
78 DisplayMode dms[] = gd
[all...]
/openjdk7/jdk/test/java/awt/FullScreen/TranslucentWindow/
H A DTranslucentWindow.java42 GraphicsDevice gd = ge.getDefaultScreenDevice();
48 gd.setFullScreenWindow(f);
51 gd.setFullScreenWindow(null);
56 if (gd.isWindowTranslucencySupported(PERPIXEL_TRANSPARENT)) {
59 if (gd.isWindowTranslucencySupported(TRANSLUCENT)) {
62 if (gd.isWindowTranslucencySupported(PERPIXEL_TRANSLUCENT)) {
65 gd.setFullScreenWindow(f);
/openjdk7/jdk/src/windows/classes/sun/awt/
H A DWin32GraphicsEnvironment.java140 Win32GraphicsDevice gd = (Win32GraphicsDevice)oldScreens[i];
144 if (!gd.isValid()) {
149 oldDevices.add(new WeakReference<Win32GraphicsDevice>(gd));
152 newDevices[i] = gd;
167 for (GraphicsDevice gd : screens) {
168 if (gd instanceof DisplayChangedListener) {
169 ((DisplayChangedListener)gd).displayChanged();
181 Win32GraphicsDevice gd = it.next().get();
182 if (gd != null) {
183 gd
[all...]
/openjdk7/jdk/test/java/awt/Multiscreen/DeviceIdentificationTest/
H A DDeviceIdentificationTest.java88 for (GraphicsDevice gd : gds) {
89 System.err.println("Device["+i+"]= "+ gd);
91 gd.getDefaultConfiguration().getBounds());
103 GraphicsDevice gd = gc.getDevice();
105 System.err.println("Device = "+ gd);
107 gd.getDefaultConfiguration().getBounds());
116 final GraphicsDevice gd = gc.getDevice();
118 System.err.println("Device = "+ gd);
120 gd.getDefaultConfiguration().getBounds());
121 final Frame fsf = new Frame("Full-screen Frame on dev"+gd, g
[all...]
/openjdk7/jdk/test/java/awt/GraphicsDevice/
H A DCloneConfigsTest.java56 for (GraphicsDevice gd : devices) {
57 System.out.println("Device: " + gd);
59 GraphicsConfiguration[] configs = gd.getConfigurations();
69 configs = gd.getConfigurations();
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DPaints.java90 D3DGraphicsDevice gd = (D3DGraphicsDevice)
92 return gd.isCapPresent(CAPS_LCD_SHADER);
118 D3DGraphicsDevice gd =
122 if (!gd.isCapPresent(CAPS_TEXNONPOW2)) {
128 if (!gd.isCapPresent(CAPS_TEXNONSQUARE) && imgw != imgh)
192 D3DGraphicsDevice gd = (D3DGraphicsDevice)
194 if (!gd.isCapPresent(CAPS_LCD_SHADER)) {
215 D3DGraphicsDevice gd = (D3DGraphicsDevice)
217 if (gd.isCapPresent(CAPS_LCD_SHADER)) {
H A DD3DBufImgOps.java96 D3DGraphicsDevice gd =
99 !gd.isCapPresent(CAPS_LCD_SHADER))
H A DD3DVolatileSurfaceManager.java62 D3DGraphicsDevice gd = (D3DGraphicsDevice)
67 (gd.isCapPresent(CAPS_RT_PLAIN_ALPHA) ||
68 gd.isCapPresent(CAPS_RT_TEXTURE_ALPHA)));
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterGraphicsConfig.java38 GraphicsDevice gd; field in class:CPrinterGraphicsConfig
42 this.gd = new CPrinterDevice(this);
57 return gd;
/openjdk7/jdk/src/share/classes/sun/print/
H A DPrinterGraphicsConfig.java42 GraphicsDevice gd; field in class:PrinterGraphicsConfig
51 this.gd = new PrinterGraphicsDevice(this, printerID);
58 return gd;
/openjdk7/jdk/test/java/awt/WMSpecificTests/Metacity/
H A DFullscreenDialogModality.java45 GraphicsDevice gd = getGraphicsConfiguration().getDevice();
46 final boolean fs = gd.isFullScreenSupported();
48 gd.setFullScreenWindow(this);
57 GraphicsDevice gd = getGraphicsConfiguration().getDevice();
59 gd.setFullScreenWindow(null);
/openjdk7/jdk/test/java/awt/FullScreen/NoResizeEventOnDMChangeTest/
H A DNoResizeEventOnDMChangeTest.java50 final GraphicsDevice gd = GraphicsEnvironment.
53 if (!gd.isFullScreenSupported()) {
58 DisplayMode dm = gd.getDisplayMode();
60 for (DisplayMode dm1 : gd.getDisplayModes()) {
84 testFSWindow(gd, dms, f);
95 testFSWindow(gd, dms, w);
99 private static void testFSWindow(final GraphicsDevice gd, argument
133 gd.setFullScreenWindow(fsWin);
143 if (gd.isDisplayChangeSupported()) {
153 gd
[all...]
/openjdk7/jdk/test/java/awt/FullScreen/SetFSWindow/
H A DFSFrame.java54 GraphicsDevice gd = getGraphicsConfiguration().getDevice();
55 robot = new Robot(gd);
87 GraphicsDevice gd = gc.getDevice();
126 GraphicsDevice gd = getGraphicsConfiguration().getDevice();
133 final boolean fs = gd.isFullScreenSupported();
135 gd.setFullScreenWindow(this);
157 gd.setFullScreenWindow(null);
/openjdk7/jdk/test/java/awt/FullScreen/BufferStrategyExceptionTest/
H A DBufferStrategyExceptionTest.java59 GraphicsDevice gd =
69 gd.setFullScreenWindow(f);
79 gd.setFullScreenWindow(null);
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DBufferedImageGraphicsConfig.java67 GraphicsDevice gd; field in class:BufferedImageGraphicsConfig
74 this.gd = new BufferedImageDevice(this);
77 this.gd = g2d.getDeviceConfiguration().getDevice();
89 return gd;
/openjdk7/jdk/test/java/awt/Multiscreen/UpdateGCTest/
H A DUpdateGCTest.java53 for (GraphicsDevice gd : gds)
55 GraphicsConfiguration gc = gd.getDefaultConfiguration();
104 for (GraphicsDevice gd : gds)
106 GraphicsConfiguration gc = gd.getDefaultConfiguration();
/openjdk7/jdk/test/sun/java2d/DirectX/OpaqueImageToSurfaceBlitTest/
H A DOpaqueImageToSurfaceBlitTest.java50 GraphicsDevice gd = ge.getDefaultScreenDevice();
51 GraphicsConfiguration gc = gd.getDefaultConfiguration();
/openjdk7/langtools/test/tools/javap/classfile/deps/
H A DT6907575.java46 GetDeps gd = new GetDeps();
47 gd.run(pw, "-classpath", testClasses, "-t", "-p", "p", "p/C1");
/openjdk7/jdk/src/macosx/classes/sun/awt/
H A DCGraphicsEnvironment.java124 final CGraphicsDevice gd = devices.remove(displayId);
125 gd.invalidate(getMainDisplayID());
126 gd.displayChanged();
/openjdk7/jdk/test/sun/java2d/DirectX/StrikeDisposalCrashTest/
H A DStrikeDisposalCrashTest.java50 GraphicsDevice gd[] =
53 Frame frames[] = new Frame[gd.length];
55 GraphicsConfiguration gc = gd[i].getDefaultConfiguration();
/openjdk7/jdk/test/java/beans/Introspector/
H A DTestTypeResolver.java134 private final D gd; field in class:TestTypeResolver.TypeVariableImpl
137 TypeVariableImpl(String name, D gd, Type... bounds) { argument
139 this.gd = gd;
150 return gd;
166 equal(gd, tv.getGenericDeclaration()) &&
171 return hash(name) ^ hash(gd) ^ Arrays.hashCode(bounds);
176 ClassTypeVariable(String name, Class<?> gd, Type... bounds) { argument
177 super(name, gd, bounds);
182 MethodTypeVariable(String name, Method gd, Typ argument
[all...]
/openjdk7/jdk/test/java/awt/Multiscreen/LocationRelativeToTest/
H A DLocationRelativeToTest.java69 for (GraphicsDevice gd : gds)
71 GraphicsConfiguration gc = gd.getDefaultConfiguration();
/openjdk7/jdk/test/java/awt/Toolkit/ScreenInsetsTest/
H A DScreenInsetsTest.java53 for (GraphicsDevice gd : gds)
55 GraphicsConfiguration gc = gd.getDefaultConfiguration();
/openjdk7/jdk/test/sun/java2d/pipe/hw/RSLContextInvalidationTest/
H A DRSLContextInvalidationTest.java52 GraphicsDevice gd = ge.getDefaultScreenDevice();
53 GraphicsConfiguration gc = gd.getDefaultConfiguration();
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphicsEnvironment.java254 public static Rectangle getUsableBounds(GraphicsDevice gd) { argument
255 GraphicsConfiguration gc = gd.getDefaultConfiguration();
273 for (GraphicsDevice gd : getScreenDevices()) {
274 if (gd instanceof DisplayChangedListener) {
275 ((DisplayChangedListener) gd).displayChanged();

Completed in 345 milliseconds

123