/openjdk7/jdk/src/share/classes/sun/java2d/opengl/ |
H A D | OGLSurfaceData.java | 613 static void swapBuffers(long window) { argument 620 buf.putLong(window); 655 * Returns true if the surface is an on-screen window surface or
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | MotifDnDConstants.java | 205 throw new XException("Cannot write motif drag window handle."); 223 * Note: it is unsafe to cache the motif drag window handle, as another 410 // Create a new motif window and retry. 447 // client might replace motif window after we read it from the root, but 522 static void writeDragInitiatorInfoStruct(long window, int index) throws XException { argument 538 XlibWrapper.XChangeProperty(XToolkit.getDisplay(), window, 554 static void writeDragReceiverInfoStruct(long window) throws XException { argument 565 unsafe.putInt(data + 4, (int)window); /* proxy window */ 571 XlibWrapper.XChangeProperty(XToolkit.getDisplay(), window, [all...] |
H A D | XDnDDropTargetProtocol.java | 83 public void registerDropTarget(long window) { argument 92 XDnDConstants.XA_XdndAware.setAtomData(window, XAtom.XA_ATOM, data, 1); 105 public void unregisterDropTarget(long window) { argument 108 XDnDConstants.XA_XdndAware.DeleteProperty(window); 206 /* The proxy window must have the XdndAware set, as XDnD protocol 207 prescribes to check the proxy window for XdndAware. */ 220 /* The proxy window must have the XdndProxy set to point to itself.*/ 400 public boolean isProtocolSupported(long window) { argument 404 new WindowPropertyGetter(window, XDnDConstants.XA_XdndAware, 0, 1, 615 to the target window coordinate [all...] |
H A D | XDragSourceContextPeer.java | 58 /* The events selected on the root window when the drag begins. */ 65 /* The event mask of the root window before the drag operation starts. */ 152 /* Determine the root window for the drag operation. */ 243 private void setProxyModeSourceWindowImpl(long window) { argument 244 proxyModeSourceWindow = window; 247 public static void setProxyModeSourceWindow(long window) { argument 248 theInstance.setProxyModeSourceWindowImpl(window); 392 * Returns the client window under the specified root subwindow. 394 private static long findClientWindow(long window) { argument 395 if (XlibUtil.isTrueToplevelWindow(window)) { [all...] |
H A D | XTrayIconPeer.java | 114 // On Metacity the EmbeddedFrame's parent window bounds are larger 118 // window so that it fits the EmbeddedFrame. 119 // However due to resizing the parent window it loses centering in the Panel. 164 // In this case the parent window also lose centering. We have to restore it. 364 private void addXED(long window, XEventDispatcher xed, long mask) { argument 365 if (window == 0) { 370 XlibWrapper.XSelectInput(XToolkit.getDisplay(), window, mask); 374 XToolkit.addEventDispatcher(window, xed); 377 private void removeXED(long window, XEventDispatcher xed) { argument 378 if (window [all...] |
H A D | XAtom.java | 41 * set the values for a particular window. <p> <p> 44 * Example usage : To set the window name for a top level: <p> 47 * xa.setProperty(window,"Hello World");<p></code> 281 /** Sets the window property for the specified window 282 * @param window window id to use 286 public void setProperty(long window, String str) { argument 290 checkWindow(window); 293 XlibWrapper.SetProperty(display,window,ato 302 setPropertyUTF8(long window, String str) argument 322 setProperty8(long window, String str) argument 345 getProperty(long window) argument 363 get32Property(long window, long property_type) argument 388 getCard32Property(XBaseWindow window) argument 395 setCard32Property(long window, long value) argument 414 setCard32Property(XBaseWindow window, long value) argument 425 getAtomData(long window, long data_ptr, int length) argument 459 getAtomData(long window, long type, long data_ptr, int length) argument 492 setAtomData(long window, long data_ptr, int length) argument 513 setAtomData(long window, long type, long data_ptr, int length) argument 534 setAtomData8(long window, long type, long data_ptr, int length) argument 552 DeleteProperty(long window) argument 568 DeleteProperty(XBaseWindow window) argument 582 setAtomData(long window, long property_type, byte[] data) argument 595 getByteArrayProperty(long window, long property_type) argument 666 getAtomListProperty(long window) argument 704 getAtomListPropertyList(long window) argument 707 getAtomListPropertyList(XBaseWindow window) argument 710 getAtomListProperty(XBaseWindow window) argument 717 setAtomListProperty(long window, XAtom[] atoms) argument 726 setAtomListProperty(long window, XAtomList atoms) argument 734 setAtomListProperty(XBaseWindow window, XAtom[] atoms) argument 741 setAtomListProperty(XBaseWindow window, XAtomList atoms) argument 770 checkWindow(long window) argument 791 setWindowProperty(long window, long window_value) argument 806 setWindowProperty(XBaseWindow window, XBaseWindow window_value) argument 814 getWindowProperty(long window) argument [all...] |
H A D | XBaseWindow.java | 41 PARENT_WINDOW = "parent window", // parent window, Long 42 BOUNDS = "bounds", // bounds of the window, Rectangle 56 SAVE_UNDER = "save under", // save content under this window 62 long window; field in class:XBaseWindow 129 * Called before window creation, descendants should override to initialize the data, 159 * Called after window creation, descendants should override to initialize Window 171 * Creates window using parameters <code>params</code> 173 * Note: Descendants can call this method to create the window 236 * Creates an invisible InputOnly window withou 674 getScreenOfWindow(long window) argument [all...] |
H A D | XDecoratedPeer.java | 65 return window; 69 return (content == null) ? window : content.getWindow(); 91 // The size hints must be set BEFORE mapping the window (see 6895647) 94 // The super method maps the window if it's visible on the shared level 98 // happen after the X window is created. 148 /* Some WMs need remap to redecorate the window */ 372 * Ok, now see if we need adjust window size because 396 * If this window has been sized by a pack() we need 494 // if the window manager or any other part of the windowing 495 // system sets inappropriate size for this window, w 1071 dumpWindow(String id, long window) argument [all...] |
H A D | XEmbedServerTester.java | 52 XBaseWindow window; field in class:XEmbedServerTester 84 xembedLog.finer("XEmbed client(tester), embedder window: " + Long.toHexString(parent)); 196 window.destroy(); 211 XlibWrapper.XUnmapWindow(XToolkit.getDisplay(), window.getWindow()); 212 XlibWrapper.XReparentWindow(XToolkit.getDisplay(), window.getWindow(), XToolkit.getDefaultRootWindow(), 0, 0); 263 if (XlibUtil.getWindowMapState(window.getWindow()) != IsUnmapped) { 392 window = new XBaseWindow(params); 394 xembedLog.finer("Created tester window: " + window); 396 XToolkit.addEventDispatcher(window [all...] |
H A D | XWM.java | 47 * Class incapsulating knowledge about window managers in general 48 * Descendants should provide some information about specific window manager. 231 * If *any* window manager is running? 253 * having a window manager running. I.e. it does not reparent 317 * Enlightenment uses STRING property for its comms window id. Gaaa! 321 static long getECommsWindowIDProperty(long window) { argument 328 new WindowPropertyGetter(window, XA_ENLIGHTENMENT_COMMS, 0, 14, false, 358 log.finer("Enlightenment communication window " + winid); 402 * _DT_SM_STATE_INFO(_DT_SM_STATE_INFO) on that window. 440 /* Now check that this window ha 810 removeSizeHints(XDecoratedPeer window, long mask) argument 871 setOLDecor(XWindow window, boolean resizable, int decorations) argument 903 setMotifDecor(XWindow window, boolean resizable, int decorations, int functions) argument 943 needRemap(XDecoratedPeer window) argument 953 setShellDecor(XDecoratedPeer window) argument 984 setShellResizable(XDecoratedPeer window) argument 1012 setShellNotResizable(XDecoratedPeer window, WindowDimensions newDimensions, Rectangle shellBounds, boolean justChangeSize) argument 1114 getExtendedState(XWindowPeer window) argument 1136 isStateChange(XDecoratedPeer window, XPropertyEvent e) argument 1164 getState(XDecoratedPeer window) argument 1186 setLayer(XWindowPeer window, int layer) argument 1195 setExtendedState(XWindowPeer window, int state) argument 1239 unshadeKludge(XDecoratedPeer window) argument 1288 guessInsets(XDecoratedPeer window) argument 1370 getInsetsFromExtents(long window) argument 1397 getInsetsFromProp(long window, XAtom atom) argument 1426 requestWMExtents(long window) argument 1472 syncTopLevelPos(long window, XWindowAttributes attrs) argument 1491 getInsets(XDecoratedPeer win, long window, long parent) argument 1675 setNetWMIcon(XWindowPeer window, java.util.List<IconInfo> icons) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalLookAndFeel.java | 321 * <td>"window" 391 "activeCaptionBorder", theme.getPrimaryControlShadow(), /* Border color for caption (title bar) window borders. */ 394 "inactiveCaptionBorder", theme.getControlShadow(), /* Border color for inactive caption (title bar) window borders. */ 395 "window", theme.getWindowBackground(), /* Default color for the interior of windows */ 717 "TextPane.background", table.get("window"), 720 "EditorPane.background", table.get("window"), 1303 // is providing window manipulation widgets. 1772 * Returns the window title font of the current theme. This is a 1775 * @return the window title font 2016 * Returns the window backgroun 2313 updateWindowUI(Window window) argument [all...] |
H A D | MetalTitlePane.java | 45 * This class assumes it will be created with a particular window 102 * Icon used for toggleButton when window is normal size. 107 * Icon used for toggleButton when window is maximized. 125 private Window window; field in class:MetalTitlePane 190 window = null; 198 if (window != null) { 200 window.addWindowListener(windowListener); 202 window.addPropertyChangeListener(propertyChangeListener); 210 if (window != null) { 211 window [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthLookAndFeel.java | 858 * Updates the UI of the passed in window and all its children. 860 private static void updateWindowUI(Window window) { argument 861 updateStyles(window); 862 Window ownedWins[] = window.getOwnedWindows();
|
/openjdk7/jdk/src/solaris/native/sun/xawt/ |
H A D | XWindow.c | 1102 /* syncTopLevelPos() is necessary to insure that the window manager has in 1103 * fact moved us to our final position relative to the reParented WM window. 1104 * We have noted a timing window which our shell has not been moved so we 1113 ** window data struct with the correct position. Loop 1160 (Window window, int *left, int *top, int *right, int *bottom, int *border) { 1161 // window is event->xreparent.window 1165 topWin = getTopWindow(window, &rootWin); 1167 // (screenX, screenY) is (0,0) of the reparented window 1169 XTranslateCoordinates(awt_display, window, rootWi 1159 getWMInsets(Window window, int *left, int *top, int *right, int *bottom, int *border) argument 1179 Java_sun_awt_X11_XWindow_getWMInsets(JNIEnv *env, jclass clazz, jlong window, jlong left, jlong top, jlong right, jlong bottom, jlong border) argument 1190 getWindowBounds(Window window, int *x, int *y, int *width, int *height) argument 1201 Java_sun_awt_X11_XWindow_getWindowBounds(JNIEnv *env, jclass clazz, jlong window, jlong x, jlong y, jlong width, jlong height) argument 1207 Java_sun_awt_X11_XWindow_setSizeHints(JNIEnv *env, jclass clazz, jlong window, jlong x, jlong y, jlong width, jlong height) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WFileDialogPeer.java | 112 for (WWindowPeer window : blockedWindows) { 114 window.modalDisable((Dialog)target, hwnd); 116 window.modalEnable((Dialog)target); 209 void blockWindow(WWindowPeer window) { argument 210 blockedWindows.add(window); 214 window.modalDisable((Dialog)target, hwnd); 217 void unblockWindow(WWindowPeer window) { argument 218 blockedWindows.remove(window); 222 window.modalEnable((Dialog)target);
|
/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIWindowSurfaceData.cpp | 95 if( ((oldhDC == NULL) && wsdo->window != NULL) || 102 // dealing with a different window than it was last time. 121 if (wsdo->window != NULL){ 123 // This is a window surface 144 ::GetClientRect(wsdo->window, &info->bounds); 145 // Make window-relative from client-relative 147 //Likewise, translate GDI calls from client-relative to window-relative 223 * window, etc.), so we can assume that the thread info contains 253 HWND hW = wsdo->window; 423 // if wsdo->window i 511 HWND window = wsdo->window; local [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Window.h | 97 /* Subtract inset values from a window origin. */ 155 INLINE static HWND GetModalBlocker(HWND window) { argument 156 return reinterpret_cast<HWND>(::GetProp(window, ModalBlockerProp)); 158 static void SetModalBlocker(HWND window, HWND blocker); 159 static void SetAndActivateModalBlocker(HWND window, HWND blocker); 161 static HWND GetTopmostModalBlocker(HWND window); 265 RECT m_warningRect; /* The window's warning banner area, if any. */ 268 POINT m_minSize; /* Minimum size of the window for WM_GETMINMAXINFO message */ 269 BOOL m_grabbed; // Whether the current window is grabbed 270 BOOL m_isRetainingHierarchyZOrder; // Is this a window tha [all...] |
H A D | awt_Dialog.cpp | 96 * Create a new AwtDialog object and window. 124 // WS_POPUP style for the dialog. Using toolkit window here. That 125 // will also excludes the dialog from appearing in window list while 129 // parent window here. 228 // fix for 6270632: this window and all its blockers can be minimized by 261 // the message to the target window procedure 307 // Fix for 6829546: if blocker is a top-most window, but window isn't, then 308 // calling ::SetWindowPos(dialog, blocker, ...) makes window top-most as well 328 void AwtDialog::AnimateModalBlocker(HWND window) argument [all...] |
H A D | awt_Win32GraphicsDevice.cpp | 1012 AwtWindow *window = (AwtWindow *)pData; // safe cast since we are called local 1014 HWND hWnd = window->GetHWnd(); 1020 "Error %d setting topmost attribute to fs window", 1043 AwtWindow *window = (AwtWindow *)pData; // safe cast since we are called local 1045 HWND hWnd = window->GetHWnd(); 1055 "Error %d unsetting topmost attribute to fs window",
|
/openjdk7/jdk/test/java/awt/regtesthelpers/ |
H A D | Util.java | 116 long window = (Long) get_window.invoke(frame_peer, new Object[0]); 117 System.out.println("window = " + window); 120 return (Frame) constructor.newInstance (new Object[] {window, true}); 127 * Makes the window visible and waits until it's shown. 174 * WARNING: it may fail on some platforms when the window is not wide enough. 385 * "window closing" event. 389 * the {@code Window} is disposed when "window closed" 566 * Tracks WINDOW_GAINED_FOCUS event for a window caused by an action. 567 * @param window th 573 trackWindowGainedFocus(Window window, Runnable action, int time, boolean printEvent) argument [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | deflate.h | 114 /* A Pos is an index in the character window. We use short instead of int to 133 uInt w_size; /* LZ77 window size (32K by default) */ 137 Bytef *window; member in struct:internal_state 138 /* Sliding window. Input bytes are read into the second half of the window, 143 * the window size to 64K, which is quite useful on MSDOS. 144 * To do: use the user input buffer as sliding window. 148 /* Actual size of window: 2*wSize, except when the user input buffer 149 * is directly used as sliding window. 155 * An index in this array is thus a window inde [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | X11GraphicsConfig.java | 205 java.awt.SystemColor.window.getRGB(); 395 private native long createBackBuffer(long window, int swapAction); argument 396 private native void swapBuffers(long window, int swapAction); argument 420 long window = peer.getContentWindow(); 423 return createBackBuffer(window, swapAction); 451 long window = peer.getContentWindow(); 453 swapBuffers(window, swapAction);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | RepaintManager.java | 153 // become lost we must repaint the whole window. To deal with that 472 * Adds <code>window</code> to the list of <code>Component</code>s that 475 * @param window Window to repaint, null results in nothing happening. 485 public void addDirtyRegion(Window window, int x, int y, int w, int h) { argument 486 addDirtyRegion0(window, x, y, w, h); 738 Window window = dirty instanceof Window ? 741 if (window != null && 742 !window.isOpaque()) 744 windows.add(window); 748 for (Window window [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_xembed_server.c | 93 is_xembed_client(Window window); 502 * "The embedder can unmap the client and reparent the client window to the root window. If the 504 * structure. If this is the root window of the window's screen, then the protocol is finished and 505 * there is no further interaction. If it is a window other than the root window, then the protocol 506 * continues with the new parent acting as the embedder window." 546 xevent->xany.window = sdata->handle; 777 sdata = getData(ev->window); 941 is_xembed_client(Window window) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLRenderQueue.c | 65 extern void OGLSD_SwapBuffers(JNIEnv *env, jlong window); 539 jlong window = NEXT_LONG(b); local 543 OGLSD_SwapBuffers(env, window);
|