Lines Matching defs:SIZES
86 private static final MediaType SIZES[] = {
1085 for (int i=0; i < SIZES.length; i++) {
1086 if (SIZES[i] == mType) {
1098 // JAVAXSIZES.length and SIZES.length must be equal!
1100 int length = Math.min(SIZES.length, JAVAXSIZES.length);
1103 if (SIZES[i] == mType) {
1110 media = new CustomMediaSizeName(SIZES[i].toString());
1131 // JAVAXSIZES.length and SIZES.length must be equal!
1133 int length = Math.min(SIZES.length, JAVAXSIZES.length);
1137 if (SIZES[i] != null) {
1138 media = SIZES[i];
1189 pageAttributes.setMedia(SIZES[MediaType.LETTER.hashCode()]);
1191 pageAttributes.setMedia(SIZES[MediaType.LEGAL.hashCode()]);
1193 pageAttributes.setMedia(SIZES[MediaType.EXECUTIVE.hashCode()]);
1195 pageAttributes.setMedia(SIZES[MediaType.A4.hashCode()]);
1230 MediaType media = SIZES[pageAttributes.getMedia().hashCode()];