Searched refs:rects (Results 1 - 21 of 21) sorted by relevance

/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DMaskTileManager.java186 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 DMaskTile.java35 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 DXRBackendNative.java98 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 DXRBackend.java66 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 DXRCompositeManager.java275 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 DAquaTabbedPaneTabState.java115 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 DAquaTabbedPaneCopyFromBasicUI.java119 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 DAquaTabbedPaneUI.java156 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 Dbug6416920.java51 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 DBasicTabbedPaneUI.java127 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 DXRBackendNative.c394 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 DX11SurfaceData.c1710 XRectangle rects[256]; local
1711 XRectangle *pRect = rects;
1721 if (pRect != rects) {
/openjdk7/jdk/src/solaris/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.c108 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 DSynthTabbedPaneUI.java543 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 Dsplashscreen_impl.h48 XRectangle *rects; member in struct:SplashImage
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c90 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 DMotifTabbedPaneUI.java235 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 DMenuItemLayoutHelper.java565 // 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 DMetalTabbedPaneUI.java852 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 DXlibWrapper.c2165 XRectangle rects[256]; local
2166 XRectangle *pRect = rects;
2176 if (pRect != rects) {
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Component.cpp2207 * 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) {

Completed in 153 milliseconds