/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | MaskTileManager.java | 186 if (tile.rects.getSize() > 0) { 196 int rectCnt = tile.rects.getSize(); 207 maskColor, tile.rects); 229 tile.rects.translateRects(tileStartX + dirtyArea.x, 231 xrMgr.XRRenderRectangles(dst, tile.rects); 263 GrowableRectArray rects = mainTile.rects; 265 for (int i = 0; i < rects.getSize(); i++) { 266 int tileXStartIndex = rects.getX(i) / MASK_SIZE; 267 int tileYStartIndex = rects 311 limitRectCoords(GrowableRectArray rects, int index) argument [all...] |
H A D | MaskTile.java | 35 GrowableRectArray rects; field in class:MaskTile 40 rects = new GrowableRectArray(128); 45 int index = rects.getNextIndex(); 46 rects.setX(index, x); 47 rects.setY(index, y); 48 rects.setWidth(index, width); 49 rects.setHeight(index, height); 138 for (int i=0; i < rects.getSize(); i++) { 139 int x = rects.getX(i); 140 int y = rects [all...] |
H A D | XRBackendNative.java | 98 int[] rects, int rectCnt); 126 public void GCRectangles(int drawable, long gc, GrowableRectArray rects) { argument 127 GCRectanglesNative(drawable, gc, rects.getArray(), rects.getSize()); 231 GrowableRectArray rects) { 235 rects.getArray(), rects 95 XRenderRectanglesNative(int dst, byte op, short red, short green, short blue, short alpha, int[] rects, int rectCnt) argument 230 renderRectangles(int dst, byte op, XRColor color, GrowableRectArray rects) argument
|
H A D | XRBackend.java | 66 public void GCRectangles(int drawable, long gc, GrowableRectArray rects); argument 84 GrowableRectArray rects); 83 renderRectangles(int dst, byte op, XRColor color, GrowableRectArray rects) argument
|
H A D | XRCompositeManager.java | 275 public void XRRenderRectangles(XRSurfaceData dst, GrowableRectArray rects) { argument 277 con.GCRectangles(dst.getXid(), dst.getGC(), rects); 279 con.renderRectangles(dst.getPicture(), compRule, solidColor, rects);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTabbedPaneTabState.java | 115 void relayoutForScrolling(final Rectangle[] rects, final int startX, final int startY, final int returnAt, final int selectedIndex, final boolean verticalTabRuns, final int tabCount, final boolean isLeftToRight) { argument 136 // we have all the tab rects, we just need to adjust the x coordinates 176 final Rectangle firstRect = rects[right]; 193 final Rectangle rightRect = rects[right]; 208 final Rectangle leftRect = rects[left]; 239 final Rectangle rect = rects[i]; 246 protected void alignRectsRunFor(final Rectangle[] rects, final Dimension tabPaneSize, final int tabPlacement, final boolean isRightToLeft) { argument 251 stretchScrollingVerticalRun(rects, tabPaneSize); 253 centerVerticalRun(rects, tabPaneSize); 257 stretchScrollingHorizontalRun(rects, tabPaneSiz 264 centerHorizontalRun(final Rectangle[] rects, final Dimension size, final boolean isRightToLeft) argument 286 centerVerticalRun(final Rectangle[] rects, final Dimension size) argument 308 stretchScrollingHorizontalRun(final Rectangle[] rects, final Dimension size, final boolean isRightToLeft) argument 390 stretchScrollingVerticalRun(final Rectangle[] rects, final Dimension size) argument [all...] |
H A D | AquaTabbedPaneCopyFromBasicUI.java | 119 protected Rectangle rects[] = new Rectangle[0]; field in class:AquaTabbedPaneCopyFromBasicUI 794 if (j != selectedIndex && rects[j].intersects(clipRect)) { 795 paintTab(g, tabPlacement, rects, j, iconRect, textRect); 802 if (selectedIndex >= 0 && rects[selectedIndex].intersects(clipRect)) { 803 paintTab(g, tabPlacement, rects, selectedIndex, iconRect, textRect); 807 protected void paintTab(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect) { argument 808 final Rectangle tabRect = rects[tabIndex]; 837 paintFocusIndicator(g, tabPlacement, rects, tabIndex, iconRect, textRect, isSelected); 935 x = rects[tabIndex].x; 939 while (xx <= x + rects[tabInde 1058 paintFocusIndicator(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) argument [all...] |
H A D | AquaTabbedPaneUI.java | 156 for (int i = 0; i < rects.length; i++) { 160 if (rects[i].intersects(clipRect)) { 167 if (drawSelectedLast && rects[selectedIndex].intersects(clipRect)) { 177 // r.add(rects[visibleTabState.getIndex(i)]); 187 if (rects[realIndex].intersects(clipRect)) { 203 if (selectedIndex >= 0) { // && rects[selectedIndex].intersects(clipRect)) { 222 final Rectangle tabRect = (tabIndex >= 0 ? rects[tabIndex] : visibleTabState.getRightScrollTabRect()); 389 // we are rotating so we can't just use the rects wholesale. 409 paintTabNormalFromRect(g, tabPlacement, rects[tabIndex], tabIndex, fIconRect, fTextRect, active, frameActive, isLeftToRight); 714 if (rects[realOffse [all...] |
/openjdk7/jdk/test/javax/swing/JTabbedPane/6416920/ |
H A D | bug6416920.java | 51 if (test.rects[0].width < 0) { 68 rects = new Rectangle[1]; 69 rects[0] = new Rectangle(150, 0, 0, 0);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTabbedPaneUI.java | 127 protected Rectangle rects[] = new Rectangle[0]; field in class:BasicTabbedPaneUI 834 if (j != selectedIndex && rects[j].intersects(clipRect)) { 835 paintTab(g, tabPlacement, rects, j, iconRect, textRect); 842 if (selectedIndex >= 0 && rects[selectedIndex].intersects(clipRect)) { 843 paintTab(g, tabPlacement, rects, selectedIndex, iconRect, textRect); 848 Rectangle[] rects, int tabIndex, 850 Rectangle tabRect = rects[tabIndex]; 887 paintFocusIndicator(g, tabPlacement, rects, tabIndex, 986 x = rects[tabIndex].x; 990 while(xx <= x+rects[tabInde 847 paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) argument 1135 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | XRBackendNative.c | 394 jint* rects; local 413 if ((rects = (jint *) 422 xRects[i].x = rects[i*4 + 0]; 423 xRects[i].y = rects[i*4 + 1]; 424 xRects[i].width = rects[i*4 + 2]; 425 xRects[i].height = rects[i*4 + 3]; 431 (*env)->ReleasePrimitiveArrayCritical(env, rectArray, rects, JNI_ABORT); 614 XRectangle rects[256]; local 615 XRectangle *pRect = rects; 629 if (pRect != rects) { 934 jint* rects; local [all...] |
H A D | X11SurfaceData.c | 1710 XRectangle rects[256]; local 1711 XRectangle *pRect = rects; 1721 if (pRect != rects) {
|
/openjdk7/jdk/src/solaris/native/sun/awt/splashscreen/ |
H A D | splashscreen_sys.c | 108 XRectangle *rects; local 111 frame->rects = NULL; 124 rects = SAFE_SIZE_ARRAY_ALLOC(malloc, 126 if (!rects) { 130 frame->numRects = BitmapToYXBandedRectangles(&maskRect, rects); 131 frame->rects = SAFE_SIZE_ARRAY_ALLOC(malloc, frame->numRects, sizeof(XRectangle)); 132 if (frame->rects) { // handle the error after the if(){} 133 memcpy(frame->rects, rects, frame->numRects * sizeof(XRectangle)); 135 free(rects); [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthTabbedPaneUI.java | 543 if (rects[j].intersects(clipRect) && selectedIndex != j) { 544 paintTab(tabContext, g, tabPlacement, rects, j, iconRect, 551 if (rects[selectedIndex].intersects(clipRect)) { 552 paintTab(tabContext, g, tabPlacement, rects, selectedIndex, 589 int tabPlacement, Rectangle[] rects, int tabIndex, 591 Rectangle tabRect = rects[tabIndex]; 612 Rectangle r = rects[selectedIndex]; 913 rects[j].x += xshift; 914 rects[j].y += yshift; 915 rects[ 588 paintTab(SynthContext ss, Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_impl.h | 48 XRectangle *rects; member in struct:SplashImage
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | multiVis.c | 90 myBOX *rects; member in struct:my_XRegion 450 srcRect_width = MIN( vis_reg->rects[rect].x2, bbox.width + bbox.x) 451 - MAX( vis_reg->rects[rect].x1, bbox.x); 453 srcRect_height = MIN( vis_reg->rects[rect].y2, bbox.height + bbox.y) 454 - MAX( vis_reg->rects[rect].y1, bbox.y); 456 diff = bbox.x - vis_reg->rects[rect].x1; 457 srcRect_x = MAX( 0, diff) + (vis_reg->rects[rect].x1 - reg->x_rootrel - reg->border); 459 diff = bbox.y - vis_reg->rects[rect].y1; 460 srcRect_y = MAX( 0, diff) + (vis_reg->rects[rect].y1 - reg->y_rootrel - reg->border); 728 /* intersect parent & child clip rects */ [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifTabbedPaneUI.java | 235 Rectangle[] rects, int tabIndex, 238 Rectangle tabRect = rects[tabIndex]; 234 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | MenuItemLayoutHelper.java | 565 // Set maximal width for all the five basic rects 571 // All rects will be aligned at the left side 593 // Y coordinates for other rects 631 // Set maximal width for all the five basic rects 659 // Y coordinates for other rects 726 int gap, Rectangle... rects) { 728 for (Rectangle rect : rects) { 737 int gap, Rectangle... rects) { 739 for (Rectangle rect : rects) { 725 calcXPositionsLTR(int startXPos, int leadingGap, int gap, Rectangle... rects) argument 736 calcXPositionsRTL(int startXPos, int leadingGap, int gap, Rectangle... rects) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalTabbedPaneUI.java | 852 Rectangle[] rects, int tabIndex, 856 Rectangle tabRect = rects[tabIndex]; 851 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument
|
/openjdk7/jdk/src/solaris/native/sun/xawt/ |
H A D | XlibWrapper.c | 2165 XRectangle rects[256]; local 2166 XRectangle *pRect = rects; 2176 if (pRect != rects) {
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Component.cpp | 2207 * Updating rects are divided into mostly vertical and mostly horizontal 6141 RECT_T rects[256]; local 6142 RECT_T *pRect = rects; 6145 region, &pRect, sizeof(rects)/sizeof(rects[0])); 6155 if (pRect != rects) {
|