Lines Matching refs:width

179 //        g2.fillRect(r.x, r.y, r.width, r.height);
216 temp = r.width;
217 r.width = r.height;
232 nudge = tabRect.width % 2;
271 g.clipRect(fContentRect.x, fContentRect.y, fContentRect.width, fContentRect.height);
363 int xDiff = 0; // (tabRect.x+tabRect.width) - (textRect.x+textRect.width);
365 int xIconDiff = 0; // (tabRect.x+tabRect.width) - (iconRect.x + iconRect.width);
381 g2d.translate(0, -tabRect.width - 1);
383 xDiff = (tabRect.x + tabRect.width) - (textRect.x + textRect.width);
385 xIconDiff = (tabRect.x + tabRect.width) - (iconRect.x + iconRect.width);
394 textRect.height = textRect.width;
395 textRect.width = tempVal;
397 // g.drawLine(textRect.x, textRect.y, textRect.x+textRect.height, textRect.y+textRect.width);
398 // g.drawLine(textRect.x+textRect.height, textRect.y, textRect.x, textRect.y+textRect.width);
404 iconRect.height = iconRect.width;
405 iconRect.width = tempVal;
459 painter.paint(g, tabPane, tabRect.x, tabRect.y, tabRect.width, tabRect.height);
533 r.width += o.width;
562 g.fillRoundRect(fillRect.x, fillRect.y, fillRect.width, fillRect.height, 3, 1);
630 final int width = tabPane.getWidth();
636 int w = width - insets.right - insets.left;
658 g.fillRect(0, 0, width, height);
666 final int width = tabPane.getWidth();
674 int w = width - insets.right - insets.left;
952 popup.show(tabPane, leftScrollTabRect.x - popupRect.width, leftScrollTabRect.y + 7);
955 popup.show(tabPane, rightScrollTabRect.x + rightScrollTabRect.width, rightScrollTabRect.y + 7);
1023 // our width is actually the "height" of a tab which is then
1032 protected int preferredTabAreaHeight(final int tabPlacement, final int width) {
1034 return super.preferredTabAreaWidth(tabPlacement, width);
1037 return super.preferredTabAreaHeight(tabPlacement, width);
1076 * calculated width is stored as the rect height.
1099 x = size.width - insets.right - localTabAreaInsets.right - maxTabWidth - 1;
1107 returnAt = size.width - (insets.right + localTabAreaInsets.right);
1114 returnAt = size.width - (insets.right + localTabAreaInsets.right);
1147 if (rect.x + rect.width > returnAt) {
1159 final int rightMargin = size.width - (insets.right + localTabAreaInsets.right);
1161 rects[i].x = rightMargin - rects[i].x - rects[i].width;
1169 rect.x = rects[i - 1].x + rects[i - 1].width;
1177 rect.width = calculateTabWidth(tabPlacement, i, metrics);
1178 maxTabWidth = Math.max(maxTabWidth, rect.width);
1199 rect.width = maxTabWidth;
1221 rect.width -= insets.left + insets.right;
1226 rect.width -= insets.top + insets.bottom - 1;