Lines Matching refs:rects

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[realOffset].contains(p.x, p.y)) return realOffset;
721 if (rects[i].contains(p.x, p.y)) return i;
764 final Rectangle[] theRects = rects;
800 if (selectedIndex != -1 && tabCount > 0 && tabCount == rects.length) {
801 sWorkingRect.setBounds(rects[selectedIndex]);
935 if (trackingTab >= 0) pane.repaint(rects[trackingTab]);
1046 if (rects.length <= 0) return;
1048 visibleTabState.alignRectsRunFor(rects, tabPane.getSize(), tabPlacement, AquaUtils.isLeftToRight(tabPane));
1057 final Rectangle lastRect = rects[end];
1058 final int runHeight = (lastRect.y + lastRect.height) - rects[start].y;
1062 final Rectangle pastRect = rects[i];
1064 pastRect.y = rects[i - 1].y + rects[i - 1].height;
1074 * 1. Calculate rects for the tabs - we have to play tricks here because our right and left tabs
1134 final Rectangle rect = rects[i];
1153 visibleTabState.relayoutForScrolling(rects, x, y, returnAt, selectedIndex, verticalTabRuns, tabCount, AquaUtils.isLeftToRight(tabPane));
1161 rects[i].x = rightMargin - rects[i].x - rects[i].width;
1169 rect.x = rects[i - 1].x + rects[i - 1].width;
1187 rect.y = rects[i - 1].y + rects[i - 1].height;