Lines Matching defs:textR
854 Rectangle textR,
899 textR,
923 Rectangle textR,
931 viewR, iconR, textR, textIconGap);
955 Rectangle textR,
969 /* Initialize the text bounds rectangle textR. If a null
971 * and use 0,0,0,0 for textR.
984 textR.width = textR.height = 0;
1000 textR.width = Math.min(availTextWidth,
1002 textR.height = (int) v.getPreferredSpan(View.Y_AXIS);
1004 textR.width = SwingUtilities2.stringWidth(c, fm, text);
1014 // textR)
1017 textR.width -= lsb;
1019 if (textR.width > availTextWidth) {
1022 textR.width = SwingUtilities2.stringWidth(c, fm, text);
1024 textR.height = fm.getHeight();
1029 /* Compute textR.x,y given the verticalTextPosition and
1035 textR.y = 0;
1038 textR.y = -(textR.height + gap);
1042 textR.y = (iconR.height / 2) - (textR.height / 2);
1046 textR.y = iconR.height - textR.height;
1049 textR.y = (iconR.height + gap);
1054 textR.x = -(textR.width + gap);
1057 textR.x = (iconR.width / 2) - (textR.width / 2);
1060 textR.x = (iconR.width + gap);
1067 /* labelR is the rectangle that contains iconR and textR.
1074 int labelR_x = Math.min(iconR.x, textR.x);
1076 textR.x + textR.width) - labelR_x;
1077 int labelR_y = Math.min(iconR.y, textR.y);
1079 textR.y + textR.height) - labelR_y;
1104 /* Translate textR and glypyR by dx,dy.
1107 textR.x += dx;
1108 textR.y += dy;
1116 textR.x -= lsb;
1118 textR.width += lsb;
1121 textR.width -= rsb;