Lines Matching refs:rects

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) {
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) {
251 stretchScrollingVerticalRun(rects, tabPaneSize);
253 centerVerticalRun(rects, tabPaneSize);
257 stretchScrollingHorizontalRun(rects, tabPaneSize, isRightToLeft);
259 centerHorizontalRun(rects, tabPaneSize, isRightToLeft);
264 private void centerHorizontalRun(final Rectangle[] rects, final Dimension size, final boolean isRightToLeft) {
266 for (final Rectangle element : rects) {
273 for (final Rectangle rect : rects) {
278 for (int i = rects.length - 1; i >= 0; i--) {
279 final Rectangle rect = rects[i];
286 private void centerVerticalRun(final Rectangle[] rects, final Dimension size) {
288 for (final Rectangle element : rects) {
295 for (final Rectangle rect : rects) {
300 for (int i = rects.length - 1; i >= 0; i--) {
301 final Rectangle rect = rects[i];
308 private void stretchScrollingHorizontalRun(final Rectangle[] rects, final Dimension size, final boolean isRightToLeft) {
315 totalRunLength += rects[i].width;
333 final Rectangle rect = rects[i];
345 final Rectangle rect = rects[i];
359 leftScrollTabRect.y = rects[firstTabIndex].y;
360 leftScrollTabRect.height = rects[firstTabIndex].height;
363 rightScrollTabRect.y = rects[lastTabIndex].y;
364 rightScrollTabRect.height = rects[lastTabIndex].height;
367 rightScrollTabRect.y = rects[firstTabIndex].y;
368 rightScrollTabRect.height = rects[firstTabIndex].height;
371 leftScrollTabRect.y = rects[lastTabIndex].y;
372 leftScrollTabRect.height = rects[lastTabIndex].height;
376 final Rectangle rect = rects[i];
383 final Rectangle rect = rects[i];
390 private void stretchScrollingVerticalRun(final Rectangle[] rects, final Dimension size) {
397 totalRunLength += rects[i].height;
414 final Rectangle rect = rects[i];
425 leftScrollTabRect.x = rects[firstTabIndex].x;
427 leftScrollTabRect.width = rects[firstTabIndex].width;
429 rightScrollTabRect.x = rects[lastTabIndex].x;
431 rightScrollTabRect.width = rects[lastTabIndex].width;