Searched refs:hints (Results 26 - 50 of 67) sorted by relevance

123

/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_xembed_server.c389 XSizeHints * hints; local
395 hints = XAllocSizeHints();
396 DASSERT(hints != NULL);
398 if (XGetWMNormalHints(awt_display, sdata->handle, hints, &dummy) == Success) {
399 res = createDimension(env, hints->width, hints->height);
401 XFree(hints);
416 XSizeHints * hints; local
422 hints = XAllocSizeHints();
423 DASSERT(hints !
[all...]
H A Dawt_wm.c1351 * Size and decoration hints ...
1357 * Remove size hints specified by the mask.
1365 XSizeHints *hints = XAllocSizeHints(); local
1368 if (hints == NULL) {
1373 /* sanitize the mask, only do these hints */
1376 XGetWMNormalHints(dpy, shell_win, hints, &ignore);
1377 if ((hints->flags & mask) == 0) {
1378 XFree(hints);
1383 DTRACE_PRINT("WM: removing hints");
1387 if (hints
1421 XWMHints *hints = XGetWMHints(dpy, shell_win); local
[all...]
H A Dimg_util_md.h43 int hints; /* The delivery hints from the producer */ member in struct:__anon1009
49 } curlines; /* For hints=COMPLETESCANLINES */
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImageDecoder.java106 protected int setHints(int hints) { argument
110 cq.consumer.setHints(hints);
/openjdk7/jdk/src/share/classes/java/awt/image/renderable/
H A DRenderableImageOp.java221 * of the full image. All the rendering hints come from hints
239 * @param hints a RenderingHints object containg hints.
243 RenderingHints hints) {
251 RenderContext newRC = new RenderContext(usr2dev, hints);
259 * of interest of the full image. All the rendering hints come
260 * from hints passed in. Implementors of this interface must be
242 createScaledRendering(int w, int h, RenderingHints hints) argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DGraphics2D.java298 * attributes and rendering hints. The definition
623 * Rendering hints set on the <code>Graphics2D</code> object might
625 * If explicit control is required over specific hints recognized by a
626 * specific <code>RenderableImage</code>, or if knowledge of which hints
916 * algorithms with the specified <code>hints</code>.
917 * The existing values for all rendering hints are discarded and
918 * the new set of known hints and values are initialized from the
924 * @param hints the rendering hints to be set
928 public abstract void setRenderingHints(Map<?,?> hints); argument
944 addRenderingHints(Map<?,?> hints) argument
[all...]
H A DRadialGradientPaint.java580 * @param hints the set of hints that the context object can use to
596 RenderingHints hints)
605 transform, hints,
592 createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints) argument
H A DAlphaComposite.java703 RenderingHints hints) {
701 createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) argument
H A DGradientPaint.java244 * @param hints the set of hints that the context object can use to
260 RenderingHints hints) {
256 createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) argument
H A DRadialGradientPaintContext.java89 * @param hints the hints that the context object uses to choose
114 RenderingHints hints,
123 super(paint, cm, deviceBounds, userBounds, t, hints,
109 RadialGradientPaintContext(RadialGradientPaint paint, ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform t, RenderingHints hints, float cx, float cy, float r, float fx, float fy, float[] fractions, Color[] colors, CycleMethod cycleMethod, ColorSpaceType colorSpace) argument
H A DRenderingHints.java52 * Note that since these keys and values are <i>hints</i>, there is
63 * The full set of supported keys and hints may also vary by destination
68 * Implementations are free to ignore the hints completely, but should
75 * The keys used to control the hints are all special values that
77 * Many common hints are expressed below as static constants in this
79 * Other hints may be created by other packages by defining new objects
251 * other, more specific hints in preference to this hint.
439 * These hints can equally be applied when rendering to software images,
960 * @param init a map of key/value pairs to initialize the hints
1088 * @param hints th
1091 add(RenderingHints hints) argument
[all...]
H A DTexturePaintContext.java71 RenderingHints hints,
76 Object val = hints.get(hints.KEY_INTERPOLATION);
79 ? (hints.get(hints.KEY_RENDERING) == hints.VALUE_RENDER_QUALITY)
80 : (val != hints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR));
69 getContext(BufferedImage bufImg, AffineTransform xform, RenderingHints hints, Rectangle devBounds) argument
/openjdk7/jdk/test/java/awt/Paint/
H A DPgramUserBoundsTest.java117 RenderingHints hints)
123 return c.createContext(cm, deviceBounds, userBounds, xform, hints);
113 createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) argument
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXIconWindow.java213 * It does not replace window's hints, so it should be
334 * It does not replace window's hints, so it should be
465 XWMHints hints = parent.getWMHints();
466 window = hints.get_icon_window();
492 long newFlags = hints.get_flags() | XUtilConstants.IconPixmapHint | XUtilConstants.IconMaskHint;
496 hints.set_flags(newFlags);
497 hints.set_icon_pixmap(iconPixmap);
498 hints.set_icon_mask(iconMask);
499 hints.set_icon_window(getWindow());
500 XlibWrapper.XSetWMHints(XToolkit.getDisplay(), parent.getShell(), hints
[all...]
H A DXWM.java801 * Size and decoration hints ...
807 * Remove size hints specified by the mask.
815 XSizeHints hints = window.getHints();
816 if ((hints.get_flags() & mask) == 0) {
820 hints.set_flags(hints.get_flags() & ~mask);
821 if (insLog.isLoggable(PlatformLogger.FINER)) insLog.finer("Setting hints, flags " + XlibWrapper.hintsToString(hints.get_flags()));
824 hints.pData);
916 PropMwmHints hints
[all...]
H A DXWindowPeer.java246 XWMHints hints = getWMHints();
247 hints.set_flags(hints.get_flags() | (int)XUtilConstants.WindowGroupHint);
248 hints.set_window_group(ownerWindow);
249 XlibWrapper.XSetWMHints(XToolkit.getDisplay(), getWindow(), hints.pData);
491 XSizeHints hints = getHints();
492 setSizeHints(hints.get_flags() | XUtilConstants.PPosition | XUtilConstants.PSize,
516 XWMHints hints = getWMHints();
517 hints.set_flags(hints
2005 setMWMHints(PropMwmHints hints) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DAreaAveragingScaleFilter.java81 * Detect if the data is being delivered with the necessary hints
92 public void setHints(int hints) { argument
93 passthrough = ((hints & neededHints) != neededHints);
94 super.setHints(hints);
233 * pixels that are complete. If the correct hints were not
236 * the delivery hints.
259 * pixels that are complete. If the correct hints were not
262 * the delivery hints.
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DGeneralCompositePipe.java64 RenderingHints hints = sg.getRenderingHints();
69 hints);
72 hints);
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphics2D.java204 public RenderingHints hints; field in class:SunGraphics2D
276 if (hints != null) {
277 g.hints = (RenderingHints) this.hints.clone();
642 /* The text anti-aliasing hints that are set by the client need
1242 if (hints != null) {
1243 hints.put(hintKey, hintValue);
1249 if (hints == null) {
1250 hints = makeHints(null);
1252 hints
1311 setRenderingHints(Map<?,?> hints) argument
1350 addRenderingHints(Map<?,?> hints) argument
1391 makeHints(Map hints) argument
[all...]
/openjdk7/jdk/src/windows/native/java/net/
H A DInet6AddressImpl.c93 struct addrinfo hints, *res, *resNew = NULL; local
130 memset(&hints, 0, sizeof(hints));
131 hints.ai_flags = AI_CANONNAME;
132 hints.ai_family = AF_UNSPEC;
134 error = getaddrinfo(hostname, NULL, &hints, &res);
/openjdk7/jdk/test/sun/java2d/OpenGL/
H A DGradientPaints.java88 private static final Object[] hints = { field in class:GradientPaints
108 Object aahint = hints[0];
127 for (Object aahint : hints) {
/openjdk7/jdk/src/solaris/native/java/net/
H A Dnet_util_md.h88 const struct addrinfo *hints, struct addrinfo **res);
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Dawt_parseImage.h172 HintS_t hints; /* Hint structure */ member in struct:__anon677
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXlibWrapper.c1007 (JNIEnv *env, jclass clazz, jlong display, jlong window, jlong hints)
1010 XSetWMHints((Display *) jlong_to_ptr(display), window, (XWMHints *) jlong_to_ptr(hints));
1019 (JNIEnv *env, jclass clazz, jlong display, jlong window, jlong hints)
1025 memcpy(jlong_to_ptr(hints), get_hints, sizeof(XWMHints));
1028 memset(jlong_to_ptr(hints), 0, sizeof(XWMHints));
1415 (JNIEnv *env, jclass clazz, jlong display, jlong window, jlong hints, jlong supplied_return)
1420 (XSizeHints*) jlong_to_ptr(hints),
1430 (JNIEnv *env, jclass clazz, jlong display, jlong window, jlong hints)
1433 XSetWMNormalHints((Display*) jlong_to_ptr(display), window, (XSizeHints*) jlong_to_ptr(hints));
1497 XSizeHints * hints; local
1006 Java_sun_awt_X11_XlibWrapper_XSetWMHints(JNIEnv *env, jclass clazz, jlong display, jlong window, jlong hints) argument
1018 Java_sun_awt_X11_XlibWrapper_XGetWMHints(JNIEnv *env, jclass clazz, jlong display, jlong window, jlong hints) argument
1414 Java_sun_awt_X11_XlibWrapper_XGetWMNormalHints(JNIEnv *env, jclass clazz, jlong display, jlong window, jlong hints, jlong supplied_return) argument
1429 Java_sun_awt_X11_XlibWrapper_XSetWMNormalHints(JNIEnv *env, jclass clazz, jlong display, jlong window, jlong hints) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DPeekGraphics.java1607 * @param hints The rendering hints to be set
1610 public void setRenderingHints(Map<?,?> hints) { argument
1611 mGraphics.setRenderingHints(hints);
1618 * @param hints The rendering hints to be set
1621 public void addRenderingHints(Map<?,?> hints) { argument
1622 mGraphics.addRenderingHints(hints);

Completed in 96 milliseconds

123